Offset 1, 4 lines modified | Offset 1, 4 lines modified | ||
1 | ·b2d5dc00b15c5f06e0a1b45e28372244·877324·debug·optional·libdune-grid-glue-dev-dbgsym_2.9.0-3_armhf.deb | 1 | ·b2d5dc00b15c5f06e0a1b45e28372244·877324·debug·optional·libdune-grid-glue-dev-dbgsym_2.9.0-3_armhf.deb |
2 | ·ec21fc346d426f7061ee148783098efb·99052·libdevel·optional·libdune-grid-glue-dev_2.9.0-3_armhf.deb | 2 | ·ec21fc346d426f7061ee148783098efb·99052·libdevel·optional·libdune-grid-glue-dev_2.9.0-3_armhf.deb |
3 | · | 3 | ·13e08c412cf09fa8ba284b9d4e4688c1·958716·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·····7384·2023-01-13·13:23:40.000000·control.tar.xz | 2 | -rw-r--r--···0········0········0·····7384·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···951140·2023-01-13·13:23:40.000000·data.tar.xz |
Offset 44, 14 lines modified | Offset 44, 15 lines modified | ||
44 | usr/share/doc/libdune-grid-glue-doc/doxygen/a00062.html | 44 | usr/share/doc/libdune-grid-glue-doc/doxygen/a00062.html |
45 | usr/share/doc/libdune-grid-glue-doc/doxygen/a00062_source.html | 45 | usr/share/doc/libdune-grid-glue-doc/doxygen/a00062_source.html |
46 | usr/share/doc/libdune-grid-glue-doc/doxygen/a00065.html | 46 | usr/share/doc/libdune-grid-glue-doc/doxygen/a00065.html |
47 | usr/share/doc/libdune-grid-glue-doc/doxygen/a00065_source.html | 47 | usr/share/doc/libdune-grid-glue-doc/doxygen/a00065_source.html |
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/a00074.html | 52 | usr/share/doc/libdune-grid-glue-doc/doxygen/a00074.html |
52 | usr/share/doc/libdune-grid-glue-doc/doxygen/a00074_source.html | 53 | usr/share/doc/libdune-grid-glue-doc/doxygen/a00074_source.html |
53 | usr/share/doc/libdune-grid-glue-doc/doxygen/a00077.html | 54 | usr/share/doc/libdune-grid-glue-doc/doxygen/a00077.html |
54 | usr/share/doc/libdune-grid-glue-doc/doxygen/a00077_source.html | 55 | usr/share/doc/libdune-grid-glue-doc/doxygen/a00077_source.html |
55 | usr/share/doc/libdune-grid-glue-doc/doxygen/a00080.html | 56 | 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/a00080_source.html |
57 | usr/share/doc/libdune-grid-glue-doc/doxygen/a00083.html | 58 | usr/share/doc/libdune-grid-glue-doc/doxygen/a00083.html |
Offset 59, 15 lines modified | Offset 60, 14 lines modified | ||
59 | usr/share/doc/libdune-grid-glue-doc/doxygen/a00086.html | 60 | usr/share/doc/libdune-grid-glue-doc/doxygen/a00086.html |
60 | usr/share/doc/libdune-grid-glue-doc/doxygen/a00086_source.html | 61 | usr/share/doc/libdune-grid-glue-doc/doxygen/a00086_source.html |
61 | usr/share/doc/libdune-grid-glue-doc/doxygen/a00089.html | 62 | usr/share/doc/libdune-grid-glue-doc/doxygen/a00089.html |
62 | usr/share/doc/libdune-grid-glue-doc/doxygen/a00089_source.html | 63 | usr/share/doc/libdune-grid-glue-doc/doxygen/a00089_source.html |
63 | usr/share/doc/libdune-grid-glue-doc/doxygen/a00092.html | 64 | usr/share/doc/libdune-grid-glue-doc/doxygen/a00092.html |
64 | usr/share/doc/libdune-grid-glue-doc/doxygen/a00092_source.html | 65 | usr/share/doc/libdune-grid-glue-doc/doxygen/a00092_source.html |
65 | usr/share/doc/libdune-grid-glue-doc/doxygen/a00095.html | 66 | usr/share/doc/libdune-grid-glue-doc/doxygen/a00095.html |
66 | usr/share/doc/libdune-grid-glue-doc/doxygen/a00095_source.html | ||
67 | usr/share/doc/libdune-grid-glue-doc/doxygen/a00098.html | 67 | usr/share/doc/libdune-grid-glue-doc/doxygen/a00098.html |
68 | usr/share/doc/libdune-grid-glue-doc/doxygen/a00098_source.html | 68 | usr/share/doc/libdune-grid-glue-doc/doxygen/a00098_source.html |
69 | usr/share/doc/libdune-grid-glue-doc/doxygen/a00101.html | 69 | usr/share/doc/libdune-grid-glue-doc/doxygen/a00101.html |
70 | usr/share/doc/libdune-grid-glue-doc/doxygen/a00103.html | 70 | usr/share/doc/libdune-grid-glue-doc/doxygen/a00103.html |
71 | usr/share/doc/libdune-grid-glue-doc/doxygen/a00104.html | 71 | usr/share/doc/libdune-grid-glue-doc/doxygen/a00104.html |
72 | usr/share/doc/libdune-grid-glue-doc/doxygen/a00105.html | 72 | usr/share/doc/libdune-grid-glue-doc/doxygen/a00105.html |
73 | usr/share/doc/libdune-grid-glue-doc/doxygen/a00106.html | 73 | usr/share/doc/libdune-grid-glue-doc/doxygen/a00106.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)·····5321·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)····16899·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)····10871·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a0000 | 12 | -rw-r--r--···0·root·········(0)·root·········(0)····10871·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00005.html |
15 | -rw-r--r--···0·root·········(0)·root·········(0)····70887·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a0000 | 13 | -rw-r--r--···0·root·········(0)·root·········(0)····70887·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00005_source.html |
16 | -rw-r--r--···0·root·········(0)·root·········(0)·····8112·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)···119797·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)·····5453·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)····27383·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)·····5609·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)····84446·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)·····5797·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)····52527·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/a000 | 14 | -rw-r--r--···0·root·········(0)·root·········(0)·····6157·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00008.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/a000 | 15 | -rw-r--r--···0·root·········(0)·root·········(0)····14373·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00008_source.html |
26 | -rw-r--r--···0·root·········(0)·root·········(0)·····5088·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a000 | 16 | -rw-r--r--···0·root·········(0)·root·········(0)·····5088·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00011.html |
27 | -rw-r--r--···0·root·········(0)·root·········(0)····16768·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a000 | 17 | -rw-r--r--···0·root·········(0)·root·········(0)····16768·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)·····5797·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)····52527·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)·····5321·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)····16899·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)·····8112·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)···119797·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)·····5453·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)····27383·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)·····5609·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)····84446·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)·····5360·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00029.html | 28 | -rw-r--r--···0·root·········(0)·root·········(0)·····5360·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)·····8500·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00029_source.html | 29 | -rw-r--r--···0·root·········(0)·root·········(0)·····8500·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)···· | 30 | -rw-r--r--···0·root·········(0)·root·········(0)·····8222·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)····3 | 31 | -rw-r--r--···0·root·········(0)·root·········(0)····30066·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)····· | 32 | -rw-r--r--···0·root·········(0)·root·········(0)·····7370·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)···· | 33 | -rw-r--r--···0·root·········(0)·root·········(0)····44830·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)·····8136·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00038.html | 34 | -rw-r--r--···0·root·········(0)·root·········(0)·····8136·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)····72681·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00038_source.html | 35 | -rw-r--r--···0·root·········(0)·root·········(0)····72681·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)·····5980·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)····27621·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)·····7675·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)·····7675·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)····11025·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)····11025·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)····· | 40 | -rw-r--r--···0·root·········(0)·root·········(0)·····6619·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)···· | 41 | -rw-r--r--···0·root·········(0)·root·········(0)·····9138·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)····11613·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)····3 | 43 | -rw-r--r--···0·root·········(0)·root·········(0)····39771·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)·····8206·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00053.html | 44 | -rw-r--r--···0·root·········(0)·root·········(0)·····8206·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)····96800·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00053_source.html | 45 | -rw-r--r--···0·root·········(0)·root·········(0)····96800·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 | ||
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)·····5429·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a0005 | 46 | -rw-r--r--···0·root·········(0)·root·········(0)·····5429·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00056.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/a0005 | 47 | -rw-r--r--···0·root·········(0)·root·········(0)····44826·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)·····5388·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)····50226·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 | 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/a00062_source.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/a00062_source.html |
52 | -rw-r--r--···0·root·········(0)·root·········(0)·····5 | 52 | -rw-r--r--···0·root·········(0)·root·········(0)·····5930·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)···· | 53 | -rw-r--r--···0·root·········(0)·root·········(0)····19310·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)····· | 54 | -rw-r--r--···0·root·········(0)·root·········(0)·····5967·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00068.html |
55 | -rw-r--r--···0·root·········(0)·root·········(0)····3 | 55 | -rw-r--r--···0·root·········(0)·root·········(0)····37342·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00068_source.html |
56 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 56 | -rw-r--r--···0·root·········(0)·root·········(0)·····5357·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00071.html |
57 | -rw-r--r--···0·root·········(0)·root·········(0)····22694·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00071_source.html | ||
57 | -rw-r--r--···0·root·········(0)·root·········(0)·····4310·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00074.html | 58 | -rw-r--r--···0·root·········(0)·root·········(0)·····4310·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00074.html |
58 | -rw-r--r--···0·root·········(0)·root·········(0)····55659·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00074_source.html | 59 | -rw-r--r--···0·root·········(0)·root·········(0)····55659·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00074_source.html |
59 | -rw-r--r--···0·root·········(0)·root·········(0)····· | 60 | -rw-r--r--···0·root·········(0)·root·········(0)·····6647·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00077.html |
60 | -rw-r--r--···0·root·········(0)·root·········(0)····3 | 61 | -rw-r--r--···0·root·········(0)·root·········(0)····36462·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00077_source.html |
61 | -rw-r--r--···0·root·········(0)·root·········(0)····11543·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)····11543·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)···239992·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00080_source.html | 63 | -rw-r--r--···0·root·········(0)·root·········(0)···239992·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00080_source.html |
63 | -rw-r--r--···0·root·········(0)·root·········(0)·····6080·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)·····6080·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)····59845·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)····59845·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/a00086.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/a00086_source.html | ||
67 | -rw-r--r--···0·root·········(0)·root·········(0)·····5930·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00089.html | ||
68 | -rw-r--r--···0·root·········(0)·root·········(0)····19310·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)····12399·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)···149554·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)·····5357·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)····22694·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)·····6348·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a000 | 66 | -rw-r--r--···0·root·········(0)·root·········(0)·····6348·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00086.html |
74 | -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 | 67 | -rw-r--r--···0·root·········(0)·root·········(0)····45998·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00086_source.html |
68 | -rw-r--r--···0·root·········(0)·root·········(0)·····5484·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00089.html | ||
69 | -rw-r--r--···0·root·········(0)·root·········(0)····36322·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00089_source.html | ||
70 | -rw-r--r--···0·root·········(0)·root·········(0)·····4559·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00092.html | ||
71 | -rw-r--r--···0·root·········(0)·root·········(0)····63705·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00092_source.html | ||
72 | -rw-r--r--···0·root·········(0)·root·········(0)····10146·2023-01-13·13:23:40.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00095.html | ||
73 | -rw-r--r--···0·root·········(0)·root·········(0)····12399·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)···149554·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="a0000 | 94 | <code>#include·"<a·class="el"·href="a00005_source.html">adapter/gridgluecommunicate.hh</a>"</code><br·/> |
95 | <code>#include·<<a·class="el"·href="a000 | 95 | <code>#include·<<a·class="el"·href="a00071_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="a00008_source.html">adapter/rangegenerators.hh</a>"</code><br·/> |
104 | <code>#include·"<a·class="el"·href="a000 | 104 | <code>#include·"<a·class="el"·href="a00026_source.html">adapter/gridglue.cc</a>"</code><br·/> |
105 | <code>#include·"<a·class="el"·href="a000 | 105 | <code>#include·"<a·class="el"·href="a00020_source.html">adapter/intersection.hh</a>"</code><br·/> |
106 | <code>#include·"<a·class="el"·href="a000 | 106 | <code>#include·"<a·class="el"·href="a00017_source.html">adapter/intersectioniterator.hh</a>"</code><br·/> |
107 | <code>#include·"<a·class="el"·href="a000 | 107 | <code>#include·"<a·class="el"·href="a00011_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="a0000 | 102 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#include·"<a·class="code"·href="a00005.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="a00071.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="a00008.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="a000 | 400 | <div·class="line"><a·id="l00405"·name="l00405"></a><span·class="lineno">··405</span><span·class="preprocessor">#include·"<a·class="code"·href="a00026.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="a000 | 402 | <div·class="line"><a·id="l00407"·name="l00407"></a><span·class="lineno">··407</span><span·class="preprocessor">#include·"<a·class="code"·href="a00020.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="a000 | 403 | <div·class="line"><a·id="l00408"·name="l00408"></a><span·class="lineno">··408</span><span·class="preprocessor">#include·"<a·class="code"·href="a00017.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="a00011.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">intersectioniterator.hh</a></div><div·class="ttdoc">Implement·iterators·over·GridGlue·intersections.</div></div> | ||
408 | <div·class="ttc"·id="aa0000 | 407 | <div·class="ttc"·id="aa00005_html"><div·class="ttname"><a·href="a00005.html">gridgluecommunicate.hh</a></div><div·class="ttdoc">Describes·the·parallel·communication·interface·class·for·Dune::GridGlue.</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">intersectionindexset.hh</a></div></div> | ||
410 | <div·class="ttc"·id="aa00017_html"><div·class="ttname"><a·href="a00017.html">intersectioniterator.hh</a></div><div·class="ttdoc">Implement·iterators·over·GridGlue·intersections.</div></div> | ||
409 | <div·class="ttc"·id="aa000 | 411 | <div·class="ttc"·id="aa00020_html"><div·class="ttname"><a·href="a00020.html">intersection.hh</a></div><div·class="ttdoc">Model·of·the·Intersection·concept·provided·by·GridGlue.</div></div> |
410 | <div·class="ttc"·id="aa000 | 412 | <div·class="ttc"·id="aa00026_html"><div·class="ttname"><a·href="a00026.html">gridglue.cc</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">intersectionindexset.hh</a></div></div> | ||
413 | <div·class="ttc"·id="aa000 | 413 | <div·class="ttc"·id="aa00071_html"><div·class="ttname"><a·href="a00071.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 329, 23 lines modified | Offset 329, 23 lines modified | ||
329 | ·405#include·"adapter/gridglue.cc" | 329 | ·405#include·"adapter/gridglue.cc" |
330 | ·406 | 330 | ·406 |
331 | ·407#include·"adapter/intersection.hh" | 331 | ·407#include·"adapter/intersection.hh" |
332 | ·408#include·"adapter/intersectioniterator.hh" | 332 | ·408#include·"adapter/intersectioniterator.hh" |
333 | ·409#include·"adapter/intersectionindexset.hh" | 333 | ·409#include·"adapter/intersectionindexset.hh" |
334 | ·410 | 334 | ·410 |
335 | ·411#endif·//·DUNE_GRIDGLUE_GRIDGLUE_HH | 335 | ·411#endif·//·DUNE_GRIDGLUE_GRIDGLUE_HH |
336 | intersectioniterator.hh | ||
337 | Implement·iterators·over·GridGlue·intersections. | ||
338 | gridgluecommunicate.hh | 336 | gridgluecommunicate.hh |
339 | Describes·the·parallel·communication·interface·class·for·Dune::GridGlue. | 337 | Describes·the·parallel·communication·interface·class·for·Dune::GridGlue. |
338 | rangegenerators.hh | ||
339 | intersectionindexset.hh | ||
340 | intersectioniterator.hh | ||
341 | Implement·iterators·over·GridGlue·intersections. | ||
340 | intersection.hh | 342 | intersection.hh |
341 | Model·of·the·Intersection·concept·provided·by·GridGlue. | 343 | Model·of·the·Intersection·concept·provided·by·GridGlue. |
342 | gridglue.cc | 344 | gridglue.cc |
343 | rangegenerators.hh | ||
344 | intersectionindexset.hh | ||
345 | merger.hh | 345 | merger.hh |
346 | Dune | 346 | Dune |
347 | Definition·gridglue.hh:37 | 347 | Definition·gridglue.hh:37 |
348 | Dune::GridGlue::GridGlue | 348 | Dune::GridGlue::GridGlue |
349 | sequential·adapter·to·couple·two·grids·at·specified·close·together·boundaries | 349 | sequential·adapter·to·couple·two·grids·at·specified·close·together·boundaries |
350 | Definition·gridglue.hh:67 | 350 | Definition·gridglue.hh:67 |
351 | Dune::GridGlue::GridGlue::Coords | 351 | Dune::GridGlue::GridGlue::Coords |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="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:·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, 39 lines modified | Offset 71, 73 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"> | 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·/> |
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·/> | ||
85 | </div> | 91 | </div> |
86 | <p><a·href="a00005_source.html">Go·to·the·source·code·of·this·file.</a></p> | 92 | <p><a·href="a00005_source.html">Go·to·the·source·code·of·this·file.</a></p> |
87 | <table·class="memberdecls"> | 93 | <table·class="memberdecls"> |
88 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 94 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
89 | Classes</h2></td></tr> | 95 | Classes</h2></td></tr> |
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">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> | ||
90 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a009 | 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> | ||
91 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 111 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
92 | </table><table·class="memberdecls"> | 112 | </table><table·class="memberdecls"> |
93 | <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> |
94 | Namespaces</h2></td></tr> | 114 | Namespaces</h2></td></tr> |
95 | <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> |
96 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 116 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
97 | <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> |
98 | <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> | ||
99 | </table> | 133 | </table> |
100 | <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> |
101 | <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> |
102 | <dl·class="section·author"><dt>Author</dt><dd>Christian·Engwer·</dd></dl> | 136 | <dl·class="section·author"><dt>Author</dt><dd>Christian·Engwer·</dd></dl> |
103 | </div></div><!--·contents·--> | 137 | </div></div><!--·contents·--> |
104 | <!--·start·footer·part·--> | 138 | <!--·start·footer·part·--> |
105 | <hr·class="footer"/><address·class="footer"><small> | 139 | <hr·class="footer"/><address·class="footer"><small> |
106 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 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 |
107 | </small></address> | 141 | </small></address> |
108 | </body> | 142 | </body> |
Offset 7, 27 lines modified | Offset 7, 62 lines modified | ||
7 | Loading... | 7 | Loading... |
8 | Searching... | 8 | Searching... |
9 | No·Matches | 9 | No·Matches |
10 | ····*·dune | 10 | ····*·dune |
11 | ····*·grid-glue | 11 | ····*·grid-glue |
12 | ····*·adapter | 12 | ····*·adapter |
13 | Classes·|·Namespaces | ||
14 | intersectioniterator.hh·File·Reference | ||
15 | 13 | Classes·|·Namespaces·|·Typedefs·|·Functions | |
14 | gridgluecommunicate.hh·File·Reference | ||
15 | Describes·the·parallel·communication·interface·class·for·Dune::GridGlue. | ||
16 | More... | ||
17 | #include·<type_traits> | ||
18 | #include·<dune/common/bartonnackmanifcheck.hh> | ||
19 | #include·<dune/common/parallel/communicator.hh> | ||
20 | #include·<dune/grid/common/datahandleif.hh> | ||
16 | #include·<dune/grid | 21 | #include·<dune/grid/common/gridenums.hh> |
17 | Go_to_the_source_code_of_this_file. | 22 | Go_to_the_source_code_of_this_file. |
18 | ·Classes | 23 | ·Classes |
19 | 24 | struct· Dune::GridGlue::GlobalId | |
25 | |||
26 | ·class· Dune::GridGlue::CommDataHandle<_DataHandleImp,_DataTypeImp_> | ||
27 | ·······describes·the·features·of·a·data·handle·for·communication·in·parallel | ||
28 | ·········runs·using·the·GridGlue::communicate·methods.·More... | ||
29 | |||
30 | ·class· Dune::GridGlue::StreamingMessageBuffer<_DT_> | ||
31 | |||
32 | ·class· Dune::GridGlue::CommunicationOperator<_dir_> | ||
33 | ·······forward·gather·scatter·to·user·defined·CommInfo·class·More... | ||
34 | |||
35 | struct· Dune::GridGlue::CommInfo<_GG,_DataHandleImp,_DataTypeImp_> | ||
36 | ·······collects·all·GridGlue·data·requried·for·communication·More... | ||
37 | |||
38 | struct· Dune::CommPolicy<_::Dune::GridGlue::CommInfo<_GG,_DataHandleImp, | ||
39 | ·········DataTypeImp_>_> | ||
40 | ·······specialization·of·the·CommPolicy·struct,·required·for·the | ||
41 | ·········ParallelIndexsets·More... | ||
20 | 42 | ||
21 | ·Namespaces | 43 | ·Namespaces |
22 | namespace· Dune | 44 | namespace· Dune |
23 | 45 | ||
24 | namespace· Dune::GridGlue | 46 | namespace· Dune::GridGlue |
25 | 47 | ||
48 | ·Typedefs | ||
49 | ·······typedef·std::pair<·int,·int·> Dune::GridGlue::RankPair | ||
50 | |||
51 | typedef·CommunicationOperator<·Dune:: | ||
52 | ··············ForwardCommunication·> Dune::GridGlue::ForwardOperator | ||
53 | |||
54 | typedef·CommunicationOperator<·Dune:: | ||
55 | ·············BackwardCommunication·> Dune::GridGlue::BackwardOperator | ||
56 | |||
57 | ·Functions | ||
58 | std::ostream·& Dune::GridGlue::operator<<·(std::ostream·&os,·const·GlobalId | ||
59 | ················&id) | ||
60 | |||
26 | *****·Detailed·Description·***** | 61 | *****·Detailed·Description·***** |
27 | 62 | Describes·the·parallel·communication·interface·class·for·Dune::GridGlue. | |
28 | ··Author | 63 | ··Author |
29 | ······Christian·Engwer | 64 | ······Christian·Engwer |
30 | =============================================================================== | 65 | =============================================================================== |
31 | ·····Generated·by [doxygen]·1.9.8 | 66 | ·····Generated·by [doxygen]·1.9.8 |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-grid-glue:· | 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, 95 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"> | 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="a00005.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 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">//·-*-·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="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> |
88 | <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> | ||
89 | <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> |
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> | ||
90 | <div·class="line"><a·id="l0001 | 95 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·<dune/grid/common/gridenums.hh></span></div> |
91 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div> | ||
92 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00103.html">Dune</a>·{</div> | ||
93 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>··<span·class="keyword">namespace·</span>GridGlue·{</div> | ||
94 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> | 96 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> |
95 | <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> | ||
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> | ||
96 | <div·class="foldopen"·id="foldopen0002 | 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> | ||
97 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno"><a·class="line"·href="a00938.html">···22</a></span>····<span·class="keyword">class·</span><a·class="code·hl_class"·href="a00938.html">IntersectionIterator</a>·:</div> | ||
98 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>······<span·class="keyword">public</span>·Dune::ForwardIteratorFacade<·IntersectionIterator<P0,P1,inside,outside>,</div> | ||
99 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>··········const·Intersection<P0,P1,inside,outside>·></div> | ||
100 | <div·class="line"><a·id="l0002 | 104 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>····{</div> |
101 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>····<span·class="keyword">public</span>:</div> | ||
102 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> | ||
103 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno"><a·class="line"·href="a00938.html#a0a0d4796b8fe9bf887251f393b4d0c9f">···28</a></span>······typedef·::Dune::GridGlue::GridGlue<P0,·P1>·<a·class="code·hl_typedef"·href="a00938.html#a0a0d4796b8fe9bf887251f393b4d0c9f">GridGlue</a>;</div> | ||
104 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno"><a·class="line"·href="a00938.html#a820a0729e84150264096dde51e8d25d9">···29</a></span>······typedef·::Dune::GridGlue::Intersection<P0,P1,inside,outside>·<a·class="code·hl_typedef"·href="a00938.html#a820a0729e84150264096dde51e8d25d9">Intersection</a>;</div> | ||
105 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div> | ||
106 | <div·class="foldopen"·id="foldopen0003 | 105 | <div·class="foldopen"·id="foldopen00030"·data-start="{"·data-end="}"> |
107 | <div·class="line"><a·id="l0003 | 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>········ | 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>········ | 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>··········intersection_(glue_,·&·glue_->intersections_[index_])</div> | ||
111 | <div·class="line"><a·id="l0003 | 110 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>······}</div> |
112 | </div> | 111 | </div> |
113 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div> | ||
114 | <div·class="foldopen"·id="foldopen0003 | 112 | <div·class="foldopen"·id="foldopen00038"·data-start="{"·data-end="}"> |
115 | <div·class="line"><a·id="l0003 | 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[·...·truncated·by·diffoscope;·len:·12,·SHA:·8fdf1132ad5412fdd4967ebd28da527423065c19bf5da5b924d580dd5bc21642·...·]</div> |
116 | <div·class="line"><a·id="l0003 | 114 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>········this->first.first·=·i;</div> |
117 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>········assert((<span·class="stringliteral">"never·dereference·the·end·iterator"</span>·&&</div> | ||
118 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>········ | 115 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>········this->first.second·=·i;</div> |
119 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>········ | 116 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>········this->second·=·0;</div> |
120 | <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> |
121 | </div> | 118 | </div> |
122 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div> | ||
123 | <div·class="foldopen"·id="foldopen0004 | 119 | <div·class="foldopen"·id="foldopen00048"·data-start="{"·data-end="}"> |
124 | <div·class="line"><a·id="l0004 | 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[·...·truncated·by·diffoscope;·len:·134,·SHA:·b3d868a44a0331e3a4f6fa967f48bb7eda06cda201ef857cc27603f674d7823f·...·]</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> | ||
125 | <div·class="line"><a·id="l000 | 123 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>········this->second·=·n;</div> |
126 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>········intersection_·=·<a·class="code·hl_typedef"·href="a00938.html#a820a0729e84150264096dde51e8d25d9">Intersection</a>(glue_,·&·glue_->intersections_[++index_]);</div> | ||
127 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>······}</div> | ||
128 | </div> | ||
129 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div> | ||
130 | <div·class="foldopen"·id="foldopen00049"·data-start="{"·data-end="}"> | ||
131 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno"><a·class="line"·href="a00938.html#af98e75a6ec1abfe7eae9b5cf6a10201d">···49</a></span>······<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a00938.html#af98e75a6ec1abfe7eae9b5cf6a10201d">equals</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a00938.html">IntersectionIterator</a>&·iter)<span·class="keyword">·const</span></div> | ||
132 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span><span·class="keyword">······</span>{</div> | ||
133 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>········<span·class="keywordflow">return</span>·iter.index_·==·index_;</div> | ||
134 | <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> |
135 | </div> | 125 | </div> |
136 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>·</div> | 126 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>····};</div> |
137 | < | 127 | </div> |
138 | <div·class="line"><a·id="l0005 | 128 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</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> | ||
139 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>······<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a00926.html">GridGlue</a>*···glue_;</div> | ||
140 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>······<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·index_;</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>······<a·class="code·hl_class"·href="a00934.html">Intersection</a>·intersection_;</div> | ||
143 | <div·class="line"><a·id="l000 | 131 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>····{</div> |
144 | </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="l00060"·name="l00060"></a><span·class="lineno">···60</span>······<span·class="keywordflow">return</span>·os;</div> | ||
145 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>·</div> | 136 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>····}</div> |
137 | </div> | ||
146 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>··}·<span·class="comment">//·end·namespace·GridGlue</span></div> | ||
147 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>}·<span·class="comment">//·end·namespace·Dune</span></div> | ||
148 | <div·class="line"><a·id="l0006 | 138 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div> |
149 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span><span·class="preprocessor">#endif·</span><span·class="comment">//·DUNE_GRIDGLUE_ADAPTER_INTERSECTIONITERATOR_HH</span></div> | ||
150 | <div·class=" | 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="l00077"·name="l00077"></a><span·class="lineno">···77</span>····{</div> | ||
143 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>····<span·class="keyword">public</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="l00081"·name="l00081"></a><span·class="lineno">···81</span>·</div> | ||
146 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>····<span·class="keyword">protected</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="l00084"·name="l00084"></a><span·class="lineno"><a·class="line"·href="a00954.html#a9619c93477c44cb93a7b309e1ff3ccdd">···84</a></span>······<a·class="code·hl_function"·href="a00954.html#a9619c93477c44cb93a7b309e1ff3ccdd">CommDataHandle</a>()·{}</div> | ||
149 | <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>····<span·class="keyword">public</span>:</div> | ||
151 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</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="}"> | ||
Max diff block lines reached; 19763/81490 bytes (24.25%) of diff not shown. |
Offset 8, 100 lines modified | Offset 8, 443 lines modified | ||
8 | Loading... | 8 | Loading... |
9 | Searching... | 9 | Searching... |
10 | No·Matches | 10 | No·Matches |
11 | ····*·dune | 11 | ····*·dune |
12 | ····*·grid-glue | 12 | ····*·grid-glue |
13 | ····*·adapter | 13 | ····*·adapter |
14 | 14 | gridgluecommunicate.hh | |
15 | Go_to_the_documentation_of_this_file. | 15 | Go_to_the_documentation_of_this_file. |
16 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 16 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
17 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: | 17 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: |
18 | ·3//·SPDX-FileCopyrightInfo:·Copyright·©·DUNE·Project·contributors,·see·file | 18 | ·3//·SPDX-FileCopyrightInfo:·Copyright·©·DUNE·Project·contributors,·see·file |
19 | LICENSE.md·in·module·root | 19 | LICENSE.md·in·module·root |
20 | ·4//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only- | 20 | ·4//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only- |
21 | with-dune-grid-glue-exception | 21 | with-dune-grid-glue-exception |
22 | ·12#ifndef·DUNE_GRIDGLUE_ADAPTER_INTERSECTIONITERATOR_HH | ||
23 | · | 22 | ·5#ifndef·DUNE_GRIDGLUE_ADAPTER_GRIDGLUECOMMUNICATE_HH |
23 | ·6#define·DUNE_GRIDGLUE_ADAPTER_GRIDGLUECOMMUNICATE_HH | ||
24 | ·7 | ||
25 | ·13#include·<type_traits> | ||
24 | ·14 | 26 | ·14 |
25 | ·15#include·<dune/grid-glue/gridglue.hh> | ||
26 | ·16 | ||
27 | ·17namespace·Dune·{ | ||
28 | ·1 | 27 | ·15#include·<dune/common/bartonnackmanifcheck.hh> |
28 | ·16#include·<dune/common/parallel/communicator.hh> | ||
29 | ·17#include·<dune/grid/common/datahandleif.hh> | ||
30 | ·18#include·<dune/grid/common/gridenums.hh> | ||
29 | ·19 | 31 | ·19 |
30 | ·21·template<typename·P0,·typename·P1,·int·inside,·int·outside> | ||
31 | 22·class·IntersectionIterator·: | ||
32 | ·23·public·Dune::ForwardIteratorFacade< | ||
33 | IntersectionIterator<P0,P1,inside,outside>, | ||
34 | ·2 | 32 | ·20 |
33 | ·21namespace·Dune·{ | ||
34 | ·22·namespace·GridGlue·{ | ||
35 | ·23 | ||
36 | 24·typedef·std::pair<int,·int>·RankPair; | ||
37 | 25·struct·GlobalId·:·public·std::pair<RankPair,·unsigned·int> | ||
35 | ·2 | 38 | ·26·{ |
39 | 30·GlobalId()·{ | ||
40 | ·31·this->first.first·=·0; | ||
41 | ·32·this->first.second·=·0; | ||
42 | ·33·this->second·=·0; | ||
43 | ·34·} | ||
44 | 38·GlobalId(int·i)·{ | ||
45 | ·39·this->first.first·=·i; | ||
46 | ·40·this->first.second·=·i; | ||
47 | ·41·this->second·=·0; | ||
36 | ·26·public: | ||
37 | ·27 | ||
38 | 28·typedef·::Dune::GridGlue::GridGlue<P0,·P1>·GridGlue; | ||
39 | 29·typedef·::Dune::GridGlue::Intersection<P0,P1,inside,outside>·Intersection; | ||
40 | ·30 | ||
41 | 31·IntersectionIterator(const·GridGlue·*·glue,·unsigned·int·i) | ||
42 | ·32·:·glue_(glue), | ||
43 | ·33·index_(i), | ||
44 | ·34·intersection_(glue_,·&·glue_->intersections_[index_]) | ||
45 | ·35·{} | ||
46 | ·36 | ||
47 | 37·const·Intersection&·dereference()·const | ||
48 | ·38·{ | ||
49 | ·39·assert(("never·dereference·the·end·iterator"·&& | ||
50 | ·40·index_·!=·glue_->index__sz)); | ||
51 | ·41·return·intersection_; | ||
52 | ·42·} | 48 | ·42·} |
49 | 48·GlobalId(int·i,·int·j,·unsigned·int·n)·{ | ||
50 | ·49·this->first.first·=·std::min(i,j); | ||
51 | ·50·this->first.second·=·std::max(i,j); | ||
52 | ·51·this->second·=·n; | ||
53 | ·43 | ||
54 | 44·void·increment() | ||
55 | ·45·{ | ||
56 | ·46·intersection_·=·Intersection(glue_,·&·glue_->intersections_[++index_]); | ||
57 | ·47·} | ||
58 | ·48 | ||
59 | 49·bool·equals(const·IntersectionIterator&·iter)·const | ||
60 | ·50·{ | ||
61 | ·51·return·iter.index_·==·index_; | ||
62 | ·52·} | 53 | ·52·} |
63 | ·53 | 54 | ·53·}; |
55 | ·54 | ||
56 | 55·inline·std::ostream&·operator<<(std::ostream&·os,·const·GlobalId·&·id) | ||
57 | ·56·{ | ||
58 | ·57·os·<<·"(" | ||
59 | ·58·<<·id.first.first·<<·","·<<·id.first.second·<<·"," | ||
60 | ·59·<<·id.second·<<·")"; | ||
61 | ·60·return·os; | ||
62 | ·61·} | ||
63 | ·62 | ||
64 | ·75·template·<class·DataHandleImp,·class·DataTypeImp> | ||
65 | 76·class·CommDataHandle | ||
66 | ·77·{ | ||
67 | ·78·public: | ||
68 | 80·typedef·DataTypeImp·DataType; | ||
69 | ·81 | ||
70 | ·82·protected: | ||
71 | ·83·//·one·should·not·create·an·explicit·instance·of·this·inteface·object | ||
72 | 84·CommDataHandle()·{} | ||
73 | ·85 | ||
74 | ·86·public: | ||
75 | ·87 | ||
76 | ·91·template<class·RISType> | ||
77 | 92·size_t·size·(RISType&·i)·const | ||
78 | ·93·{ | ||
79 | ·94·CHECK_INTERFACE_IMPLEMENTATION((asImp().size(i))); | ||
80 | ·95·return·asImp().size(i); | ||
81 | ·96·} | ||
82 | ·97 | ||
83 | ·103·template<class·MessageBufferImp,·class·EntityType,·class·RISType> | ||
84 | 104·void·gather·(MessageBufferImp&·buff,·const·EntityType&·e,·const·RISType·& | ||
85 | i)·const | ||
86 | ·105·{ | ||
87 | ·106·MessageBufferIF<MessageBufferImp>·buffIF(buff); | ||
88 | ·107·CHECK_AND_CALL_INTERFACE_IMPLEMENTATION((asImp().gather(buffIF,e,i))); | ||
89 | ·108·} | ||
90 | ·109 | ||
91 | ·117·template<class·MessageBufferImp,·class·EntityType,·class·RISType> | ||
92 | 118·void·scatter·(MessageBufferImp&·buff,·const·EntityType&·e,·const·RISType·& | ||
93 | i,·size_t·n) | ||
94 | ·119·{ | ||
95 | ·120·MessageBufferIF<MessageBufferImp>·buffIF(buff); | ||
96 | ·121·CHECK_AND_CALL_INTERFACE_IMPLEMENTATION((asImp().scatter(buffIF,e,i,n))); | ||
97 | ·122·} | ||
98 | ·123 | ||
64 | · | 99 | ·124·private: |
65 | ·55 | ||
Max diff block lines reached; 7631/16905 bytes (45.14%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.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="a00008_source.html">Go·to·the·source·code·of·this·file.</a></p> | 85 | <p><a·href="a00008_source.html">Go·to·the·source·code·of·this·file.</a></p> |
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 7, 62 lines modified | Offset 7, 28 lines modified | ||
7 | Loading... | 7 | Loading... |
8 | Searching... | 8 | Searching... |
9 | No·Matches | 9 | No·Matches |
10 | ····*·dune | 10 | ····*·dune |
11 | ····*·grid-glue | 11 | ····*·grid-glue |
12 | ····*·adapter | 12 | ····*·adapter |
13 | Classes·|·Namespaces·|· | 13 | Classes·|·Namespaces·|·Functions |
14 | rangegenerators.hh·File·Reference | ||
14 | gridgluecommunicate.hh·File·Reference | ||
15 | Describes·the·parallel·communication·interface·class·for·Dune::GridGlue. | ||
16 | More... | ||
17 | #include·<type_traits> | ||
18 | #include·<dune/common/bartonnackmanifcheck.hh> | ||
19 | #include·<dune/common/parallel/communicator.hh> | ||
20 | #include·<dune/ | 15 | #include·<dune/common/iteratorrange.hh> |
21 | #include·<dune/grid/common/gridenums.hh> | ||
22 | Go_to_the_source_code_of_this_file. | 16 | Go_to_the_source_code_of_this_file. |
23 | ·Classes | 17 | ·Classes |
18 | struct· Dune::GridGlue::Reverse<_reverse_> | ||
24 | struct· Dune::GridGlue::GlobalId | ||
25 | |||
26 | ·class· Dune::GridGlue::CommDataHandle<_DataHandleImp,_DataTypeImp_> | ||
27 | ·······describes·the·features·of·a·data·handle·for·communication·in·parallel | ||
28 | ·········runs·using·the·GridGlue::communicate·methods.·More... | ||
29 | |||
30 | ·class· Dune::GridGlue::StreamingMessageBuffer<_DT_> | ||
31 | |||
32 | ·class· Dune::GridGlue::CommunicationOperator<_dir_> | ||
33 | ·······forward·gather·scatter·to·user·defined·CommInfo·class·More... | ||
34 | |||
35 | struct· Dune::GridGlue::CommInfo<_GG,_DataHandleImp,_DataTypeImp_> | ||
36 | ·······collects·all·GridGlue·data·requried·for·communication·More... | ||
37 | |||
38 | struct· Dune::CommPolicy<_::Dune::GridGlue::CommInfo<_GG,_DataHandleImp, | ||
39 | ·········DataTypeImp_>_> | ||
40 | ·······specialization·of·the·CommPolicy·struct,·required·for·the | ||
41 | ·········ParallelIndexsets·More... | ||
42 | 19 | ||
43 | ·Namespaces | 20 | ·Namespaces |
44 | namespace· Dune | 21 | namespace· Dune |
45 | 22 | ||
46 | namespace· Dune::GridGlue | 23 | namespace· Dune::GridGlue |
47 | 24 | ||
48 | ·Typedefs | ||
49 | ·······typedef·std::pair<·int,·int·> Dune::GridGlue::RankPair | ||
50 | |||
51 | typedef·CommunicationOperator<·Dune:: | ||
52 | ··············ForwardCommunication·> Dune::GridGlue::ForwardOperator | ||
53 | |||
54 | typedef·CommunicationOperator<·Dune:: | ||
55 | ·············BackwardCommunication·> Dune::GridGlue::BackwardOperator | ||
56 | |||
57 | ·Functions | 25 | ·Functions |
58 | std::ostream·& Dune::GridGlue::operator<<·(std::ostream·&os,·const·GlobalId | ||
59 | 26 | template<...·> | |
27 | IteratorRange<...·> Dune::GridGlue::intersections·(const·GridGlue<...·>·&glue, | ||
28 | ·····················const·Reverse<...·>·&reverse=!reversed) | ||
29 | ···················Iterate·over·all·intersections·of·a·GridGlue. | ||
60 | 30 | ||
61 | *****·Detailed·Description·***** | ||
62 | Describes·the·parallel·communication·interface·class·for·Dune::GridGlue. | ||
63 | ··Author | ||
64 | ······Christian·Engwer | ||
65 | =============================================================================== | 31 | =============================================================================== |
66 | ·····Generated·by [doxygen]·1.9.8 | 32 | ·····Generated·by [doxygen]·1.9.8 |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-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="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">//·SPDX-FileCopyrightInfo:·Copyright·©·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div> | ||
83 | <a·href="a00008.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | ||
84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | ||
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 8, 443 lines modified | Offset 8, 89 lines modified | ||
8 | Loading... | 8 | Loading... |
9 | Searching... | 9 | Searching... |
10 | No·Matches | 10 | No·Matches |
11 | ····*·dune | 11 | ····*·dune |
12 | ····*·grid-glue | 12 | ····*·grid-glue |
13 | ····*·adapter | 13 | ····*·adapter |
14 | 14 | rangegenerators.hh | |
15 | Go_to_the_documentation_of_this_file. | 15 | Go_to_the_documentation_of_this_file. |
16 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | ||
17 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: | ||
18 | · | 16 | ·1//·SPDX-FileCopyrightInfo:·Copyright·©·DUNE·Project·contributors,·see·file |
19 | LICENSE.md·in·module·root | 17 | LICENSE.md·in·module·root |
20 | · | 18 | ·2//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only- |
21 | with-dune-grid-glue-exception | 19 | with-dune-grid-glue-exception |
22 | ·5#ifndef·DUNE_GRIDGLUE_ADAPTER_GRIDGLUECOMMUNICATE_HH | ||
23 | · | 20 | ·3#ifndef·DUNE_GRIDGLUE_ADAPTER_RANGEGENERATORS_HH |
21 | ·4#define·DUNE_GRIDGLUE_ADAPTER_RANGEGENERATORS_HH | ||
22 | ·5 | ||
23 | ·6#include·<dune/common/iteratorrange.hh> | ||
24 | ·7 | 24 | ·7 |
25 | ·13#include·<type_traits> | ||
26 | ·14 | ||
27 | ·15#include·<dune/common/bartonnackmanifcheck.hh> | ||
28 | ·16#include·<dune/common/parallel/communicator.hh> | ||
29 | ·17#include·<dune/grid/common/datahandleif.hh> | ||
30 | · | 25 | ·8namespace·Dune·{ |
26 | ·9namespace·GridGlue·{ | ||
27 | ·10 | ||
28 | ·14template<bool·reverse> | ||
29 | 15struct·Reverse | ||
30 | ·16·:·std::integral_constant<bool,·reverse> | ||
31 | ·17{ | ||
32 | 18·typedef·Reverse·type; | ||
31 | ·19 | 33 | ·19 |
32 | ·20 | 34 | ·20·constexpr |
35 | 21·Reverse<!reverse>·operator!()·const | ||
36 | ·22·{·return·{};·} | ||
37 | ·23}; | ||
38 | ·24 | ||
39 | ·25#ifdef·DOXYGEN | ||
40 | ·26 | ||
41 | 31const·Reverse<true>·reversed; | ||
42 | ·32 | ||
43 | ·66template<...> | ||
44 | ·67IteratorRange<...> | ||
45 | 68intersections(const·GridGlue<...>&·glue,·const·Reverse<...>&·reverse·= | ||
46 | !reversed); | ||
47 | ·69 | ||
48 | ·70#else | ||
49 | ·71 | ||
33 | · | 50 | ·72namespace·{ |
51 | ·73const·Reverse<true>·reversed·=·{}; | ||
52 | ·74}·/*·namespace·*/ | ||
53 | ·75 | ||
54 | ·76template<typename·P0,·typename·P1,·bool·reverse·=·false> | ||
55 | ·77IteratorRange<·typename·GridGlue<P0,·P1>::template | ||
56 | IntersectionIterator<reverse·?·1·:·0>·> | ||
57 | ·78intersections(const·GridGlue<P0,·P1>&·glue,·const·Reverse<reverse>&·=·{}) | ||
58 | ·79{ | ||
59 | ·80·const·static·int·side·=·reverse·?·1·:·0; | ||
60 | ·81·return·{glue.template·ibegin<side>(),·glue.template·iend<side>()}; | ||
61 | ·82} | ||
62 | ·83 | ||
63 | ·84#endif·//·DOXYGEN | ||
34 | ·22·namespace·GridGlue·{ | ||
35 | ·23 | ||
36 | 24·typedef·std::pair<int,·int>·RankPair; | ||
37 | 25·struct·GlobalId·:·public·std::pair<RankPair,·unsigned·int> | ||
38 | ·26·{ | ||
39 | 30·GlobalId()·{ | ||
40 | ·31·this->first.first·=·0; | ||
41 | ·32·this->first.second·=·0; | ||
42 | ·33·this->second·=·0; | ||
43 | ·34·} | ||
44 | 38·GlobalId(int·i)·{ | ||
45 | ·39·this->first.first·=·i; | ||
46 | ·40·this->first.second·=·i; | ||
47 | ·41·this->second·=·0; | ||
48 | ·42·} | ||
49 | 48·GlobalId(int·i,·int·j,·unsigned·int·n)·{ | ||
50 | ·49·this->first.first·=·std::min(i,j); | ||
51 | ·50·this->first.second·=·std::max(i,j); | ||
52 | ·51·this->second·=·n; | ||
53 | ·52·} | ||
54 | ·53·}; | ||
55 | ·54 | ||
56 | 55·inline·std::ostream&·operator<<(std::ostream&·os,·const·GlobalId·&·id) | ||
57 | ·56·{ | ||
58 | ·57·os·<<·"(" | ||
59 | ·58·<<·id.first.first·<<·","·<<·id.first.second·<<·"," | ||
60 | ·59·<<·id.second·<<·")"; | ||
61 | ·60·return·os; | ||
62 | ·61·} | ||
63 | ·62 | ||
64 | ·75·template·<class·DataHandleImp,·class·DataTypeImp> | ||
65 | 76·class·CommDataHandle | ||
66 | ·77·{ | ||
67 | ·78·public: | ||
68 | 80·typedef·DataTypeImp·DataType; | ||
69 | ·81 | ||
70 | ·82·protected: | ||
71 | ·83·//·one·should·not·create·an·explicit·instance·of·this·inteface·object | ||
72 | 84·CommDataHandle()·{} | ||
73 | ·85 | 64 | ·85 |
65 | ·86}·/*·namespace·GridGlue·*/ | ||
66 | ·87}·/*·namespace·Dune·*/ | ||
67 | ·88 | ||
74 | ·86·public: | ||
75 | ·87 | ||
76 | ·91·template<class·RISType> | ||
77 | 92·size_t·size·(RISType&·i)·const | ||
78 | ·93·{ | ||
79 | ·94·CHECK_INTERFACE_IMPLEMENTATION((asImp().size(i))); | ||
80 | ·95·return·asImp().size(i); | ||
81 | ·96·} | ||
82 | ·97 | ||
83 | ·103·template<class·MessageBufferImp,·class·EntityType,·class·RISType> | ||
84 | 104·void·gather·(MessageBufferImp&·buff,·const·EntityType&·e,·const·RISType·& | ||
85 | i)·const | ||
86 | ·105·{ | ||
87 | ·106·MessageBufferIF<MessageBufferImp>·buffIF(buff); | ||
88 | ·107·CHECK_AND_CALL_INTERFACE_IMPLEMENTATION((asImp().gather(buffIF,e,i))); | ||
89 | ·108·} | ||
90 | ·109 | ||
91 | ·117·template<class·MessageBufferImp,·class·EntityType,·class·RISType> | ||
92 | 118·void·scatter·(MessageBufferImp&·buff,·const·EntityType&·e,·const·RISType·& | ||
Max diff block lines reached; 7396/16479 bytes (44.88%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-grid-glue:·intersection.hh·File·Reference</title> | 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 71, 74 lines modified | Offset 71, 35 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="#define-members">Macros</a>··</div> | ||
80 | ··<div·class="headertitle"><div·class="title">intersection.hh·File·Reference</div></div> | 79 | ··<div·class="headertitle"><div·class="title">intersectionindexset.hh·File·Reference</div></div> |
81 | </div><!--header--> | 80 | </div><!--header--> |
82 | <div·class="contents"> | 81 | <div·class="contents"> |
83 | <p>Model·of·the·Intersection·concept·provided·by·GridGlue.·· | ||
84 | <a·href="#details">More...</a></p> | ||
85 | <div·class="textblock"><code>#include·<algorithm></code><br·/> | ||
86 | <code>#include·<optional></code><br·/> | ||
87 | <code>#include·<tuple></code><br·/> | ||
88 | <code>#include·<dune/common/deprecated.hh></code><br·/> | ||
89 | <code>#include·<dune/common/version.hh></code><br·/> | ||
90 | <code>#include·<dune/geometry/affinegeometry.hh></code><br·/> | ||
91 | <code>#include·<dune/geometry/referenceelements.hh></code><br·/> | ||
92 | <code>#include·<<a·class="el"·href="a00002_source.html">dune/grid-glue/gridglue.hh</a>></code><br·/> | 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="a00020_source.html">dune/grid-glue/adapter/intersection.hh</a>></code><br·/> | ||
93 | </div> | 84 | </div> |
94 | <p><a·href="a00011_source.html">Go·to·the·source·code·of·this·file.</a></p> | 85 | <p><a·href="a00011_source.html">Go·to·the·source·code·of·this·file.</a></p> |
95 | <table·class="memberdecls"> | 86 | <table·class="memberdecls"> |
96 | <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> |
97 | Classes</h2></td></tr> | 88 | Classes</h2></td></tr> |
98 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00930.html">Dune::GridGlue::IntersectionData<·P0,·P1·></a></td></tr> | ||
99 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">storage·class·for·<a·class="el"·href="a00934.html"·title="The·intersection·of·two·entities·of·the·two·patches·of·a·GridGlue.">Dune::GridGlue::Intersection</a>·related·data··<a·href="a00930.html#details">More...</a><br·/></td></tr> | ||
100 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
101 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00982.html">Dune::GridGlue::IntersectionTraits<·P0,·P1,·inside,·outside·></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="a009 | 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> |
104 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">The·intersection·of·two·entities·of·the·two·patches·of·a·<a·class="el"·href="a00926.html"·title="sequential·adapter·to·couple·two·grids·at·specified·close·together·boundaries">GridGlue</a>.··<a·href="a00934.html#details">More...</a><br·/></td></tr> | ||
105 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 90 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
106 | </table><table·class="memberdecls"> | 91 | </table><table·class="memberdecls"> |
107 | <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> |
108 | Namespaces</h2></td></tr> | 93 | Namespaces</h2></td></tr> |
109 | <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> |
110 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 95 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
111 | <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> |
112 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 97 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
113 | </table><table·class="memberdecls"> | ||
114 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="define-members"·name="define-members"></a> | ||
115 | Macros</h2></td></tr> | ||
116 | <tr·class="memitem:aac752eae6e9ad7d1e576f1fe3f7c8a6b"·id="r_aac752eae6e9ad7d1e576f1fe3f7c8a6b"><td·class="memItemLeft"·align="right"·valign="top">#define </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00011.html#aac752eae6e9ad7d1e576f1fe3f7c8a6b">ONLY_SIMPLEX_INTERSECTIONS</a></td></tr> | ||
117 | <tr·class="separator:aac752eae6e9ad7d1e576f1fe3f7c8a6b"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
118 | </table> | 98 | </table> |
119 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> | ||
120 | <div·class="textblock"><p>Model·of·the·Intersection·concept·provided·by·GridGlue.·</p> | ||
121 | <dl·class="section·author"><dt>Author</dt><dd>Christian·Engwer·</dd></dl> | ||
122 | </div><h2·class="groupheader">Macro·Definition·Documentation</h2> | ||
123 | <a·id="aac752eae6e9ad7d1e576f1fe3f7c8a6b"·name="aac752eae6e9ad7d1e576f1fe3f7c8a6b"></a> | ||
124 | <h2·class="memtitle"><span·class="permalink"><a·href="#aac752eae6e9ad7d1e576f1fe3f7c8a6b">◆ </a></span>ONLY_SIMPLEX_INTERSECTIONS</h2> | ||
125 | <div·class="memitem"> | ||
126 | <div·class="memproto"> | ||
127 | ······<table·class="memname"> | ||
128 | ········<tr> | ||
129 | ··········<td·class="memname">#define·ONLY_SIMPLEX_INTERSECTIONS</td> | ||
130 | ········</tr> | ||
131 | ······</table> | ||
132 | </div><div·class="memdoc"> | ||
133 | </div> | ||
134 | </div> | ||
135 | </div><!--·contents·--> | 99 | </div><!--·contents·--> |
136 | <!--·start·footer·part·--> | 100 | <!--·start·footer·part·--> |
137 | <hr·class="footer"/><address·class="footer"><small> | 101 | <hr·class="footer"/><address·class="footer"><small> |
138 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 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 |
139 | </small></address> | 103 | </small></address> |
140 | </body> | 104 | </body> |
141 | </html> | 105 | </html> |
Offset 7, 47 lines modified | Offset 7, 23 lines modified | ||
7 | Loading... | 7 | Loading... |
8 | Searching... | 8 | Searching... |
9 | No·Matches | 9 | No·Matches |
10 | ····*·dune | 10 | ····*·dune |
11 | ····*·grid-glue | 11 | ····*·grid-glue |
12 | ····*·adapter | 12 | ····*·adapter |
13 | Classes·|·Namespaces | 13 | Classes·|·Namespaces |
14 | intersection.hh·File·Reference | 14 | intersectionindexset.hh·File·Reference |
15 | Model·of·the·Intersection·concept·provided·by·GridGlue.·More... | ||
16 | #include·<algorithm> | ||
17 | #include·<optional> | ||
18 | #include·<tuple> | ||
19 | #include·<dune/common/deprecated.hh> | ||
20 | #include·<dune/common/version.hh> | ||
21 | #include·<dune/geometry/affinegeometry.hh> | ||
22 | #include·<dune/geometry/referenceelements.hh> | ||
23 | #include·<dune/grid-glue/gridglue.hh> | 15 | #include·<dune/grid-glue/gridglue.hh> |
16 | #include·<dune/grid-glue/adapter/intersection.hh> | ||
24 | Go_to_the_source_code_of_this_file. | 17 | Go_to_the_source_code_of_this_file. |
25 | ·Classes | 18 | ·Classes |
26 | 19 | class· Dune::GridGlue::IntersectionIndexSet<_P0,_P1_> | |
27 | ·······storage·class·for·Dune::GridGlue::Intersection·related·data·More... | ||
28 | |||
29 | struct· Dune::GridGlue::IntersectionTraits<_P0,_P1,_inside,_outside_> | ||
30 | |||
31 | ·class· Dune::GridGlue::Intersection<_P0,_P1,_I,_O_> | ||
32 | ·······The·intersection·of·two·entities·of·the·two·patches·of·a·GridGlue. | ||
33 | ·········More... | ||
34 | 20 | ||
35 | ·Namespaces | 21 | ·Namespaces |
36 | namespace· Dune | 22 | namespace· Dune |
37 | 23 | ||
38 | namespace· Dune::GridGlue | 24 | namespace· Dune::GridGlue |
39 | 25 | ||
40 | ·Macros | ||
41 | #define ONLY_SIMPLEX_INTERSECTIONS | ||
42 | |||
43 | *****·Detailed·Description·***** | ||
44 | Model·of·the·Intersection·concept·provided·by·GridGlue. | ||
45 | ··Author | ||
46 | ······Christian·Engwer | ||
47 | *****·Macro·Definition·Documentation·***** | ||
48 | *****·◆ ONLY_SIMPLEX_INTERSECTIONS·***** | ||
49 | #define·ONLY_SIMPLEX_INTERSECTIONS | ||
50 | =============================================================================== | 26 | =============================================================================== |
51 | ·····Generated·by [doxygen]·1.9.8 | 27 | ·····Generated·by [doxygen]·1.9.8 |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-grid-glue:·intersection.hh·Source·File</title> | 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, 578 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">intersection.hh</div></div> | 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="a00011.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno"><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> | ||
83 | <a·href="a00011.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | ||
84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | ||
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_ADAPTER_INTERSECTIONINDEXSET_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_ADAPTER_INTERSECTIONINDEXSET_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·<<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="a00020.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="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> | ||
94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#error·Not·Implemented</span></div> | ||
95 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#endif</span></div> | ||
89 | <div·class="line"><a·id="l0001 | 96 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div> |
97 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00103.html">Dune</a>·{</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> | ||
90 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<algorithm></span></div> | ||
91 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·<optional></span></div> | ||
92 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·<tuple></span></div> | ||
93 | <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> |
94 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</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/version.hh></span></div> | ||
96 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·<dune/geometry/affinegeometry.hh></span></div> | ||
97 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·<dune/geometry/referenceelements.hh></span></div> | ||
98 | <div·class="line"><a·id="l000 | 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="foldopen00019"·data-start="{"·data-end="};"> | ||
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> | ||
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> | ||
99 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div> | 106 | <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"> | 107 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>········<span·class="keyword">public</span>:</div> |
101 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div> | 108 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div> |
109 | <div·class="line"><a·id="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> | ||
102 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00103.html">Dune</a>·{</div> | ||
103 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>··<span·class="keyword">namespace·</span>GridGlue·{</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="comment">//·forward·declaration</span></div> | ||
106 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>····<span·class="keyword">template</span><<span·class="keyword">typename</span>·P0,·<span·class="keyword">typename</span>·P1></div> | ||
107 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>····<span·class="keyword">class·</span>IntersectionIndexSet;</div> | ||
108 | <div·class="line"><a·id="l0003 | 111 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div> |
109 | <div·class="line"><a·id="l0003 | 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> |
110 | <div·class="foldopen"·id="foldopen0003 | 113 | <div·class="foldopen"·id="foldopen00034"·data-start="{"·data-end="}"> |
111 | <div·class="line"><a·id="l0003 | 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_funct[·...·truncated·by·diffoscope;·len:·224,·SHA:·abcc7a76b4a56e2d0f242370cdb86f17a959b23cb22172537f184f014a5dd035·...·]></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="l00037"·name="l00037"></a><span·class="lineno">···37</span>············}</div> | ||
118 | </div> | ||
112 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>· | 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> | ||
113 | <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> |
114 | <div·class="line"><a·id="l0004 | 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> |
124 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>············}</div> | ||
125 | </div> | ||
115 | <div·class="line"><a·id="l0004 | 126 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div> |
116 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno"><a·class="line"·href="a00930.html#a0549e226272a2f522a7ed456764d6d17">···42</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="a00930.html#a0549e226272a2f522a7ed456764d6d17">IndexType</a>;</div> | ||
117 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div> | ||
118 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno"><a·class="line"·href="a00930.html#a2b101a665b912ab2fbd5fd8e95491bec">···45</a></span>······<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_variable"·href="a00930.html#a2b101a665b912ab2fbd5fd8e95491bec">coorddim</a>·=·<a·class="code·hl_variable"·href="a00926.html#a2f6a53feab1f80490763bae3f10f734c">GridGlue::dimworld</a>;</div> | ||
119 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div> | ||
120 | <div·class="line"><a·id="l0004 | 127 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>··<span·class="keyword">private</span>:</div> |
121 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>······<span·class="comment">//·intermediate·quantities</span></div> | ||
122 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>······<span·class="keyword">template</span><<span·class="keywordtype">int</span>·s<span·class="keywordtype">id</span>e></div> | ||
123 | <div·class="line"><a·id="l000 | 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> | ||
124 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div> | 131 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div> |
125 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>····<span·class="keyword"> | 132 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>············<span·class="keyword">const</span>·GridGlue·*·glue_;</div> |
126 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno"><a·class="line"·href="a00930.html#a8e2218af4a0b1dc1ff24e9244f47de23">···54</a></span>······<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_variable"·href="a00930.html#a8e2218af4a0b1dc1ff24e9244f47de23">mydim</a>·=·dim<0>()·<·dim<1>()·?·dim<0>()·:·dim<1>();</div> | ||
127 | <div·class="line"><a·id="l0005 | 133 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>··};</div> |
128 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>······<span·class="keyword">template</span><<span·class="keywordtype">int</span>·s<span·class="keywordtype">id</span>e></div> | ||
129 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno"><a·class="line"·href="a00930.html#ab7b5b35cd4e5042fed98bf0ec6c43846">···57</a></span>······<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a00930.html#ab7b5b35cd4e5042fed98bf0ec6c43846">GridLocalGeometry</a>·=·AffineGeometry<</div> | ||
130 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>········<span·class="keyword">typename</span>·GridGlue::template·GridView<side>::ctype,·<a·class="code·hl_variable"·href="a00930.html#a8e2218af4a0b1dc1ff24e9244f47de23">mydim</a>,·GridGlue::template·GridView<side>::dimension>;</div> | ||
131 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>·</div> | ||
132 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno"><a·class="line"·href="a00930.html#ac74d120721d1eaaba1c52dbe1b35d5c4">···60</a></span>······<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a00930.html#ac74d120721d1eaaba1c52dbe1b35d5c4">Grid0LocalGeometry</a>·[[deprecated(<span·class="stringliteral">"please·use·GridLocalGeometry<0>·instead"</span>)]]·=·<a·class="code·hl_typedef"·href="a00930.html#ab7b5b35cd4e5042fed98bf0ec6c43846">GridLocalGeometry<0></a>;</div> | ||
133 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno"><a·class="line"·href="a00930.html#a625c298096ae46316eed5d7b235dcf99">···61</a></span>······<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a00930.html#a625c298096ae46316eed5d7b235dcf99">Grid1LocalGeometry</a>·[[deprecated(<span·class="stringliteral">"please·use·GridLocalGeometry<1>·instead"</span>)]]·=·<a·class="code·hl_typedef"·href="a00930.html#ab7b5b35cd4e5042fed98bf0ec6c43846">GridLocalGeometry<1></a>;</div> | ||
134 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div> | ||
135 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>······<span·class="keyword">template</span><<span·class="keywordtype">int</span>·s<span·class="keywordtype">id</span>e></div> | ||
136 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno"><a·class="line"·href="a00930.html#a1d1557900c0904d86a048acd96a5728d">···64</a></span>······<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a00930.html#a1d1557900c0904d86a048acd96a5728d">GridGeometry</a>·=·AffineGeometry<</div> | ||
137 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>········<span·class="keyword">typename</span>·GridGlue::template·GridView<side>::ctype,·<a·class="code·hl_variable"·href="a00930.html#a8e2218af4a0b1dc1ff24e9244f47de23">mydim</a>,·GridGlue::template·GridView<side>::dimensionworld>;</div> | ||
138 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div> | ||
139 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno"><a·class="line"·href="a00930.html#a321b26a0c3b883d63a4f25937d727324">···67</a></span>······<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a00930.html#a321b26a0c3b883d63a4f25937d727324">Grid0Geometry</a>·[[deprecated(<span·class="stringliteral">"please·use·GridGeometry<0>·instead"</span>)]]·=·<a·class="code·hl_typedef"·href="a00930.html#a1d1557900c0904d86a048acd96a5728d">GridGeometry<0></a>;</div> | ||
140 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno"><a·class="line"·href="a00930.html#add631c80de4bcfba651130a460de019a">···68</a></span>······<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a00930.html#add631c80de4bcfba651130a460de019a">Grid1Geometry</a>·[[deprecated(<span·class="stringliteral">"please·use·GridGeometry<1>·instead"</span>)]]·=·<a·class="code·hl_typedef"·href="a00930.html#a1d1557900c0904d86a048acd96a5728d">GridGeometry<1></a>;</div> | ||
141 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div> | ||
142 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>······<span·class="keyword">template</span><<span·class="keywordtype">int</span>·s<span·class="keywordtype">id</span>e></div> | ||
143 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno"><a·class="line"·href="a00930.html#a3fff7e715ab7d74a2fd7a88ea45d38b3">···71</a></span>······<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a00930.html#a3fff7e715ab7d74a2fd7a88ea45d38b3">GridIndexType</a>·=·<span·class="keyword">typename</span>·GridGlue::template·GridView<side>::IndexSet::IndexType;</div> | ||
144 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>·</div> | ||
145 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno"><a·class="line"·href="a00930.html#ae68adae76b29bc42ccbb330c4736f0f9">···73</a></span>······<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a00930.html#ae68adae76b29bc42ccbb330c4736f0f9">Grid0IndexType</a>·[[deprecated(<span·class="stringliteral">"please·use·GridIndexType<0>·instead"</span>)]]·=·<a·class="code·hl_typedef"·href="a00930.html#a3fff7e715ab7d74a2fd7a88ea45d38b3">GridIndexType<0></a>;</div> | ||
146 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno"><a·class="line"·href="a00930.html#ad285335c520be8194b168386377dd8b3">···74</a></span>······<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a00930.html#ad285335c520be8194b168386377dd8b3">Grid1IndexType</a>·[[deprecated(<span·class="stringliteral">"please·use·GridIndexType<1>·instead"</span>)]]·=·<a·class="code·hl_typedef"·href="a00930.html#a3fff7e715ab7d74a2fd7a88ea45d38b3">GridIndexType<1></a>;</div> | ||
147 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>·</div> | ||
148 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>······<a·class="code·hl_function"·href="a00930.html#ae92bcc47327a79743c601c91a5bc9944">IntersectionData</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a00926.html">GridGlue</a>&·glue,·<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·mergeindex,·<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·offset,·<span·class="keywordtype">bool</span>·grid0local,·<span·class="keywordtype">bool</span>·grid1local);</div> | ||
149 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div> | ||
150 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno"><a·class="line"·href="a00930.html#ae92bcc47327a79743c601c91a5bc9944">···80</a></span>······<a·class="code·hl_function"·href="a00930.html#ae92bcc47327a79743c601c91a5bc9944">IntersectionData</a>()·=·<span·class="keywordflow">default</span>;</div> | ||
151 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>·</div> | ||
152 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>······<span·class="comment">/*·Accessor·Functions·*/</span></div> | ||
153 | <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>······<span·class="keyword">template</span><<span·class="keywordtype">int</span>·s<span·class="keywordtype">id</span>e></div> | ||
Max diff block lines reached; 103430/129917 bytes (79.61%) of diff not shown. |
Offset 8, 755 lines modified | Offset 8, 106 lines modified | ||
8 | Loading... | 8 | Loading... |
9 | Searching... | 9 | Searching... |
10 | No·Matches | 10 | No·Matches |
11 | ····*·dune | 11 | ····*·dune |
12 | ····*·grid-glue | 12 | ····*·grid-glue |
13 | ····*·adapter | 13 | ····*·adapter |
14 | intersection.hh | 14 | intersectionindexset.hh |
15 | Go_to_the_documentation_of_this_file. | 15 | Go_to_the_documentation_of_this_file. |
16 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | ||
17 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: | ||
18 | 16 | 1//·SPDX-FileCopyrightInfo:·Copyright·©·DUNE·Project·contributors,·see·file | |
19 | LICENSE.md·in·module·root | 17 | LICENSE.md·in·module·root |
20 | · | 18 | ·2//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only- |
21 | with-dune-grid-glue-exception | 19 | with-dune-grid-glue-exception |
22 | · | 20 | ·3#ifndef·DUNE_GRIDGLUE_ADAPTER_INTERSECTIONINDEXSET_HH |
23 | · | 21 | ·4#define·DUNE_GRIDGLUE_ADAPTER_INTERSECTIONINDEXSET_HH |
24 | ·13 | ||
25 | ·14#include·<algorithm> | ||
26 | ·15#include·<optional> | ||
27 | · | 22 | ·5 |
23 | ·6#include·<dune/grid-glue/gridglue.hh> | ||
24 | ·7#include·<dune/grid-glue/adapter/intersection.hh> | ||
25 | ·8 | ||
26 | ·9#ifndef·ONLY_SIMPLEX_INTERSECTIONS | ||
27 | ·10//·we·currently·support·only·one·intersection·type.·If·we·want·to·support | ||
28 | more, | ||
29 | ·11//·we·have·to·think·about·the·semantics·of·our·IndexSet | ||
30 | ·12#error·Not·Implemented | ||
31 | ·13#endif | ||
32 | ·14 | ||
33 | ·15namespace·Dune·{ | ||
34 | ·16·namespace·GridGlue·{ | ||
28 | ·17 | 35 | ·17 |
29 | ·18#include·<dune/common/deprecated.hh> | ||
30 | ·19#include·<dune/common/version.hh> | ||
31 | ·20#include·<dune/geometry/affinegeometry.hh> | ||
32 | ·21#include·<dune/geometry/referenceelements.hh> | ||
33 | · | 36 | ·18·template<typename·P0,·typename·P1> |
37 | 19·class·IntersectionIndexSet | ||
38 | ·20·{ | ||
39 | ·21·friend·class·::Dune::GridGlue::GridGlue<P0,P1>; | ||
40 | ·22·typedef·::Dune::GridGlue::GridGlue<P0,P1>·GridGlue; | ||
34 | ·23 | 41 | ·23 |
35 | 24 | 42 | ·24·public: |
36 | ·25 | 43 | ·25 |
37 | ·26namespace·Dune·{ | ||
38 | ·27·namespace·GridGlue·{ | ||
39 | ·28 | ||
40 | ·29·//·forward·declaration | ||
41 | ·30·template<typename·P0,·typename·P1> | ||
42 | ·31·class·IntersectionIndexSet; | ||
43 | ·32 | ||
44 | ·36·template<typename·P0,·typename·P1> | ||
45 | 37·class·IntersectionData | ||
46 | ·38·{ | ||
47 | ·39·public: | ||
48 | 40·typedef·::Dune::GridGlue::GridGlue<P0,·P1>·GridGlue; | ||
49 | ·41 | ||
50 | 44 | 27·typedef·typename·GridGlue::IndexType·IndexType; | |
51 | ·43 | ||
52 | 45·static·constexpr·int·coorddim·=·GridGlue::dimworld; | ||
53 | · | 45 | 29·typedef·size_t·SizeType; |
46 | ·30 | ||
47 | ·33·template<int·I,·int·O> | ||
48 | 34·IndexType·index·(const·Intersection<P0,P1,I,O>·&·i)·const | ||
49 | ·35·{ | ||
50 | ·36·return·i.i_->index_; | ||
51 | ·37·} | ||
52 | ·38 | ||
53 | 41·SizeType·size·()·const | ||
54 | ·42·{ | ||
55 | ·43·return·glue_->size(); | ||
56 | ·44·} | ||
57 | ·45 | ||
54 | ·4 | 58 | ·46·private: |
59 | ·47 | ||
60 | ·49·IntersectionIndexSet(const·GridGlue·*·g)·: | ||
61 | ·50·glue_(g)·{} | ||
55 | ·48·//·intermediate·quantities | ||
56 | ·49·template<int·side> | ||
57 | ·50·static·constexpr·int·dim()·{·return·GridGlue::template·GridView<side>:: | ||
58 | Grid::dimension·-·GridGlue::template·GridPatch<side>::codim;·} | ||
59 | ·51 | 62 | ·51 |
60 | ·52·public: | ||
61 | 54·static·constexpr·int·mydim·=·dim<0>()·<·dim<1>()·?·dim<0>()·:·dim<1>(); | ||
62 | ·55 | ||
63 | ·56·template<int·side> | ||
64 | 57·using·GridLocalGeometry·=·AffineGeometry< | ||
65 | ·58·typename·GridGlue::template·GridView<side>::ctype,·mydim,·GridGlue:: | ||
66 | template·GridView<side>::dimension>; | ||
67 | ·59 | ||
68 | 60·using·Grid0LocalGeometry·[[deprecated("please·use·GridLocalGeometry<0> | ||
69 | instead")]]·=·GridLocalGeometry<0>; | ||
70 | 61·using·Grid1LocalGeometry·[[deprecated("please·use·GridLocalGeometry<1> | ||
71 | instead")]]·=·GridLocalGeometry<1>; | ||
72 | ·62 | ||
73 | ·63·template<int·side> | ||
74 | 64·using·GridGeometry·=·AffineGeometry< | ||
75 | ·65·typename·GridGlue::template·GridView<side>::ctype,·mydim,·GridGlue:: | ||
76 | template·GridView<side>::dimensionworld>; | ||
77 | ·66 | ||
78 | 67·using·Grid0Geometry·[[deprecated("please·use·GridGeometry<0>·instead")]]·= | ||
79 | GridGeometry<0>; | ||
80 | 68·using·Grid1Geometry·[[deprecated("please·use·GridGeometry<1>·instead")]]·= | ||
81 | GridGeometry<1>; | ||
82 | ·69 | ||
83 | ·70·template<int·side> | ||
84 | 71·using·GridIndexType·=·typename·GridGlue::template·GridView<side>::IndexSet:: | ||
85 | IndexType; | ||
86 | ·72 | ||
87 | 73·using·Grid0IndexType·[[deprecated("please·use·GridIndexType<0>·instead")]]·= | ||
88 | GridIndexType<0>; | ||
89 | 74·using·Grid1IndexType·[[deprecated("please·use·GridIndexType<1>·instead")]]·= | ||
90 | GridIndexType<1>; | ||
91 | ·75 | ||
92 | ·77·IntersectionData(const·GridGlue&·glue,·unsigned·int·mergeindex,·unsigned | ||
93 | int·offset,·bool·grid0local,·bool·grid1local); | ||
94 | ·78 | ||
95 | 80·IntersectionData()·=·default; | ||
96 | ·81 | ||
97 | ·82·/*·Accessor·Functions·*/ | ||
98 | ·83 | ||
99 | ·84·template<int·side> | ||
100 | 85·const·GridLocalGeometry<side>&·localGeometry(unsigned·int·parentId·=·0) | ||
101 | const | ||
102 | ·86·{·return·*std::get<side>(sideData_).gridlocalgeom[parentId];·} | ||
Max diff block lines reached; 12138/29051 bytes (41.78%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="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:·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 72, 41 lines modified | Offset 72, 46 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">gridglue | 79 | ··<div·class="headertitle"><div·class="title">gridgluevtkwriter.hh·File·Reference</div></div> |
80 | </div><!--header--> | 80 | </div><!--header--> |
81 | <div·class="contents"> | 81 | <div·class="contents"> |
82 | <p>Write·all·remote·intersections·to·a· | 82 | <p>Write·all·remote·intersections·to·a·vtk·file·for·debugging.·· |
83 | <a·href="#details">More...</a></p> | 83 | <a·href="#details">More...</a></p> |
84 | <div·class="textblock"><code>#include·<fstream></code><br·/> | 84 | <div·class="textblock"><code>#include·<fstream></code><br·/> |
85 | <code>#include·< | 85 | <code>#include·<iomanip></code><br·/> |
86 | <code>#include·<type_traits></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·/> | ||
87 | </div> | 92 | </div> |
88 | <p><a·href="a00014_source.html">Go·to·the·source·code·of·this·file.</a></p> | 93 | <p><a·href="a00014_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="a009 | 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> |
93 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Write·remote·intersections·to·a· | 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> |
94 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 99 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
95 | </table><table·class="memberdecls"> | 100 | </table><table·class="memberdecls"> |
96 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 101 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
97 | Namespaces</h2></td></tr> | 102 | 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> | 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> |
99 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 104 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
100 | <tr·class="memitem: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> |
101 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 106 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
102 | </table> | 107 | </table> |
103 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> | 108 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> |
104 | <div·class="textblock"><p>Write·all·remote·intersections·to·a· | 109 | <div·class="textblock"><p>Write·all·remote·intersections·to·a·vtk·file·for·debugging.·</p> |
105 | </div></div><!--·contents·--> | 110 | </div></div><!--·contents·--> |
106 | <!--·start·footer·part·--> | 111 | <!--·start·footer·part·--> |
107 | <hr·class="footer"/><address·class="footer"><small> | 112 | <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 | 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 |
109 | </small></address> | 114 | </small></address> |
110 | </body> | 115 | </body> |
111 | </html> | 116 | </html> |
Offset 8, 28 lines modified | Offset 8, 33 lines modified | ||
8 | Loading... | 8 | Loading... |
9 | Searching... | 9 | Searching... |
10 | No·Matches | 10 | No·Matches |
11 | ····*·dune | 11 | ····*·dune |
12 | ····*·grid-glue | 12 | ····*·grid-glue |
13 | ····*·adapter | 13 | ····*·adapter |
14 | Classes·|·Namespaces | 14 | Classes·|·Namespaces |
15 | gridglue | 15 | gridgluevtkwriter.hh·File·Reference |
16 | Write·all·remote·intersections·to·a· | 16 | Write·all·remote·intersections·to·a·vtk·file·for·debugging.·More... |
17 | #include·<fstream> | 17 | #include·<fstream> |
18 | #include·< | 18 | #include·<iomanip> |
19 | #include·<type_traits> | 19 | #include·<type_traits> |
20 | #include·<vector> | ||
21 | #include·<dune/common/classname.hh> | ||
22 | #include·<dune/geometry/type.hh> | ||
23 | #include·<dune/geometry/referenceelements.hh> | ||
24 | #include·<dune/grid-glue/gridglue.hh> | ||
20 | Go_to_the_source_code_of_this_file. | 25 | Go_to_the_source_code_of_this_file. |
21 | ·Classes | 26 | ·Classes |
22 | class· Dune::GridGlue::GridGlue | 27 | class· Dune::GridGlue::GridGlueVtkWriter |
23 | ······Write·remote·intersections·to·a· | 28 | ······Write·remote·intersections·to·a·vtk·file·for·debugging·purposes. |
24 | ········More... | 29 | ········More... |
25 | 30 | ||
26 | ·Namespaces | 31 | ·Namespaces |
27 | namespace· Dune | 32 | namespace· Dune |
28 | 33 | ||
29 | namespace· Dune::GridGlue | 34 | namespace· Dune::GridGlue |
30 | 35 | ||
31 | *****·Detailed·Description·***** | 36 | *****·Detailed·Description·***** |
32 | Write·all·remote·intersections·to·a· | 37 | Write·all·remote·intersections·to·a·vtk·file·for·debugging. |
33 | =============================================================================== | 38 | =============================================================================== |
34 | ·····Generated·by [doxygen]·1.9.8 | 39 | ·····Generated·by [doxygen]·1.9.8 |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-grid-glue:·gridglue | 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, 166 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">gridglue | 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="a00014.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//· | 83 | <a·href="a00014.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | ||
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="l00010"·name="l00010"></a><span·class="lineno">···10</span>·</div> | ||
88 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<fstream></span></div> | ||
89 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<sstream></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="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> | ||
94 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> | ||
95 | <div·class="foldopen"·id="foldopen00020"·data-start="{"·data-end="};"> | ||
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> | ||
97 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>{</div> | ||
98 | <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> |
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="l0002 | 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·<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> | ||
101 | <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>·</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> | ||
103 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div> | ||
104 | <div·class="line"><a·id="l000 | 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> | ||
105 | <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> |
106 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>····fgrid | 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> |
107 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</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="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> | ||
108 | <div·class="line"><a·id="l000 | 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> | ||
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="l000 | 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> | ||
112 | <div·class="line"><a·id="l000 | 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> |
113 | <div·class="line"><a·id="l000 | 137 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>····std::string·coordinatePadding;</div> |
114 | <div·class="line"><a·id="l000 | 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> |
115 | <div·class="line"><a·id="l000 | 139 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>······coordinatePadding·+=·<span·class="stringliteral">"·0"</span>;</div> |
116 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</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> | ||
118 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div> | ||
119 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>····<span·class="keywordflow">if</span>·(dim==3)·{</div> | ||
120 | <div·class="line"><a·id="l000 | 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> | ||
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="l0006 | 142 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</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 | 143 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>····<span·class="comment">//·WRITE·POINTS</span></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="l00065"·name="l00065"></a><span·class="lineno">···65</span>·</div> | ||
139 | <div·class="line"><a·id="l000 | 144 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>····<span·class="comment">//·----------------</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> | ||
Max diff block lines reached; 47419/74254 bytes (63.86%) of diff not shown. |
Offset 8, 166 lines modified | Offset 8, 350 lines modified | ||
8 | Loading... | 8 | Loading... |
9 | Searching... | 9 | Searching... |
10 | No·Matches | 10 | No·Matches |
11 | ····*·dune | 11 | ····*·dune |
12 | ····*·grid-glue | 12 | ····*·grid-glue |
13 | ····*·adapter | 13 | ····*·adapter |
14 | gridglue | 14 | gridgluevtkwriter.hh |
15 | Go_to_the_documentation_of_this_file. | 15 | Go_to_the_documentation_of_this_file. |
16 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | ||
17 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: | ||
16 | · | 18 | ·3//·SPDX-FileCopyrightInfo:·Copyright·©·DUNE·Project·contributors,·see·file |
17 | LICENSE.md·in·module·root | 19 | LICENSE.md·in·module·root |
18 | · | 20 | ·4//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only- |
19 | with-dune-grid-glue-exception | 21 | with-dune-grid-glue-exception |
22 | ·5/* | ||
23 | ·6·*·Filename:·GridGlueVtkWriter.hh | ||
24 | ·7·*·Version:·1.0 | ||
25 | ·8·*·Created·on:·Mar·5,·2009 | ||
26 | ·9·*·Author:·Gerrit·Buse | ||
27 | ·10·*·--------------------------------- | ||
28 | ·11·*·Project:·dune-grid-glue | ||
29 | ·12·*·Description:·Class·thought·to·make·graphical·debugging·of·couplings | ||
30 | easier. | ||
31 | ·13·* | ||
32 | ·14·*/ | ||
20 | · | 33 | ·20#ifndef·DUNE_GRIDGLUE_ADAPTER_GRIDGLUEVTKWRITER_HH |
21 | · | 34 | ·21#define·DUNE_GRIDGLUE_ADAPTER_GRIDGLUEVTKWRITER_HH |
22 | ·10 | ||
23 | ·11#include·<fstream> | ||
24 | ·12#include·<sstream> | ||
25 | ·13#include·<type_traits> | ||
26 | ·14 | ||
27 | ·15namespace·Dune·{ | ||
28 | ·16namespace·GridGlue·{ | ||
29 | ·17 | ||
30 | 20class·GridGlueAmiraWriter | ||
31 | ·21{ | ||
32 | ·22 | 35 | ·22 |
33 | ·26·template·<class·Glue,·int·side> | ||
34 | ·27·static·void·writeIntersections(const·Glue&·glue,·const·std::string& | ||
35 | 36 | ·23 | |
37 | ·24#include·<fstream> | ||
38 | ·25#include·<iomanip> | ||
39 | ·26#include·<type_traits> | ||
40 | ·27#include·<vector> | ||
36 | ·28 | 41 | ·28 |
37 | ·29·static_assert((side==0·||·side==1),·"'side'·can·only·be·0·or·1"); | ||
38 | ·30 | ||
39 | · | 42 | ·29#include·<dune/common/classname.hh> |
43 | ·30#include·<dune/geometry/type.hh> | ||
44 | ·31#include·<dune/geometry/referenceelements.hh> | ||
40 | ·32 | 45 | ·32 |
41 | ·33 | 46 | ·33#include·<dune/grid-glue/gridglue.hh> |
42 | ·34 | 47 | ·34 |
48 | ·35namespace·Dune·{ | ||
49 | ·36namespace·GridGlue·{ | ||
50 | ·37 | ||
51 | 40class·GridGlueVtkWriter | ||
52 | ·41{ | ||
53 | ·42 | ||
54 | ·46·template·<class·Glue,·int·side> | ||
55 | ·47·static·void·writeExtractedPart(const·Glue&·glue,·const·std::string& | ||
56 | filename) | ||
57 | ·48·{ | ||
58 | ·49·static_assert((side==0·||·side==1),·"'side'·can·only·be·0·or·1"); | ||
59 | ·50 | ||
60 | ·51·std::ofstream·fgrid; | ||
61 | ·52 | ||
62 | ·53·fgrid.open(filename.c_str()); | ||
63 | ·54 | ||
43 | · | 64 | ·55·using·GridView·=·typename·Glue::template·GridView<side>; |
44 | · | 65 | ·56·using·Extractor·=·typename·Glue::template·GridPatch<side>; |
66 | ·57 | ||
67 | ·58·typedef·typename·GridView::ctype·ctype; | ||
68 | ·59 | ||
45 | · | 69 | ·60·const·int·domdimw·=·GridView::dimensionworld; |
46 | · | 70 | ·61·const·int·patchDim·=·Extractor::dim·-·Extractor::codim; |
71 | ·62 | ||
47 | · | 72 | ·63·//·coordinates·have·to·be·in·R^3·in·the·VTK·format |
48 | · | 73 | ·64·std::string·coordinatePadding; |
49 | · | 74 | ·65·for·(int·i=domdimw;·i<3;·i++) |
50 | · | 75 | ·66·coordinatePadding·+=·"·0"; |
76 | ·67 | ||
77 | ·68·fgrid·<<·"#·vtk·DataFile·Version·2.0\nFilename:·"·<<·filename·<<·"\nASCII" | ||
78 | <<·std::endl; | ||
79 | ·69 | ||
80 | ·70·//·WRITE·POINTS | ||
81 | ·71·//·---------------- | ||
82 | ·72·std::vector<typename·Extractor::Coords>·coords; | ||
83 | ·73·glue.template·patch<side>().getCoords(coords); | ||
84 | ·74 | ||
85 | ·75·fgrid·<<·((patchDim==3)·?·"DATASET·UNSTRUCTURED_GRID"·:·"DATASET·POLYDATA") | ||
86 | <<·std::endl; | ||
87 | ·76·fgrid·<<·"POINTS·"·<<·coords.size()·<<·"·"·<<·Dune::className<ctype>()·<< | ||
88 | std::endl; | ||
89 | ·77 | ||
90 | ·78·for·(size_t·i=0;·i<coords.size();·i++) | ||
51 | ·43 | ||
52 | ·44·int·overlaps·=·glue.size(); | ||
53 | ·45 | ||
54 | ·46·if·(dim==3)·{ | ||
55 | ·47 | ||
56 | ·48·fgrid·<<·"#·HyperSurface·0.1·ASCII·\n"·<<·std::endl; | ||
57 | ·49·fgrid<<"\n"; | ||
58 | ·50·fgrid<<"Parameters·{\n"; | ||
59 | ·51·fgrid<<"·Materials·{\n"; | ||
60 | ·52·fgrid<<"·outside·{\n"; | ||
61 | ·53·fgrid<<"·Id·0\n"; | ||
62 | ·54·fgrid<<"·}\n"; | ||
63 | ·55·fgrid<<"·inside·{\n"; | ||
64 | ·56·fgrid<<"·Id·1\n"; | ||
65 | ·57·fgrid<<"·}\n"; | ||
66 | ·58·fgrid<<"·}\n"; | ||
67 | ·59·fgrid<<"\n"; | ||
68 | ·60·fgrid<<"}\n"; | ||
69 | ·61 | ||
70 | ·62·//·//////////////////////////////////////////// | ||
71 | ·63·//·Write·vertices | ||
72 | ·64·//·//////////////////////////////////////////// | ||
73 | ·65 | ||
74 | ·66·//use·dim·and·not·dim+1 | ||
75 | ·67·fgrid<<"\nVertices·"<<·overlaps*(dim)<<"\n"; | ||
76 | ·68·auto·isEnd·=·glue.template·iend<side>(); | ||
77 | ·69·for·(auto·isIt·=·glue.template·ibegin<side>();·isIt·!=·isEnd;·++isIt) | ||
78 | ·70·{ | ||
79 | ·71·const·auto&·geometry·=·isIt->geometry(); | ||
Max diff block lines reached; 10716/15990 bytes (67.02%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="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:·intersectioniterator.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, 41 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_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="#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"> | 79 | ··<div·class="headertitle"><div·class="title">intersectioniterator.hh·File·Reference</div></div> |
80 | </div><!--header--> | 80 | </div><!--header--> |
81 | <div·class="contents"> | 81 | <div·class="contents"> |
82 | <p>Implement·iterators·over·GridGlue·intersections.·· | ||
83 | <a·href="#details">More...</a></p> | ||
82 | <div·class="textblock"><code>#include·& | 84 | <div·class="textblock"><code>#include·<<a·class="el"·href="a00002_source.html">dune/grid-glue/gridglue.hh</a>></code><br·/> |
83 | <code>#include·<vector></code><br·/> | ||
84 | <code>#include·<iterator></code><br·/> | ||
85 | <code>#include·"<a·class="el"·href="a00002_source.html">../gridglue.hh</a>"</code><br·/> | ||
86 | <code>#include·"<a·class="el"·href="a00047_source.html">../common/ringcomm.hh</a>"</code><br·/> | ||
87 | <code>#include·<dune/common/unused.hh></code><br·/> | ||
88 | </div> | 85 | </div> |
89 | <p><a·href="a00017_source.html">Go·to·the·source·code·of·this·file.</a></p> | 86 | <p><a·href="a00017_source.html">Go·to·the·source·code·of·this·file.</a></p> |
90 | <table·class="memberdecls"> | 87 | <table·class="memberdecls"> |
88 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | ||
89 | Classes</h2></td></tr> | ||
90 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00938.html">Dune::GridGlue::IntersectionIterator<·P0,·P1,·inside,·outside·></a></td></tr> | ||
91 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
92 | </table><table·class="memberdecls"> | ||
91 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 93 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
92 | Namespaces</h2></td></tr> | 94 | Namespaces</h2></td></tr> |
93 | <tr·class="memitem: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="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="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 96 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
95 | <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="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="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 98 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
97 | </table><table·class="memberdecls"> | ||
98 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> | ||
99 | Functions</h2></td></tr> | ||
100 | <tr·class="memitem:ac943b51eb586602f1cfd101f30562e10"·id="r_ac943b51eb586602f1cfd101f30562e10"><td·class="memTemplParams"·colspan="2">template<typename·T·>·</td></tr> | ||
101 | <tr·class="memitem:ac943b51eb586602f1cfd101f30562e10"><td·class="memTemplItemLeft"·align="right"·valign="top">void </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00104.html#ac943b51eb586602f1cfd101f30562e10">Dune::GridGlue::printVector</a>·(const·std::vector<·T·>·&v,·std::string·name,·int·rank)</td></tr> | ||
102 | <tr·class="separator:ac943b51eb586602f1cfd101f30562e10"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
103 | </table> | 99 | </table> |
100 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> | ||
101 | <div·class="textblock"><p>Implement·iterators·over·GridGlue·intersections.·</p> | ||
102 | <dl·class="section·author"><dt>Author</dt><dd>Christian·Engwer·</dd></dl> | ||
104 | </div><!--·contents·--> | 103 | </div></div><!--·contents·--> |
105 | <!--·start·footer·part·--> | 104 | <!--·start·footer·part·--> |
106 | <hr·class="footer"/><address·class="footer"><small> | 105 | <hr·class="footer"/><address·class="footer"><small> |
107 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 106 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
108 | </small></address> | 107 | </small></address> |
109 | </body> | 108 | </body> |
110 | </html> | 109 | </html> |
Offset 7, 29 lines modified | Offset 7, 27 lines modified | ||
7 | Loading... | 7 | Loading... |
8 | Searching... | 8 | Searching... |
9 | No·Matches | 9 | No·Matches |
10 | ····*·dune | 10 | ····*·dune |
11 | ····*·grid-glue | 11 | ····*·grid-glue |
12 | ····*·adapter | 12 | ····*·adapter |
13 | Classes·|·Namespaces | ||
14 | intersectioniterator.hh·File·Reference | ||
15 | Implement·iterators·over·GridGlue·intersections.·More... | ||
16 | #include·<dune/grid-glue/gridglue.hh> | ||
13 | Namespaces·|·Functions | ||
14 | gridglue.cc·File·Reference | ||
15 | #include·"intersection.hh" | ||
16 | #include·<vector> | ||
17 | #include·<iterator> | ||
18 | #include·"../gridglue.hh" | ||
19 | #include·"../common/ringcomm.hh" | ||
20 | #include·<dune/common/unused.hh> | ||
21 | Go_to_the_source_code_of_this_file. | 17 | Go_to_the_source_code_of_this_file. |
18 | ·Classes | ||
19 | class· Dune::GridGlue::IntersectionIterator<_P0,_P1,_inside,_outside_> | ||
20 | |||
22 | ·Namespaces | 21 | ·Namespaces |
23 | namespace· Dune | 22 | namespace· Dune |
24 | 23 | ||
25 | namespace· Dune::GridGlue | 24 | namespace· Dune::GridGlue |
26 | 25 | ||
26 | *****·Detailed·Description·***** | ||
27 | Implement·iterators·over·GridGlue·intersections. | ||
28 | ··Author | ||
29 | ······Christian·Engwer | ||
27 | ·Functions | ||
28 | template<typename·T·> | ||
29 | void Dune::GridGlue::printVector·(const·std::vector<·T·>·&v,·std::string·name, | ||
30 | ······int·rank) | ||
31 | |||
32 | =============================================================================== | 30 | =============================================================================== |
33 | ·····Generated·by [doxygen]·1.9.8 | 31 | ·····Generated·by [doxygen]·1.9.8 |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-grid-glue:· | 8 | <title>dune-grid-glue:·intersectioniterator.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, 502 lines modified | Offset 74, 95 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">intersectioniterator.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">/*···IMPLEMENTATION·OF·CLASS···G·R·I·D··G·L·U·E···*/</span></div> | ||
88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> | ||
89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#include·"<a·class="code"·href="a00011.html">intersection.hh</a>"</span></div> | ||
90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·<vector></span></div> | ||
91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·<iterator></span></div> | ||
92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·"../gridglue.hh"</span></div> | ||
93 | <div·class="line"><a·id="l0001 | 87 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#ifndef·DUNE_GRIDGLUE_ADAPTER_INTERSECTIONITERATOR_HH</span></div> |
94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·"../common/ringcomm.hh"</span></div> | ||
95 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#en | 88 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#define·DUNE_GRIDGLUE_ADAPTER_INTERSECTIONITERATOR_HH</span></div> |
96 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div> | 89 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div> |
97 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·<dune/ | 90 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·<<a·class="code"·href="a00002.html">dune/grid-glue/gridglue.hh</a>></span></div> |
98 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div> | 91 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div> |
99 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00103.html">Dune</a>·{</div> | 92 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00103.html">Dune</a>·{</div> |
100 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="keyword">namespace·</span>GridGlue·{</div> | 93 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>··<span·class="keyword">namespace·</span>GridGlue·{</div> |
101 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> | 94 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> |
102 | <div·class="line"><a·id="l0002 | 95 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>····<span·class="keyword">template</span><<span·class="keyword">typename</span>·P0,·<span·class="keyword">typename</span>·P1,·<span·class="keywordtype">int</span>·ins<span·class="keywordtype">id</spa[·...·truncated·by·diffoscope;·len:·82,·SHA:·630d56cdab0e499660dee836121d6d9f4e703a738cffb3edabebfed371faba9f·...·]></div> |
96 | <div·class="foldopen"·id="foldopen00022"·data-start="{"·data-end="};"> | ||
97 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno"><a·class="line"·href="a00938.html">···22</a></span>····<span·class="keyword">class·</span><a·class="code·hl_class"·href="a00938.html">IntersectionIterator</a>·:</div> | ||
98 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>······<span·class="keyword">public</span>·Dune::ForwardIteratorFacade<·IntersectionIterator<P0,P1,inside,outside>,</div> | ||
99 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>··········const·Intersection<P0,P1,inside,outside>·></div> | ||
100 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>····{</div> | ||
101 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>····<span·class="keyword">public</span>:</div> | ||
102 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> | ||
103 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno"><a·class="line"·href="a00938.html#a0a0d4796b8fe9bf887251f393b4d0c9f">···28</a></span>······typedef·::Dune::GridGlue::GridGlue<P0,·P1>·<a·class="code·hl_typedef"·href="a00938.html#a0a0d4796b8fe9bf887251f393b4d0c9f">GridGlue</a>;</div> | ||
104 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno"><a·class="line"·href="a00938.html#a820a0729e84150264096dde51e8d25d9">···29</a></span>······typedef·::Dune::GridGlue::Intersection<P0,P1,inside,outside>·<a·class="code·hl_typedef"·href="a00938.html#a820a0729e84150264096dde51e8d25d9">Intersection</a>;</div> | ||
105 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div> | ||
103 | <div·class="foldopen"·id="foldopen000 | 106 | <div·class="foldopen"·id="foldopen00031"·data-start="{"·data-end="}"> |
104 | <div·class="line"><a·id="l000 | 107 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno"><a·class="line"·href="a00938.html#a82de37c6b932e8967791efdfaf23ac34">···31</a></span>······<a·class="code·hl_function"·href="a00938.html#a82de37c6b932e8967791efdfaf23ac34">IntersectionIterator</a>(<span·class="key[·...·truncated·by·diffoscope;·len:·164,·SHA:·fab0f3cd00d4d8ca197a6951e5a6e871dafd9eb3cdcfa31a6c5188c370111d14·...·])</div> |
105 | <div·class="line"><a·id="l000 | 108 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>········:·glue_(glue),</div> |
109 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>··········index_(i),</div> | ||
110 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>··········intersection_(glue_,·&·glue_->intersections_[index_])</div> | ||
106 | <div·class="line"><a·id="l000 | 111 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>······{}</div> |
107 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#if·HAVE_MPI</span></div> | ||
108 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>··<span·class="comment">//·if·we·have·only·seq.·meshes·don't·use·parallel·glueing</span></div> | ||
109 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>··<span·class="keywordflow">if</span>·(gp0->gridView().comm().size()·==·1</div> | ||
110 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>······&&·gp1->gridView().comm().size()·==·1)</div> | ||
111 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>····mpicomm_·=·MPI_COMM_SELF;</div> | ||
112 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>··<span·class="keywordflow">else</span></div> | ||
113 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>····mpicomm_·=·MPI_COMM_WORLD;</div> | ||
114 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#endif·</span><span·class="comment">//·HAVE_MPI</span></div> | ||
115 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>··std::cout·<<·<span·class="stringliteral">"GridGlue:·Constructor·succeeded!"</span>·<<·std::endl;</div> | ||
116 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>}</div> | ||
117 | </div> | 112 | </div> |
118 | <div·class="line"><a·id="l0003 | 113 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div> |
119 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="keyword">template</span><<span·class="keyword">typename</span>·P0,·<span·class="keyword">typename</span>·P1></div> | ||
120 | <div·class="foldopen"·id="foldopen0003 | 114 | <div·class="foldopen"·id="foldopen00037"·data-start="{"·data-end="}"> |
115 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno"><a·class="line"·href="a00938.html#a37182de070ef4d9b76cf41fa95bd69e9">···37</a></span>······<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a00934.html">Intersection</a>&·<a·class="code·hl_function"·href="a00938.html#a37182de070ef4d9b76cf41fa95bd69e9">dereference</a>()<span·class="keyword">·const</span></div> | ||
121 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno"><a·class="line"·href="a00926.html#a5b6569010e6daca0427036a725b47e38">···36</a></span><span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a00926.html#a5b6569010e6daca0427036a725b47e38">GridGlue<P0,·P1>::build</a>()</div> | ||
122 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>{</div> | ||
123 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span> | 116 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span><span·class="keyword">······</span>{</div> |
124 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span><span·class=" | 117 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>········assert((<span·class="stringliteral">"never·dereference·the·end·iterator"</span>·&&</div> |
118 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>················index_·!=·glue_->index__sz));</div> | ||
125 | <div·class="line"><a·id="l0004 | 119 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>········<span·class="keywordflow">return</span>·intersection_;</div> |
126 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>··MPI_Comm_rank(mpicomm_,·&myrank);</div> | ||
127 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·· | 120 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>······}</div> |
128 | < | 121 | </div> |
129 | <div·class="line"><a·id="l0004 | 122 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div> |
130 | <div·class=" | 123 | <div·class="foldopen"·id="foldopen00044"·data-start="{"·data-end="}"> |
124 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno"><a·class="line"·href="a00938.html#a4a3055a69145230d1cadd6876d9cc2eb">···44</a></span>······<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a00938.html#a4a3055a69145230d1cadd6876d9cc2eb">increment</a>()</div> | ||
125 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>······{</div> | ||
126 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>········intersection_·=·<a·class="code·hl_typedef"·href="a00938.html#a820a0729e84150264096dde51e8d25d9">Intersection</a>(glue_,·&·glue_->intersections_[++index_]);</div> | ||
127 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>······}</div> | ||
128 | </div> | ||
131 | <div·class="line"><a·id="l0004 | 129 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div> |
132 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>····std::vector<IntersectionData>·dummy(1);·<span·class="comment">//·we·need·size·1,·as·we·always·store·data·for·the·end-intersection</span></div> | ||
133 | <div·class=" | 130 | <div·class="foldopen"·id="foldopen00049"·data-start="{"·data-end="}"> |
131 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno"><a·class="line"·href="a00938.html#af98e75a6ec1abfe7eae9b5cf6a10201d">···49</a></span>······<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a00938.html#af98e75a6ec1abfe7eae9b5cf6a10201d">equals</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a00938.html">IntersectionIterator</a>&·iter)<span·class="keyword">·const</span></div> | ||
132 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span><span·class="keyword">······</span>{</div> | ||
133 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>········<span·class="keywordflow">return</span>·iter.index_·==·index_;</div> | ||
134 | <div·class="line"><a·id="l000 | 134 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>······}</div> |
135 | </div> | ||
135 | <div·class="line"><a·id="l0005 | 136 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>·</div> |
137 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>····<span·class="keyword">private</span>:</div> | ||
136 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>··std::vector<Dune::FieldVector<ctype,·dimworld>·>·patch0coords;</div> | ||
137 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>··std::vector<unsigned·int>·patch0entities;</div> | ||
138 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>··std::vector<Dune::GeometryType>·patch0types;</div> | ||
139 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>··std::vector<Dune::FieldVector<ctype,dimworld>·>·patch1coords;</div> | ||
140 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>··std::vector<unsigned·int>·patch1entities;</div> | ||
141 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>··std::vector<Dune::GeometryType>·patch1types;</div> | ||
142 | <div·class="line"><a·id="l0005 | 138 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div> |
139 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>······<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a00926.html">GridGlue</a>*···glue_;</div> | ||
140 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>······<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·index_;</div> | ||
143 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>· | 141 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·</div> |
144 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span> | 142 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>······<a·class="code·hl_class"·href="a00934.html">Intersection</a>·intersection_;</div> |
145 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span> | 143 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>····};</div> |
144 | </div> | ||
146 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>·</div> | 145 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>·</div> |
147 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>··<span·class="comment">// | 146 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>··}·<span·class="comment">//·end·namespace·GridGlue</span></div> |
148 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span> | 147 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>}·<span·class="comment">//·end·namespace·Dune</span></div> |
149 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>··extractGrid(patch<0>(),·patch0coords,·patch0entities,·patch0types);</div> | ||
150 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>··extractGrid(patch<1>(),·patch1coords,·patch1entities,·patch1types);</div> | ||
151 | <div·class="line"><a·id="l0006 | 148 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>·</div> |
149 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span><span·class="preprocessor">#endif·</span><span·class="comment">//·DUNE_GRIDGLUE_ADAPTER_INTERSECTIONITERATOR_HH</span></div> | ||
150 | <div·class="ttc"·id="aa00002_html"><div·class="ttname"><a·href="a00002.html">gridglue.hh</a></div><div·class="ttdoc">Central·component·of·the·module·implementing·the·coupling·of·two·grids.</div></div> | ||
152 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>··std::cout·<<·<span·class="stringliteral">">>>>·rank·"</span>·<<·myrank·<<·<span·class="stringliteral">"·coords:·"</span></div> | ||
153 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>············<<·patch0coords.size()·<<·<span·class="stringliteral">"·and·"</span>·<<·patch1coords.size()·<<·std::endl;</div> | ||
154 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>··std::cout·<<·<span·class="stringliteral">">>>>·rank·"</span>·<<·myrank·<<·<span·class="stringliteral">"·entities:·"</span></div> | ||
Max diff block lines reached; 12472/94747 bytes (13.16%) of diff not shown. |
Offset 8, 585 lines modified | Offset 8, 100 lines modified | ||
8 | Loading... | 8 | Loading... |
9 | Searching... | 9 | Searching... |
10 | No·Matches | 10 | No·Matches |
11 | ····*·dune | 11 | ····*·dune |
12 | ····*·grid-glue | 12 | ····*·grid-glue |
13 | ····*·adapter | 13 | ····*·adapter |
14 | 14 | intersectioniterator.hh | |
15 | Go_to_the_documentation_of_this_file. | 15 | Go_to_the_documentation_of_this_file. |
16 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 16 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
17 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: | 17 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: |
18 | ·3//·SPDX-FileCopyrightInfo:·Copyright·©·DUNE·Project·contributors,·see·file | 18 | ·3//·SPDX-FileCopyrightInfo:·Copyright·©·DUNE·Project·contributors,·see·file |
19 | LICENSE.md·in·module·root | 19 | LICENSE.md·in·module·root |
20 | ·4//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only- | 20 | ·4//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only- |
21 | with-dune-grid-glue-exception | 21 | with-dune-grid-glue-exception |
22 | ·12#ifndef·DUNE_GRIDGLUE_ADAPTER_INTERSECTIONITERATOR_HH | ||
23 | ·13#define·DUNE_GRIDGLUE_ADAPTER_INTERSECTIONITERATOR_HH | ||
22 | ·5/*·IMPLEMENTATION·OF·CLASS·G·R·I·D·G·L·U·E·*/ | ||
23 | ·6 | ||
24 | ·7#include·"intersection.hh" | ||
25 | ·8#include·<vector> | ||
26 | ·9#include·<iterator> | ||
27 | ·10#include·"../gridglue.hh" | ||
28 | ·11#if·HAVE_MPI | ||
29 | ·12#include·"../common/ringcomm.hh" | ||
30 | ·13#endif | ||
31 | ·14 | 24 | ·14 |
32 | ·15#include·<dune/ | 25 | ·15#include·<dune/grid-glue/gridglue.hh> |
33 | ·16 | 26 | ·16 |
34 | ·17namespace·Dune·{ | 27 | ·17namespace·Dune·{ |
35 | ·18namespace·GridGlue·{ | 28 | ·18·namespace·GridGlue·{ |
36 | ·19 | 29 | ·19 |
30 | ·21·template<typename·P0,·typename·P1,·int·inside,·int·outside> | ||
31 | 22·class·IntersectionIterator·: | ||
32 | ·23·public·Dune::ForwardIteratorFacade< | ||
33 | IntersectionIterator<P0,P1,inside,outside>, | ||
34 | ·24·const·Intersection<P0,P1,inside,outside>·> | ||
35 | ·25·{ | ||
36 | ·26·public: | ||
37 | ·27 | ||
38 | 28·typedef·::Dune::GridGlue::GridGlue<P0,·P1>·GridGlue; | ||
39 | 29·typedef·::Dune::GridGlue::Intersection<P0,P1,inside,outside>·Intersection; | ||
40 | ·30 | ||
41 | 31·IntersectionIterator(const·GridGlue·*·glue,·unsigned·int·i) | ||
42 | ·32·:·glue_(glue), | ||
43 | ·33·index_(i), | ||
44 | ·34·intersection_(glue_,·&·glue_->intersections_[index_]) | ||
45 | ·35·{} | ||
46 | ·36 | ||
47 | 37·const·Intersection&·dereference()·const | ||
48 | ·38·{ | ||
49 | ·39·assert(("never·dereference·the·end·iterator"·&& | ||
50 | ·40·index_·!=·glue_->index__sz)); | ||
51 | ·41·return·intersection_; | ||
37 | ·20template<typename·P0,·typename·P1> | ||
38 | 21GridGlue<P0,_P1>::GridGlue(const·std::shared_ptr<·const·GridPatch<0>·>&·gp0, | ||
39 | const·std::shared_ptr<·const·GridPatch<1>·>&·gp1,·const·std:: | ||
40 | shared_ptr<Merger>&·merger) | ||
41 | ·22·:·patches_{gp0,·gp1},·merger_(merger) | ||
42 | ·23{ | ||
43 | ·24#if·HAVE_MPI | ||
44 | ·25·//·if·we·have·only·seq.·meshes·don't·use·parallel·glueing | ||
45 | ·26·if·(gp0->gridView().comm().size()·==·1 | ||
46 | ·27·&&·gp1->gridView().comm().size()·==·1) | ||
47 | ·28·mpicomm_·=·MPI_COMM_SELF; | ||
48 | ·29·else | ||
49 | ·30·mpicomm_·=·MPI_COMM_WORLD; | ||
50 | ·31#endif·//·HAVE_MPI | ||
51 | ·32·std::cout·<<·"GridGlue:·Constructor·succeeded!"·<<·std::endl; | ||
52 | ·33} | ||
53 | ·34 | ||
54 | ·35template<typename·P0,·typename·P1> | ||
55 | 36void·GridGlue<P0,_P1>::build() | ||
56 | ·37{ | ||
57 | ·38·int·myrank·=·0; | ||
58 | ·39#if·HAVE_MPI | ||
59 | ·40·int·commsize·=·1; | ||
60 | ·41·MPI_Comm_rank(mpicomm_,·&myrank); | ||
61 | ·42·MPI_Comm_size(mpicomm_,·&commsize); | ||
62 | ·43#endif·//·HAVE_MPI | ||
63 | ·44 | ||
64 | ·45·//·clear·the·contents·from·the·current·intersections·array | ||
65 | ·46·{ | ||
66 | ·47·std::vector<IntersectionData>·dummy(1);·//·we·need·size·1,·as·we·always | ||
67 | store·data·for·the·end-intersection | ||
68 | ·48·intersections_.swap(dummy); | ||
69 | ·4 | 52 | ·42·} |
53 | ·43 | ||
54 | 44·void·increment() | ||
55 | ·45·{ | ||
56 | ·46·intersection_·=·Intersection(glue_,·&·glue_->intersections_[++index_]); | ||
57 | ·47·} | ||
58 | ·48 | ||
59 | 49·bool·equals(const·IntersectionIterator&·iter)·const | ||
70 | ·50 | 60 | ·50·{ |
71 | ·51·std::vector<Dune::FieldVector<ctype,·dimworld>·>·patch0coords; | ||
72 | ·52·std::vector<unsigned·int>·patch0entities; | ||
73 | ·53·std::vector<Dune::GeometryType>·patch0types; | ||
74 | ·54·std::vector<Dune::FieldVector<ctype,dimworld>·>·patch1coords; | ||
75 | ·55·std::vector<unsigned·int>·patch1entities; | ||
76 | ·56·std::vector<Dune::GeometryType>·patch1types; | ||
77 | ·57 | ||
78 | ·58·/* | ||
79 | ·59·*·extract·global·surface·patchs | ||
80 | · | 61 | ·51·return·iter.index_·==·index_; |
62 | ·52·} | ||
63 | ·53 | ||
64 | ·54·private: | ||
65 | ·55 | ||
66 | ·56·const·GridGlue*·glue_; | ||
67 | ·57·unsigned·int·index_; | ||
68 | ·58 | ||
69 | ·59·Intersection·intersection_; | ||
70 | ·60·}; | ||
81 | ·61 | 71 | ·61 |
82 | ·62·//·retrieve·the·coordinate·and·topology·information·from·the·extractors | ||
83 | ·63·//·and·apply·transformations·if·necessary | ||
84 | ·64·extractGrid(patch<0>(),·patch0coords,·patch0entities,·patch0types); | ||
85 | ·65·extractGrid(patch<1>(),·patch1coords,·patch1entities,·patch1types); | ||
86 | ·66 | ||
87 | ·67·std::cout·<<·">>>>·rank·"·<<·myrank·<<·"·coords:·" | ||
88 | ·68·<<·patch0coords.size()·<<·"·and·"·<<·patch1coords.size()·<<·std::endl; | ||
89 | ·69·std::cout·<<·">>>>·rank·"·<<·myrank·<<·"·entities:·" | ||
90 | ·70·<<·patch0entities.size()·<<·"·and·"·<<·patch1entities.size()·<<·std::endl; | ||
91 | ·71·std::cout·<<·">>>>·rank·"·<<·myrank·<<·"·types:·" | ||
92 | ·72·<<·patch0types.size()·<<·"·and·"·<<·patch1types.size()·<<·std::endl; | ||
93 | ·73 | ||
Max diff block lines reached; 5386/23140 bytes (23.28%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="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:·intersection.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="#define-members">Macros</a>··</div> | ||
79 | ··<div·class="headertitle"><div·class="title"> | 80 | ··<div·class="headertitle"><div·class="title">intersection.hh·File·Reference</div></div> |
80 | </div><!--header--> | 81 | </div><!--header--> |
81 | <div·class="contents"> | 82 | <div·class="contents"> |
82 | <p> | 83 | <p>Model·of·the·Intersection·concept·provided·by·GridGlue.·· |
83 | <a·href="#details">More...</a></p> | 84 | <a·href="#details">More...</a></p> |
84 | <div·class="textblock"><code>#include·< | 85 | <div·class="textblock"><code>#include·<algorithm></code><br·/> |
85 | <code>#include·< | 86 | <code>#include·<optional></code><br·/> |
86 | <code>#include·<type_traits></code><br·/> | ||
87 | <code>#include·< | 87 | <code>#include·<tuple></code><br·/> |
88 | <code>#include·<dune/common/deprecated.hh></code><br·/> | ||
88 | <code>#include·<dune/common/ | 89 | <code>#include·<dune/common/version.hh></code><br·/> |
89 | <code>#include·<dune/geometry/ | 90 | <code>#include·<dune/geometry/affinegeometry.hh></code><br·/> |
90 | <code>#include·<dune/geometry/referenceelements.hh></code><br·/> | 91 | <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 | <code>#include·<<a·class="el"·href="a00002_source.html">dune/grid-glue/gridglue.hh</a>></code><br·/> |
92 | </div> | 93 | </div> |
93 | <p><a·href="a00020_source.html">Go·to·the·source·code·of·this·file.</a></p> | 94 | <p><a·href="a00020_source.html">Go·to·the·source·code·of·this·file.</a></p> |
94 | <table·class="memberdecls"> | 95 | <table·class="memberdecls"> |
95 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 96 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
96 | Classes</h2></td></tr> | 97 | Classes</h2></td></tr> |
98 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00930.html">Dune::GridGlue::IntersectionData<·P0,·P1·></a></td></tr> | ||
99 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">storage·class·for·<a·class="el"·href="a00934.html"·title="The·intersection·of·two·entities·of·the·two·patches·of·a·GridGlue.">Dune::GridGlue::Intersection</a>·related·data··<a·href="a00930.html#details">More...</a><br·/></td></tr> | ||
100 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
101 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00982.html">Dune::GridGlue::IntersectionTraits<·P0,·P1,·inside,·outside·></a></td></tr> | ||
102 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
97 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a009 | 103 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00934.html">Dune::GridGlue::Intersection<·P0,·P1,·I,·O·></a></td></tr> |
98 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight"> | 104 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">The·intersection·of·two·entities·of·the·two·patches·of·a·<a·class="el"·href="a00926.html"·title="sequential·adapter·to·couple·two·grids·at·specified·close·together·boundaries">GridGlue</a>.··<a·href="a00934.html#details">More...</a><br·/></td></tr> |
99 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 105 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
100 | </table><table·class="memberdecls"> | 106 | </table><table·class="memberdecls"> |
101 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 107 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
102 | Namespaces</h2></td></tr> | 108 | 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> | 109 | <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> | 110 | <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> | 111 | <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> | 112 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
113 | </table><table·class="memberdecls"> | ||
114 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="define-members"·name="define-members"></a> | ||
115 | Macros</h2></td></tr> | ||
116 | <tr·class="memitem:aac752eae6e9ad7d1e576f1fe3f7c8a6b"·id="r_aac752eae6e9ad7d1e576f1fe3f7c8a6b"><td·class="memItemLeft"·align="right"·valign="top">#define </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00020.html#aac752eae6e9ad7d1e576f1fe3f7c8a6b">ONLY_SIMPLEX_INTERSECTIONS</a></td></tr> | ||
117 | <tr·class="separator:aac752eae6e9ad7d1e576f1fe3f7c8a6b"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
107 | </table> | 118 | </table> |
108 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> | 119 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> |
109 | <div·class="textblock"><p> | 120 | <div·class="textblock"><p>Model·of·the·Intersection·concept·provided·by·GridGlue.·</p> |
121 | <dl·class="section·author"><dt>Author</dt><dd>Christian·Engwer·</dd></dl> | ||
122 | </div><h2·class="groupheader">Macro·Definition·Documentation</h2> | ||
123 | <a·id="aac752eae6e9ad7d1e576f1fe3f7c8a6b"·name="aac752eae6e9ad7d1e576f1fe3f7c8a6b"></a> | ||
124 | <h2·class="memtitle"><span·class="permalink"><a·href="#aac752eae6e9ad7d1e576f1fe3f7c8a6b">◆ </a></span>ONLY_SIMPLEX_INTERSECTIONS</h2> | ||
125 | <div·class="memitem"> | ||
126 | <div·class="memproto"> | ||
127 | ······<table·class="memname"> | ||
128 | ········<tr> | ||
129 | ··········<td·class="memname">#define·ONLY_SIMPLEX_INTERSECTIONS</td> | ||
130 | ········</tr> | ||
131 | ······</table> | ||
132 | </div><div·class="memdoc"> | ||
133 | </div> | ||
134 | </div> | ||
110 | </div>< | 135 | </div><!--·contents·--> |
111 | <!--·start·footer·part·--> | 136 | <!--·start·footer·part·--> |
112 | <hr·class="footer"/><address·class="footer"><small> | 137 | <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 | 138 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
114 | </small></address> | 139 | </small></address> |
115 | </body> | 140 | </body> |
116 | </html> | 141 | </html> |
Offset 7, 34 lines modified | Offset 7, 47 lines modified | ||
7 | Loading... | 7 | Loading... |
8 | Searching... | 8 | Searching... |
9 | No·Matches | 9 | No·Matches |
10 | ····*·dune | 10 | ····*·dune |
11 | ····*·grid-glue | 11 | ····*·grid-glue |
12 | ····*·adapter | 12 | ····*·adapter |
13 | Classes·|·Namespaces | 13 | Classes·|·Namespaces·|·Macros |
14 | gridgluevtkwriter.hh·File·Reference | ||
15 | 14 | intersection.hh·File·Reference | |
15 | Model·of·the·Intersection·concept·provided·by·GridGlue.·More... | ||
16 | #include·<algorithm> | ||
17 | #include·<optional> | ||
16 | #include·< | 18 | #include·<tuple> |
19 | #include·<dune/common/deprecated.hh> | ||
17 | #include·<iomanip> | ||
18 | #include·<type_traits> | ||
19 | #include·<vector> | ||
20 | #include·<dune/common/ | 20 | #include·<dune/common/version.hh> |
21 | #include·<dune/geometry/ | 21 | #include·<dune/geometry/affinegeometry.hh> |
22 | #include·<dune/geometry/referenceelements.hh> | 22 | #include·<dune/geometry/referenceelements.hh> |
23 | #include·<dune/grid-glue/gridglue.hh> | 23 | #include·<dune/grid-glue/gridglue.hh> |
24 | Go_to_the_source_code_of_this_file. | 24 | Go_to_the_source_code_of_this_file. |
25 | ·Classes | 25 | ·Classes |
26 | class· Dune::GridGlue::GridGlueVtkWriter | ||
27 | 26 | ·class· Dune::GridGlue::IntersectionData<_P0,_P1_> | |
27 | ·······storage·class·for·Dune::GridGlue::Intersection·related·data·More... | ||
28 | |||
29 | struct· Dune::GridGlue::IntersectionTraits<_P0,_P1,_inside,_outside_> | ||
30 | |||
31 | ·class· Dune::GridGlue::Intersection<_P0,_P1,_I,_O_> | ||
32 | ·······The·intersection·of·two·entities·of·the·two·patches·of·a·GridGlue. | ||
28 | ········More... | 33 | ·········More... |
29 | 34 | ||
30 | ·Namespaces | 35 | ·Namespaces |
31 | namespace· Dune | 36 | namespace· Dune |
32 | 37 | ||
33 | namespace· Dune::GridGlue | 38 | namespace· Dune::GridGlue |
34 | 39 | ||
40 | ·Macros | ||
41 | #define ONLY_SIMPLEX_INTERSECTIONS | ||
42 | |||
35 | *****·Detailed·Description·***** | 43 | *****·Detailed·Description·***** |
36 | 44 | Model·of·the·Intersection·concept·provided·by·GridGlue. | |
45 | ··Author | ||
46 | ······Christian·Engwer | ||
47 | *****·Macro·Definition·Documentation·***** | ||
48 | *****·◆ ONLY_SIMPLEX_INTERSECTIONS·***** | ||
49 | #define·ONLY_SIMPLEX_INTERSECTIONS | ||
37 | =============================================================================== | 50 | =============================================================================== |
38 | ·····Generated·by [doxygen]·1.9.8 | 51 | ·····Generated·by [doxygen]·1.9.8 |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-grid-glue:· | 8 | <title>dune-grid-glue:·intersection.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, 578 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">intersection.hh</div></div> |
81 | </div><!--header--> | 81 | </div><!--header--> |
82 | <div·class="contents"> | 82 | <div·class="contents"> |
83 | <a·href="a00020.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 83 | <a·href="a00020.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><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="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#ifndef·DUNE_GRIDGLUE_ADAPTER_INTERSECTION_HH</span></div> |
98 | <div·class="line"><a·id="l000 | 88 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#define·DUNE_GRIDGLUE_ADAPTER_INTERSECTION_HH</span></div> |
99 | <div·class="line"><a·id="l000 | 89 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> |
90 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<algorithm></span></div> | ||
91 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·<optional></span></div> | ||
92 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·<tuple></span></div> | ||
93 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> | ||
94 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</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/version.hh></span></div> | ||
96 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·<dune/geometry/affinegeometry.hh></span></div> | ||
97 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·<dune/geometry/referenceelements.hh></span></div> | ||
98 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·<<a·class="code"·href="a00002.html">dune/grid-glue/gridglue.hh</a>></span></div> | ||
100 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div> | 99 | <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">#in | 100 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno"><a·class="line"·href="a00020.html#aac752eae6e9ad7d1e576f1fe3f7c8a6b">···24</a></span><span·class="preprocessor">#define·ONLY_SIMPLEX_INTERSECTIONS</span></div> |
102 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span> | 101 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div> |
103 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class=" | 102 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00103.html">Dune</a>·{</div> |
104 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class=" | 103 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>··<span·class="keyword">namespace·</span>GridGlue·{</div> |
105 | <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> |
106 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class=" | 105 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>····<span·class="comment">//·forward·declaration</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="l0003 | 106 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>····<span·class="keyword">template</span><<span·class="keyword">typename</span>·P0,·<span·class="keyword">typename</span>·P1></div> |
107 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>····<span·class="keyword">class·</span>IntersectionIndexSet;</div> | ||
109 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div> | 108 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div> |
109 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>····<span·class="keyword">template</span><<span·class="keyword">typename</span>·P0,·<span·class="keyword">typename</span>·P1></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 | 110 | <div·class="foldopen"·id="foldopen00037"·data-start="{"·data-end="};"> |
116 | <div·class="line"><a·id="l000 | 111 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno"><a·class="line"·href="a00930.html">···37</a></span>····<span·class="keyword">class·</span><a·class="code·hl_class"·href="a00930.html">IntersectionData</a></div> |
112 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>····{</div> | ||
113 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>····<span·class="keyword">public</span>:</div> | ||
114 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno"><a·class="line"·href="a00930.html#a8d1653323f35e2260a07a3da83c3ceb7">···40</a></span>······typedef·::Dune::GridGlue::GridGlue<P0,·P1>·<a·class="code·hl_typedef"·href="a00930.html#a8d1653323f35e2260a07a3da83c3ceb7">GridGlue</a>;</div> | ||
117 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span> | 115 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·</div> |
116 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno"><a·class="line"·href="a00930.html#a0549e226272a2f522a7ed456764d6d17">···42</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="a00930.html#a0549e226272a2f522a7ed456764d6d17">IndexType</a>;</div> | ||
118 | <div·class="line"><a·id="l0004 | 117 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div> |
118 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno"><a·class="line"·href="a00930.html#a2b101a665b912ab2fbd5fd8e95491bec">···45</a></span>······<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_variable"·href="a00930.html#a2b101a665b912ab2fbd5fd8e95491bec">coorddim</a>·=·<a·class="code·hl_variable"·href="a00926.html#a2f6a53feab1f80490763bae3f10f734c">GridGlue::dimworld</a>;</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="l000 | 119 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</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="l000 | 120 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>····<span·class="keyword">private</span>:</div> |
121 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>······<span·class="comment">//·intermediate·quantities</span></div> | ||
122 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>······<span·class="keyword">template</span><<span·class="keywordtype">int</span>·s<span·class="keywordtype">id</span>e></div> | ||
123 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>······<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<span·class="keywordtype">int</span>·dim()·{·<span·class="keywordflow">return</span>·GridGlue::template·GridView<side>::Grid::dimension·-·GridGlue::template·GridPatch<side>::codim;·}</div> | ||
130 | <div·class="line"><a·id="l0005 | 124 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div> |
131 | <div·class="line"><a·id="l0005 | 125 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>····<span·class="keyword">public</span>:</div> |
126 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno"><a·class="line"·href="a00930.html#a8e2218af4a0b1dc1ff24e9244f47de23">···54</a></span>······<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_variable"·href="a00930.html#a8e2218af4a0b1dc1ff24e9244f47de23">mydim</a>·=·dim<0>()·<·dim<1>()·?·dim<0>()·:·dim<1>();</div> | ||
127 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div> | ||
128 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>······<span·class="keyword">template</span><<span·class="keywordtype">int</span>·s<span·class="keywordtype">id</span>e></div> | ||
129 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno"><a·class="line"·href="a00930.html#ab7b5b35cd4e5042fed98bf0ec6c43846">···57</a></span>······<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a00930.html#ab7b5b35cd4e5042fed98bf0ec6c43846">GridLocalGeometry</a>·=·AffineGeometry<</div> | ||
130 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>········<span·class="keyword">typename</span>·GridGlue::template·GridView<side>::ctype,·<a·class="code·hl_variable"·href="a00930.html#a8e2218af4a0b1dc1ff24e9244f47de23">mydim</a>,·GridGlue::template·GridView<side>::dimension>;</div> | ||
132 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>·</div> | 131 | <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="l0006 | 132 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno"><a·class="line"·href="a00930.html#ac74d120721d1eaaba1c52dbe1b35d5c4">···60</a></span>······<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a00930.html#ac74d120721d1eaaba1c52dbe1b35d5c4">Grid0Loc[·...·truncated·by·diffoscope;·len:·232,·SHA:·b53bdebffe134e03214ba1800b599671faa535183d7d58aa9e1c9cea807841a3·...·]</a>;</div> |
133 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno"><a·class="line"·href="a00930.html#a625c298096ae46316eed5d7b235dcf99">···61</a></span>······<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a00930.html#a625c298096ae46316eed5d7b235dcf99">Grid1LocalGeometry</a>·[[deprecated(<span·class="stringliteral">"please·use·GridLocalGeometry<1>·instead"</span>)]]·=·<a·class="code·hl_typedef"·href="a00930.html#ab7b5b35cd4e5042fed98bf0ec6c43846">GridLocalGeometry<1></a>;</div> | ||
135 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div> | 134 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div> |
135 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>······<span·class="keyword">template</span><<span·class="keywordtype">int</span>·s<span·class="keywordtype">id</span>e></div> | ||
136 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno"><a·class="line"·href="a00930.html#a1d1557900c0904d86a048acd96a5728d">···64</a></span>······<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a00930.html#a1d1557900c0904d86a048acd96a5728d">GridGeometry</a>·=·AffineGeometry<</div> | ||
137 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>········<span·class="keyword">typename</span>·GridGlue::template·GridView<side>::ctype,·<a·class="code·hl_variable"·href="a00930.html#a8e2218af4a0b1dc1ff24e9244f47de23">mydim</a>,·GridGlue::template·GridView<side>::dimensionworld>;</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="l0006 | 138 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div> |
141 | <div·class="line"><a·id="l0006 | 139 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno"><a·class="line"·href="a00930.html#a321b26a0c3b883d63a4f25937d727324">···67</a></span>······<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a00930.html#a321b26a0c3b883d63a4f25937d727324">Grid0Geo[·...·truncated·by·diffoscope;·len:·221,·SHA:·6153a964074f7e0f578019100e702e8c41cac0a08ab23945ff0a3e9e7a652947·...·];</div> |
140 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno"><a·class="line"·href="a00930.html#add631c80de4bcfba651130a460de019a">···68</a></span>······<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a00930.html#add631c80de4bcfba651130a460de019a">Grid1Geometry</a>·[[deprecated(<span·class="stringliteral">"please·use·GridGeometry<1>·instead"</span>)]]·=·<a·class="code·hl_typedef"·href="a00930.html#a1d1557900c0904d86a048acd96a5728d">GridGeometry<1></a>;</div> | ||
142 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div> | 141 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div> |
142 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>······<span·class="keyword">template</span><<span·class="keywordtype">int</span>·s<span·class="keywordtype">id</span>e></div> | ||
143 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno"><a·class="line"·href="a00930.html#a3fff7e715ab7d74a2fd7a88ea45d38b3">···71</a></span>······<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a00930.html#a3fff7e715ab7d74a2fd7a88ea45d38b3">GridIndexType</a>·=·<span·class="keyword">typename</span>·GridGlue::template·GridView<side>::IndexSet::IndexType;</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="l0007 | 144 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</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="l0007 | 145 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno"><a·class="line"·href="a00930.html#ae68adae76b29bc42ccbb330c4736f0f9">···73</a></span>······<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a00930.html#ae68adae76b29bc42ccbb330c4736f0f9">Grid0Ind[·...·truncated·by·diffoscope;·len:·224,·SHA:·a724db029ac58112e882104d6b68dc5f1861c1e488deecc0601cbe88297162c6·...·];</div> |
146 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno"><a·class="line"·href="a00930.html#ad285335c520be8194b168386377dd8b3">···74</a></span>······<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a00930.html#ad285335c520be8194b168386377dd8b3">Grid1IndexType</a>·[[deprecated(<span·class="stringliteral">"please·use·GridIndexType<1>·instead"</span>)]]·=·<a·class="code·hl_typedef"·href="a00930.html#a3fff7e715ab7d74a2fd7a88ea45d38b3">GridIndexType<1></a>;</div> | ||
150 | <div·class="line"><a·id="l0007 | 147 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>·</div> |
148 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>······<a·class="code·hl_function"·href="a00930.html#ae92bcc47327a79743c601c91a5bc9944">IntersectionData</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a00926.html">GridGlue</a>&·glue,·<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·mergeindex,·<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·offset,·<span·class="keywordtype">bool</span>·grid0local,·<span·class="keywordtype">bool</span>·grid1local);</div> | ||
Max diff block lines reached; 131058/165159 bytes (79.35%) of diff not shown. |
Offset 8, 350 lines modified | Offset 8, 755 lines modified | ||
8 | Loading... | 8 | Loading... |
9 | Searching... | 9 | Searching... |
10 | No·Matches | 10 | No·Matches |
11 | ····*·dune | 11 | ····*·dune |
12 | ····*·grid-glue | 12 | ····*·grid-glue |
13 | ····*·adapter | 13 | ····*·adapter |
14 | 14 | intersection.hh | |
15 | Go_to_the_documentation_of_this_file. | 15 | Go_to_the_documentation_of_this_file. |
16 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 16 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
17 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: | 17 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: |
18 | ·3//·SPDX-FileCopyrightInfo:·Copyright·©·DUNE·Project·contributors,·see·file | 18 | ·3//·SPDX-FileCopyrightInfo:·Copyright·©·DUNE·Project·contributors,·see·file |
19 | LICENSE.md·in·module·root | 19 | LICENSE.md·in·module·root |
20 | ·4//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only- | 20 | ·4//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only- |
21 | with-dune-grid-glue-exception | 21 | with-dune-grid-glue-exception |
22 | ·5/* | ||
23 | ·6·*·Filename:·GridGlueVtkWriter.hh | ||
24 | ·7·*·Version:·1.0 | ||
25 | ·8·*·Created·on:·Mar·5,·2009 | ||
26 | ·9·*·Author:·Gerrit·Buse | ||
27 | ·10·*·--------------------------------- | ||
28 | ·11·*·Project:·dune-grid-glue | ||
29 | ·12·*·Description:·Class·thought·to·make·graphical·debugging·of·couplings | ||
30 | easier. | ||
31 | ·13·* | ||
32 | ·14·*/ | ||
33 | · | 22 | ·11#ifndef·DUNE_GRIDGLUE_ADAPTER_INTERSECTION_HH |
34 | · | 23 | ·12#define·DUNE_GRIDGLUE_ADAPTER_INTERSECTION_HH |
35 | · | 24 | ·13 |
25 | ·14#include·<algorithm> | ||
26 | ·15#include·<optional> | ||
27 | ·16#include·<tuple> | ||
28 | ·17 | ||
29 | ·18#include·<dune/common/deprecated.hh> | ||
30 | ·19#include·<dune/common/version.hh> | ||
31 | ·20#include·<dune/geometry/affinegeometry.hh> | ||
32 | ·21#include·<dune/geometry/referenceelements.hh> | ||
33 | ·22#include·<dune/grid-glue/gridglue.hh> | ||
36 | ·23 | 34 | ·23 |
37 | ·24#include·<fstream> | ||
38 | ·25#include·<iomanip> | ||
39 | ·26#include·<type_traits> | ||
40 | 35 | 24#define·ONLY_SIMPLEX_INTERSECTIONS | |
36 | ·25 | ||
37 | ·26namespace·Dune·{ | ||
38 | ·27·namespace·GridGlue·{ | ||
41 | ·28 | 39 | ·28 |
42 | ·29#include·<dune/common/classname.hh> | ||
43 | ·30#include·<dune/geometry/type.hh> | ||
44 | · | 40 | ·29·//·forward·declaration |
41 | ·30·template<typename·P0,·typename·P1> | ||
42 | ·31·class·IntersectionIndexSet; | ||
45 | ·32 | 43 | ·32 |
44 | ·36·template<typename·P0,·typename·P1> | ||
45 | 37·class·IntersectionData | ||
46 | ·38·{ | ||
47 | ·39·public: | ||
48 | 40·typedef·::Dune::GridGlue::GridGlue<P0,·P1>·GridGlue; | ||
46 | ·33#include·<dune/grid-glue/gridglue.hh> | ||
47 | ·34 | ||
48 | ·35namespace·Dune·{ | ||
49 | ·36namespace·GridGlue·{ | ||
50 | ·37 | ||
51 | 40class·GridGlueVtkWriter | ||
52 | ·41 | 49 | ·41 |
53 | ·42 | ||
54 | ·46·template·<class·Glue,·int·side> | ||
55 | ·47·static·void·writeExtractedPart(const·Glue&·glue,·const·std::string& | ||
56 | filename) | ||
57 | ·48·{ | ||
58 | ·49·static_assert((side==0·||·side==1),·"'side'·can·only·be·0·or·1"); | ||
59 | ·50 | ||
60 | ·51·std::ofstream·fgrid; | ||
61 | ·52 | ||
62 | ·53·fgrid.open(filename.c_str()); | ||
63 | ·54 | ||
64 | ·55·using·GridView·=·typename·Glue::template·GridView<side>; | ||
65 | ·56·using·Extractor·=·typename·Glue::template·GridPatch<side>; | ||
66 | ·57 | ||
67 | 50 | 42·typedef·typename·GridGlue::IndexType·IndexType; | |
51 | ·43 | ||
52 | 45·static·constexpr·int·coorddim·=·GridGlue::dimworld; | ||
53 | ·46 | ||
54 | ·47·private: | ||
55 | ·48·//·intermediate·quantities | ||
56 | ·49·template<int·side> | ||
57 | ·50·static·constexpr·int·dim()·{·return·GridGlue::template·GridView<side>:: | ||
58 | Grid::dimension·-·GridGlue::template·GridPatch<side>::codim;·} | ||
59 | ·51 | ||
60 | ·52·public: | ||
61 | 54·static·constexpr·int·mydim·=·dim<0>()·<·dim<1>()·?·dim<0>()·:·dim<1>(); | ||
62 | ·55 | ||
63 | ·56·template<int·side> | ||
64 | 57·using·GridLocalGeometry·=·AffineGeometry< | ||
65 | ·58·typename·GridGlue::template·GridView<side>::ctype,·mydim,·GridGlue:: | ||
66 | template·GridView<side>::dimension>; | ||
68 | ·59 | 67 | ·59 |
69 | ·60·const·int·domdimw·=·GridView::dimensionworld; | ||
70 | 68 | 60·using·Grid0LocalGeometry·[[deprecated("please·use·GridLocalGeometry<0> | |
69 | instead")]]·=·GridLocalGeometry<0>; | ||
70 | 61·using·Grid1LocalGeometry·[[deprecated("please·use·GridLocalGeometry<1> | ||
71 | instead")]]·=·GridLocalGeometry<1>; | ||
71 | ·62 | 72 | ·62 |
72 | ·63·//·coordinates·have·to·be·in·R^3·in·the·VTK·format | ||
73 | ·64·std::string·coordinatePadding; | ||
74 | ·65·for·(int·i=domdimw;·i<3;·i++) | ||
75 | ·66·coordinatePadding·+=·"·0"; | ||
76 | ·67 | ||
77 | ·68·fgrid·<<·"#·vtk·DataFile·Version·2.0\nFilename:·"·<<·filename·<<·"\nASCII" | ||
78 | 73 | ·63·template<int·side> | |
74 | 64·using·GridGeometry·=·AffineGeometry< | ||
75 | ·65·typename·GridGlue::template·GridView<side>::ctype,·mydim,·GridGlue:: | ||
76 | template·GridView<side>::dimensionworld>; | ||
77 | ·66 | ||
78 | 67·using·Grid0Geometry·[[deprecated("please·use·GridGeometry<0>·instead")]]·= | ||
79 | GridGeometry<0>; | ||
80 | 68·using·Grid1Geometry·[[deprecated("please·use·GridGeometry<1>·instead")]]·= | ||
81 | GridGeometry<1>; | ||
79 | ·69 | 82 | ·69 |
80 | ·70·//·WRITE·POINTS | ||
81 | ·71·//·---------------- | ||
82 | ·72·std::vector<typename·Extractor::Coords>·coords; | ||
83 | ·73·glue.template·patch<side>().getCoords(coords); | ||
84 | ·74 | ||
85 | ·75·fgrid·<<·((patchDim==3)·?·"DATASET·UNSTRUCTURED_GRID"·:·"DATASET·POLYDATA") | ||
86 | <<·std::endl; | ||
87 | ·76·fgrid·<<·"POINTS·"·<<·coords.size()·<<·"·"·<<·Dune::className<ctype>()·<< | ||
Max diff block lines reached; 31178/37432 bytes (83.29%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-grid-glue:·r | 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 71, 42 lines modified | Offset 71, 42 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">gridglueamirawriter.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·AmiraMesh·file.·· | ||
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·<sstream></code><br·/> | ||
86 | <code>#include·<type_traits></code><br·/> | ||
84 | </div> | 87 | </div> |
85 | <p><a·href="a00023_source.html">Go·to·the·source·code·of·this·file.</a></p> | 88 | <p><a·href="a00023_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"> | 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><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> | 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> | ||
106 | </div><!--·contents·--> | 105 | </div></div><!--·contents·--> |
107 | <!--·start·footer·part·--> | 106 | <!--·start·footer·part·--> |
108 | <hr·class="footer"/><address·class="footer"><small> | 107 | <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 | 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 |
110 | </small></address> | 109 | </small></address> |
111 | </body> | 110 | </body> |
112 | </html> | 111 | </html> |
Offset 7, 28 lines modified | Offset 7, 29 lines modified | ||
7 | Loading... | 7 | Loading... |
8 | Searching... | 8 | Searching... |
9 | No·Matches | 9 | No·Matches |
10 | ····*·dune | 10 | ····*·dune |
11 | ····*·grid-glue | 11 | ····*·grid-glue |
12 | ····*·adapter | 12 | ····*·adapter |
13 | Classes·|·Namespaces | 13 | Classes·|·Namespaces |
14 | rangegenerators.hh·File·Reference | ||
15 | 14 | gridglueamirawriter.hh·File·Reference | |
15 | Write·all·remote·intersections·to·a·AmiraMesh·file.·More... | ||
16 | #include·<fstream> | ||
17 | #include·<sstream> | ||
18 | #include·<type_traits> | ||
16 | Go_to_the_source_code_of_this_file. | 19 | Go_to_the_source_code_of_this_file. |
17 | ·Classes | 20 | ·Classes |
18 | 21 | class· Dune::GridGlue::GridGlueAmiraWriter | |
22 | ······Write·remote·intersections·to·a·AmiraMesh·file·for·debugging·purposes. | ||
23 | ········More... | ||
19 | 24 | ||
20 | ·Namespaces | 25 | ·Namespaces |
21 | namespace· Dune | 26 | namespace· Dune |
22 | 27 | ||
23 | namespace· Dune::GridGlue | 28 | namespace· Dune::GridGlue |
24 | 29 | ||
30 | *****·Detailed·Description·***** | ||
31 | Write·all·remote·intersections·to·a·AmiraMesh·file. | ||
25 | ·Functions | ||
26 | template<...·> | ||
27 | IteratorRange<...·> Dune::GridGlue::intersections·(const·GridGlue<...·>·&glue, | ||
28 | ·····················const·Reverse<...·>·&reverse=!reversed) | ||
29 | ···················Iterate·over·all·intersections·of·a·GridGlue. | ||
30 | |||
31 | =============================================================================== | 32 | =============================================================================== |
32 | ·····Generated·by [doxygen]·1.9.8 | 33 | ·····Generated·by [doxygen]·1.9.8 |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-grid-glue:·r | 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, 78 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">r | 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="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">//·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="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> | ||
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> | 87 | <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=" | 88 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<fstream></span></div> |
89 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<sstream></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> | ||
95 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno"> | 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> |
96 | <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> |
97 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span> | 94 | <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="foldopen0002 | 95 | <div·class="foldopen"·id="foldopen00020"·data-start="{"·data-end="};"> |
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> | ||
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="l0002 | 97 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>{</div> |
106 | </div> | ||
107 | <div·class="line"><a·id="l0002 | 98 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div> |
108 | <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> | ||
109 | <div·class="line"><a·id="l0002 | 101 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>··{</div> |
110 | <div·class="line"><a·id="l000 | 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> |
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> | ||
111 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div> | 105 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div> |
106 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>····fgrid.open(filename.c_str());</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="l000 | 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> | ||
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> | ||
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="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</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> | ||
118 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div> | ||
116 | <div·class="line"><a·id="l000 | 119 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>····<span·class="keywordflow">if</span>·(dim==3)·{</div> |
117 | <div·class="line"><a·id="l000 | 120 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</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> | ||
118 | <div·class="line"><a·id="l000 | 134 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>·</div> |
119 | <div·class="line"><a·id="l000 | 135 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>······<span·class="comment">//·////////////////////////////////////////////</span></div> |
120 | <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> | ||
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> | ||
121 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>·</div> | 148 | <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="l0007 | 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> | ||
125 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span> | 152 | <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="l0008 | 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> | ||
Max diff block lines reached; 3251/35702 bytes (9.11%) of diff not shown. |
Offset 8, 89 lines modified | Offset 8, 166 lines modified | ||
8 | Loading... | 8 | Loading... |
9 | Searching... | 9 | Searching... |
10 | No·Matches | 10 | No·Matches |
11 | ····*·dune | 11 | ····*·dune |
12 | ····*·grid-glue | 12 | ····*·grid-glue |
13 | ····*·adapter | 13 | ····*·adapter |
14 | r | 14 | gridglueamirawriter.hh |
15 | Go_to_the_documentation_of_this_file. | 15 | Go_to_the_documentation_of_this_file. |
16 | ·1//·SPDX-FileCopyrightInfo:·Copyright·©·DUNE·Project·contributors,·see·file | 16 | ·1//·SPDX-FileCopyrightInfo:·Copyright·©·DUNE·Project·contributors,·see·file |
17 | LICENSE.md·in·module·root | 17 | LICENSE.md·in·module·root |
18 | ·2//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only- | 18 | ·2//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only- |
19 | with-dune-grid-glue-exception | 19 | with-dune-grid-glue-exception |
20 | ·8#ifndef·DUNE_GRIDGLUE_ADAPTER_GRIDGLUEAMIRAWRITER_HH | ||
21 | ·9#define·DUNE_GRIDGLUE_ADAPTER_GRIDGLUEAMIRAWRITER_HH | ||
20 | ·3#ifndef·DUNE_GRIDGLUE_ADAPTER_RANGEGENERATORS_HH | ||
21 | ·4#define·DUNE_GRIDGLUE_ADAPTER_RANGEGENERATORS_HH | ||
22 | ·5 | ||
23 | ·6#include·<dune/common/iteratorrange.hh> | ||
24 | ·7 | ||
25 | ·8namespace·Dune·{ | ||
26 | ·9namespace·GridGlue·{ | ||
27 | ·10 | 22 | ·10 |
28 | ·14template<bool·reverse> | ||
29 | 15struct·Reverse | ||
30 | ·1 | 23 | ·11#include·<fstream> |
24 | ·12#include·<sstream> | ||
25 | ·13#include·<type_traits> | ||
26 | ·14 | ||
27 | ·15namespace·Dune·{ | ||
28 | ·16namespace·GridGlue·{ | ||
31 | ·17 | 29 | ·17 |
32 | 18·typedef·Reverse·type; | ||
33 | ·19 | ||
34 | ·20·constexpr | ||
35 | 21·Reverse<!reverse>·operator!()·const | ||
36 | ·22·{·return·{};·} | ||
37 | ·23}; | ||
38 | ·24 | ||
39 | ·25#ifdef·DOXYGEN | ||
40 | ·26 | ||
41 | 30 | 20class·GridGlueAmiraWriter | |
31 | ·21{ | ||
32 | ·22 | ||
33 | ·26·template·<class·Glue,·int·side> | ||
34 | ·27·static·void·writeIntersections(const·Glue&·glue,·const·std::string& | ||
35 | filename) | ||
36 | ·28·{ | ||
37 | ·29·static_assert((side==0·||·side==1),·"'side'·can·only·be·0·or·1"); | ||
38 | ·30 | ||
39 | ·31·std::ofstream·fgrid; | ||
42 | ·32 | 40 | ·32 |
43 | ·66template<...> | ||
44 | ·67IteratorRange<...> | ||
45 | 68intersections(const·GridGlue<...>&·glue,·const·Reverse<...>&·reverse·= | ||
46 | !reversed); | ||
47 | ·69 | ||
48 | ·70#else | ||
49 | ·71 | ||
50 | ·72namespace·{ | ||
51 | ·73const·Reverse<true>·reversed·=·{}; | ||
52 | · | 41 | ·33·fgrid.open(filename.c_str()); |
42 | ·34 | ||
43 | ·35·using·GridView·=·typename·Glue::template·GridView<side>; | ||
44 | ·36·const·int·dim·=·GridView::dimension; | ||
45 | ·37·const·int·domdimw·=·GridView::dimensionworld; | ||
46 | ·38 | ||
47 | ·39·//·coordinates·have·to·be·in·R^3·in·the·VTK·format | ||
48 | ·40·std::string·coordinatePadding; | ||
49 | ·41·for·(int·i=domdimw;·i<3;·i++) | ||
50 | ·42·coordinatePadding·+=·"·0"; | ||
51 | ·43 | ||
52 | ·44·int·overlaps·=·glue.size(); | ||
53 | ·45 | ||
54 | ·46·if·(dim==3)·{ | ||
55 | ·47 | ||
56 | ·48·fgrid·<<·"#·HyperSurface·0.1·ASCII·\n"·<<·std::endl; | ||
57 | ·49·fgrid<<"\n"; | ||
58 | ·50·fgrid<<"Parameters·{\n"; | ||
59 | ·51·fgrid<<"·Materials·{\n"; | ||
60 | ·52·fgrid<<"·outside·{\n"; | ||
61 | ·53·fgrid<<"·Id·0\n"; | ||
62 | ·54·fgrid<<"·}\n"; | ||
63 | ·55·fgrid<<"·inside·{\n"; | ||
64 | ·56·fgrid<<"·Id·1\n"; | ||
65 | ·57·fgrid<<"·}\n"; | ||
66 | ·58·fgrid<<"·}\n"; | ||
67 | ·59·fgrid<<"\n"; | ||
68 | ·60·fgrid<<"}\n"; | ||
69 | ·61 | ||
70 | ·62·//·//////////////////////////////////////////// | ||
71 | ·63·//·Write·vertices | ||
72 | ·64·//·//////////////////////////////////////////// | ||
73 | ·65 | ||
74 | ·66·//use·dim·and·not·dim+1 | ||
75 | ·67·fgrid<<"\nVertices·"<<·overlaps*(dim)<<"\n"; | ||
76 | ·68·auto·isEnd·=·glue.template·iend<side>(); | ||
77 | ·69·for·(auto·isIt·=·glue.template·ibegin<side>();·isIt·!=·isEnd;·++isIt) | ||
78 | ·70·{ | ||
79 | ·71·const·auto&·geometry·=·isIt->geometry(); | ||
80 | ·72·for·(int·i·=·0;·i·<·geometry.corners();·++i) | ||
81 | ·73·fgrid·<<·geometry.corner(i)·<<·coordinatePadding·<<·std::endl; | ||
82 | ·74·} | ||
53 | ·75 | 83 | ·75 |
84 | ·76·//·//////////////////////////////////////////// | ||
85 | ·77·//·Write·triangles | ||
86 | ·78·//·//////////////////////////////////////////// | ||
54 | ·76template<typename·P0,·typename·P1,·bool·reverse·=·false> | ||
55 | ·77IteratorRange<·typename·GridGlue<P0,·P1>::template | ||
56 | IntersectionIterator<reverse·?·1·:·0>·> | ||
57 | ·78intersections(const·GridGlue<P0,·P1>&·glue,·const·Reverse<reverse>&·=·{}) | ||
58 | ·79 | 87 | ·79 |
59 | ·80·const·static·int·side·=·reverse·?·1·:·0; | ||
60 | ·81·return·{glue.template·ibegin<side>(),·glue.template·iend<side>()}; | ||
61 | ·82} | ||
62 | ·83 | ||
63 | ·84#endif·//·DOXYGEN | ||
64 | ·8 | 88 | ·80·fgrid<<"NBranchingPoints·0\n"; |
89 | ·81·fgrid<<"NVerticesOnCurves·0\n"; | ||
90 | ·82·fgrid<<"BoundaryCurves·0\n"; | ||
91 | ·83·fgrid<<"Patches·1\n"; | ||
92 | ·84·fgrid<<"{\n"; | ||
93 | ·85·fgrid<<"InnerRegion·inside\n"; | ||
94 | ·86·fgrid<<"OuterRegion·outside\n"; | ||
95 | ·87·fgrid<<"BoundaryID·0\n"; | ||
96 | ·88·fgrid<<"BranchingPoints·0"; | ||
97 | ·89·fgrid<<"\n"; | ||
Max diff block lines reached; 1316/6996 bytes (18.81%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-grid-glue:· | 8 | <title>dune-grid-glue:·gridglue.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, 35 lines modified | Offset 70, 40 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_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>·| | ||
78 | <a·href="#namespaces">Namespaces</a>· | 77 | <a·href="#namespaces">Namespaces</a>·| |
78 | <a·href="#func-members">Functions</a>··</div> | ||
79 | ··<div·class="headertitle"><div·class="title"> | 79 | ··<div·class="headertitle"><div·class="title">gridglue.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·& | 82 | <div·class="textblock"><code>#include·"<a·class="el"·href="a00020_source.html">intersection.hh</a>"</code><br·/> |
83 | <code>#include·<vector></code><br·/> | ||
84 | <code>#include·<iterator></code><br·/> | ||
83 | <code>#include·& | 85 | <code>#include·"<a·class="el"·href="a00002_source.html">../gridglue.hh</a>"</code><br·/> |
86 | <code>#include·"<a·class="el"·href="a00035_source.html">../common/ringcomm.hh</a>"</code><br·/> | ||
87 | <code>#include·<dune/common/unused.hh></code><br·/> | ||
84 | </div> | 88 | </div> |
85 | <p><a·href="a00026_source.html">Go·to·the·source·code·of·this·file.</a></p> | 89 | <p><a·href="a00026_source.html">Go·to·the·source·code·of·this·file.</a></p> |
86 | <table·class="memberdecls"> | 90 | <table·class="memberdecls"> |
87 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | ||
88 | Classes</h2></td></tr> | ||
89 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00942.html">Dune::GridGlue::IntersectionIndexSet<·P0,·P1·></a></td></tr> | ||
90 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
91 | </table><table·class="memberdecls"> | ||
92 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 91 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
93 | Namespaces</h2></td></tr> | 92 | 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> | 93 | <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> | 94 | <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> | 95 | <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> | 96 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
97 | </table><table·class="memberdecls"> | ||
98 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> | ||
99 | Functions</h2></td></tr> | ||
100 | <tr·class="memitem:ac943b51eb586602f1cfd101f30562e10"·id="r_ac943b51eb586602f1cfd101f30562e10"><td·class="memTemplParams"·colspan="2">template<typename·T·>·</td></tr> | ||
101 | <tr·class="memitem:ac943b51eb586602f1cfd101f30562e10"><td·class="memTemplItemLeft"·align="right"·valign="top">void </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00104.html#ac943b51eb586602f1cfd101f30562e10">Dune::GridGlue::printVector</a>·(const·std::vector<·T·>·&v,·std::string·name,·int·rank)</td></tr> | ||
102 | <tr·class="separator:ac943b51eb586602f1cfd101f30562e10"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
98 | </table> | 103 | </table> |
99 | </div><!--·contents·--> | 104 | </div><!--·contents·--> |
100 | <!--·start·footer·part·--> | 105 | <!--·start·footer·part·--> |
101 | <hr·class="footer"/><address·class="footer"><small> | 106 | <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 | 107 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
103 | </small></address> | 108 | </small></address> |
104 | </body> | 109 | </body> |
Offset 7, 23 lines modified | Offset 7, 29 lines modified | ||
7 | Loading... | 7 | Loading... |
8 | Searching... | 8 | Searching... |
9 | No·Matches | 9 | No·Matches |
10 | ····*·dune | 10 | ····*·dune |
11 | ····*·grid-glue | 11 | ····*·grid-glue |
12 | ····*·adapter | 12 | ····*·adapter |
13 | Classes·|·Namespaces | ||
14 | intersectionindexset.hh·File·Reference | ||
15 | #include·<dune/grid-glue/gridglue.hh> | ||
16 | 13 | Namespaces·|·Functions | |
14 | gridglue.cc·File·Reference | ||
15 | #include·"intersection.hh" | ||
16 | #include·<vector> | ||
17 | #include·<iterator> | ||
18 | #include·"../gridglue.hh" | ||
19 | #include·"../common/ringcomm.hh" | ||
20 | #include·<dune/common/unused.hh> | ||
17 | Go_to_the_source_code_of_this_file. | 21 | Go_to_the_source_code_of_this_file. |
18 | ·Classes | ||
19 | class· Dune::GridGlue::IntersectionIndexSet<_P0,_P1_> | ||
20 | |||
21 | ·Namespaces | 22 | ·Namespaces |
22 | namespace· Dune | 23 | namespace· Dune |
23 | 24 | ||
24 | namespace· Dune::GridGlue | 25 | namespace· Dune::GridGlue |
25 | 26 | ||
27 | ·Functions | ||
28 | template<typename·T·> | ||
29 | void Dune::GridGlue::printVector·(const·std::vector<·T·>·&v,·std::string·name, | ||
30 | ······int·rank) | ||
31 | |||
26 | =============================================================================== | 32 | =============================================================================== |
27 | ·····Generated·by [doxygen]·1.9.8 | 33 | ·····Generated·by [doxygen]·1.9.8 |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-grid-glue:· | 8 | <title>dune-grid-glue:·gridglue.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, 87 lines modified | Offset 74, 502 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">gridglue.cc</div></div> |
81 | </div><!--header--> | 81 | </div><!--header--> |
82 | <div·class="contents"> | 82 | <div·class="contents"> |
83 | <a·href="a00026.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno"> | 83 | <a·href="a00026.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
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">/*···IMPLEMENTATION·OF·CLASS···G·R·I·D··G·L·U·E···*/</span></div> | ||
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="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="l0000 | 88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> |
88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><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·& | 89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#include·"<a·class="code"·href="a00020.html">intersection.hh</a>"</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><span·class="preprocessor">#include·<vector></span></div> |
91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#i | 91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·<iterator></span></div> |
92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·"../gridglue.hh"</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="l0001 | 93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#if·HAVE_MPI</span></div> |
94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·"../common/ringcomm.hh"</span></div> | ||
95 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#endif</span></div> | 95 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#endif</span></div> |
96 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div> | 96 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div> |
97 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·<dune/common/unused.hh></span></div> | ||
98 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div> | ||
97 | <div·class="line"><a·id="l0001 | 99 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00103.html">Dune</a>·{</div> |
98 | <div·class="line"><a·id="l0001 | 100 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="keyword">namespace·</span>GridGlue·{</div> |
99 | <div·class="line"><a·id="l0001 | 101 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> |
100 | <div·class="line"><a·id="l000 | 102 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</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 | 103 | <div·class="foldopen"·id="foldopen00021"·data-start="{"·data-end="}"> |
102 | <div·class="line"><a·id="l000 | 104 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno"><a·class="line"·href="a00926.html#a3c401eb6ea4a2f5909c3d6f54be3f84d">···21</a></span><a·class="code·hl_class"·href="a00926.html">GridGlue<P0,·P1>::GridGlue</a>(<span·class="keyword">const</span>·std::shared_[·...·truncated·by·diffoscope;·len:·446,·SHA:·632cd66c43b426b58debd395c48f74fb981b3de8478826d96419c71cb2f1c928·...·]</div> |
103 | <div·class="line"><a·id="l0002 | 105 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>··:·patches_{gp0,·gp1},·merger_(merger)</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="l00023"·name="l00023"></a><span·class="lineno">···23</span> | 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="preprocessor">#if·HAVE_MPI</span></div> | ||
108 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>··<span·class="comment">//·if·we·have·only·seq.·meshes·don't·use·parallel·glueing</span></div> | ||
109 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>··<span·class="keywordflow">if</span>·(gp0->gridView().comm().size()·==·1</div> | ||
110 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>······&&·gp1->gridView().comm().size()·==·1)</div> | ||
111 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>····mpicomm_·=·MPI_COMM_SELF;</div> | ||
107 | <div·class="line"><a·id="l0002 | 112 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>··<span·class="keywordflow">else</span></div> |
108 | <div·class="line"><a·id="l000 | 113 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>····mpicomm_·=·MPI_COMM_WORLD;</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="l000 | 114 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#endif·</span><span·class="comment">//·HAVE_MPI</span></div> |
115 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>··std::cout·<<·<span·class="stringliteral">"GridGlue:·Constructor·succeeded!"</span>·<<·std::endl;</div> | ||
111 | <div·class="line"><a·id="l0003 | 116 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</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> | ||
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="l00037"·name="l00037"></a><span·class="lineno">···37</span>············}</div> | ||
118 | </div> | 117 | </div> |
119 | <div·class="line"><a·id="l0003 | 118 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div> |
119 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="keyword">template</span><<span·class="keyword">typename</span>·P0,·<span·class="keyword">typename</span>·P1></div> | ||
120 | <div·class="foldopen"·id="foldopen000 | 120 | <div·class="foldopen"·id="foldopen00036"·data-start="{"·data-end="}"> |
121 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno"><a·class="line"·href="a00926.html#a5b6569010e6daca0427036a725b47e38">···36</a></span><span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a00926.html#a5b6569010e6daca0427036a725b47e38">GridGlue<P0,·P1>::build</a>()</div> | ||
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="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> | ||
124 | <div·class="line"><a·id="l000 | 122 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>{</div> |
125 | </div> | 123 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>··<span·class="keywordtype">int</span>·myrank·=·0;</div> |
124 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span><span·class="preprocessor">#if·HAVE_MPI</span></div> | ||
125 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>··<span·class="keywordtype">int</span>·commsize·=·1;</div> | ||
126 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>··MPI_Comm_rank(mpicomm_,·&myrank);</div> | ||
127 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>··MPI_Comm_size(mpicomm_,·&commsize);</div> | ||
128 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span><span·class="preprocessor">#endif·</span><span·class="comment">//·HAVE_MPI</span></div> | ||
126 | <div·class="line"><a·id="l0004 | 129 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div> |
127 | <div·class="line"><a·id="l0004 | 130 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>··<span·class="comment">//·clear·the·contents·from·the·current·intersections·array</span></div> |
128 | <div·class="line"><a·id="l0004 | 131 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>··{</div> |
129 | <div·class="line"><a·id="l0004 | 132 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>····std::vector<IntersectionData>·dummy(1);·<span·class="comment">//·we·need·size·1,·as·we·always·store·data·for·the·end-intersection</span></div> |
133 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>····intersections_.swap(dummy);</div> | ||
130 | <div·class="line"><a·id="l000 | 134 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>··}</div> |
131 | <div·class="line"><a·id="l0005 | 135 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</div> |
132 | <div·class="line"><a·id="l0005 | 136 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>··std::vector<Dune::FieldVector<ctype,·dimworld>·>·patch0coords;</div> |
137 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>··std::vector<unsigned·int>·patch0entities;</div> | ||
133 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>·· | 138 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>··std::vector<Dune::GeometryType>·patch0types;</div> |
134 | </div> | 139 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>··std::vector<Dune::FieldVector<ctype,dimworld>·>·patch1coords;</div> |
135 | <div·class="line"><a·id="l0005 | 140 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>··std::vector<unsigned·int>·patch1entities;</div> |
141 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>··std::vector<Dune::GeometryType>·patch1types;</div> | ||
136 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>····}·<span·class="comment">//·end·namespace·GridGlue</span></div> | ||
137 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>}·<span·class="comment">//·end·namespace·Dune</span></div> | ||
138 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div> | 142 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div> |
143 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>··<span·class="comment">/*</span></div> | ||
144 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span><span·class="comment">···*·extract·global·surface·patchs</span></div> | ||
145 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span><span·class="comment">···*/</span></div> | ||
146 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>·</div> | ||
147 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>··<span·class="comment">//·retrieve·the·coordinate·and·topology·information·from·the·extractors</span></div> | ||
148 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>··<span·class="comment">//·and·apply·transformations·if·necessary</span></div> | ||
149 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>··extractGrid(patch<0>(),·patch0coords,·patch0entities,·patch0types);</div> | ||
150 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>··extractGrid(patch<1>(),·patch1coords,·patch1entities,·patch1types);</div> | ||
151 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div> | ||
152 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>··std::cout·<<·<span·class="stringliteral">">>>>·rank·"</span>·<<·myrank·<<·<span·class="stringliteral">"·coords:·"</span></div> | ||
153 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>············<<·patch0coords.size()·<<·<span·class="stringliteral">"·and·"</span>·<<·patch1coords.size()·<<·std::endl;</div> | ||
154 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>··std::cout·<<·<span·class="stringliteral">">>>>·rank·"</span>·<<·myrank·<<·<span·class="stringliteral">"·entities:·"</span></div> | ||
155 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>············<<·patch0entities.size()·<<·<span·class="stringliteral">"·and·"</span>·<<·patch1entities.size()·<<·std::endl;</div> | ||
156 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>··std::cout·<<·<span·class="stringliteral">">>>>·rank·"</span>·<<·myrank·<<·<span·class="stringliteral">"·types:·"</span></div> | ||
157 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>············<<·patch0types.size()·<<·<span·class="stringliteral">"·and·"</span>·<<·patch1types.size()·<<·std::endl;</div> | ||
158 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</div> | ||
159 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span><span·class="preprocessor">#ifdef·WRITE_TO_VTK</span></div> | ||
160 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>··<span·class="keyword">const</span>·<span·class="keywordtype">char</span>·prefix[]·=·<span·class="stringliteral">"GridGlue::Builder::build()·:·"</span>;</div> | ||
161 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>··<span·class="keywordtype">char</span>·patch0surf[256];</div> | ||
162 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>··sprintf(patch0surf,·<span·class="stringliteral">"/tmp/vtk-patch0-test-%i"</span>,·myrank);</div> | ||
163 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>··<span·class="keywordtype">char</span>·patch1surf[256];</div> | ||
164 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>··sprintf(patch1surf,·<span·class="stringliteral">"/tmp/vtk-patch1-test-%i"</span>,·myrank);</div> | ||
Max diff block lines reached; 13014/95717 bytes (13.60%) of diff not shown. |
Offset 8, 106 lines modified | Offset 8, 585 lines modified | ||
8 | Loading... | 8 | Loading... |
9 | Searching... | 9 | Searching... |
10 | No·Matches | 10 | No·Matches |
11 | ····*·dune | 11 | ····*·dune |
12 | ····*·grid-glue | 12 | ····*·grid-glue |
13 | ····*·adapter | 13 | ····*·adapter |
14 | 14 | gridglue.cc | |
15 | Go_to_the_documentation_of_this_file. | 15 | Go_to_the_documentation_of_this_file. |
16 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | ||
17 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: | ||
16 | 18 | ·3//·SPDX-FileCopyrightInfo:·Copyright·©·DUNE·Project·contributors,·see·file | |
17 | LICENSE.md·in·module·root | 19 | LICENSE.md·in·module·root |
18 | · | 20 | ·4//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only- |
19 | with-dune-grid-glue-exception | 21 | with-dune-grid-glue-exception |
22 | ·5/*·IMPLEMENTATION·OF·CLASS·G·R·I·D·G·L·U·E·*/ | ||
23 | ·6 | ||
24 | ·7#include·"intersection.hh" | ||
25 | ·8#include·<vector> | ||
26 | ·9#include·<iterator> | ||
27 | ·10#include·"../gridglue.hh" | ||
28 | ·11#if·HAVE_MPI | ||
29 | ·12#include·"../common/ringcomm.hh" | ||
20 | ·3#ifndef·DUNE_GRIDGLUE_ADAPTER_INTERSECTIONINDEXSET_HH | ||
21 | ·4#define·DUNE_GRIDGLUE_ADAPTER_INTERSECTIONINDEXSET_HH | ||
22 | ·5 | ||
23 | ·6#include·<dune/grid-glue/gridglue.hh> | ||
24 | ·7#include·<dune/grid-glue/adapter/intersection.hh> | ||
25 | ·8 | ||
26 | ·9#ifndef·ONLY_SIMPLEX_INTERSECTIONS | ||
27 | ·10//·we·currently·support·only·one·intersection·type.·If·we·want·to·support | ||
28 | more, | ||
29 | ·11//·we·have·to·think·about·the·semantics·of·our·IndexSet | ||
30 | ·12#error·Not·Implemented | ||
31 | ·13#endif | 30 | ·13#endif |
32 | ·14 | 31 | ·14 |
32 | ·15#include·<dune/common/unused.hh> | ||
33 | ·16 | ||
33 | ·1 | 34 | ·17namespace·Dune·{ |
34 | ·1 | 35 | ·18namespace·GridGlue·{ |
35 | ·1 | 36 | ·19 |
36 | · | 37 | ·20template<typename·P0,·typename·P1> |
37 | 19·class·IntersectionIndexSet | ||
38 | ·20·{ | ||
39 | ·21·friend·class·::Dune::GridGlue::GridGlue<P0,P1>; | ||
40 | 38 | 21GridGlue<P0,_P1>::GridGlue(const·std::shared_ptr<·const·GridPatch<0>·>&·gp0, | |
39 | const·std::shared_ptr<·const·GridPatch<1>·>&·gp1,·const·std:: | ||
40 | shared_ptr<Merger>&·merger) | ||
41 | ·22·:·patches_{gp0,·gp1},·merger_(merger) | ||
41 | ·23 | 42 | ·23{ |
42 | ·24·public: | ||
43 | ·25 | ||
44 | 27·typedef·typename·GridGlue::IndexType·IndexType; | ||
45 | 29·typedef·size_t·SizeType; | ||
46 | ·30 | ||
47 | ·33·template<int·I,·int·O> | ||
48 | 34·IndexType·index·(const·Intersection<P0,P1,I,O>·&·i)·const | ||
49 | ·35·{ | ||
50 | ·36·return·i.i_->index_; | ||
51 | ·37·} | ||
52 | ·38 | ||
53 | 43 | ·24#if·HAVE_MPI | |
44 | ·25·//·if·we·have·only·seq.·meshes·don't·use·parallel·glueing | ||
45 | ·26·if·(gp0->gridView().comm().size()·==·1 | ||
46 | ·27·&&·gp1->gridView().comm().size()·==·1) | ||
47 | ·28·mpicomm_·=·MPI_COMM_SELF; | ||
48 | ·29·else | ||
49 | ·30·mpicomm_·=·MPI_COMM_WORLD; | ||
50 | ·31#endif·//·HAVE_MPI | ||
51 | ·32·std::cout·<<·"GridGlue:·Constructor·succeeded!"·<<·std::endl; | ||
52 | ·33} | ||
53 | ·34 | ||
54 | ·35template<typename·P0,·typename·P1> | ||
55 | 36void·GridGlue<P0,_P1>::build() | ||
56 | ·37{ | ||
57 | ·38·int·myrank·=·0; | ||
58 | ·39#if·HAVE_MPI | ||
59 | ·40·int·commsize·=·1; | ||
60 | ·41·MPI_Comm_rank(mpicomm_,·&myrank); | ||
61 | ·42·MPI_Comm_size(mpicomm_,·&commsize); | ||
62 | ·43#endif·//·HAVE_MPI | ||
63 | ·44 | ||
64 | ·45·//·clear·the·contents·from·the·current·intersections·array | ||
54 | ·4 | 65 | ·46·{ |
55 | ·4 | 66 | ·47·std::vector<IntersectionData>·dummy(1);·//·we·need·size·1,·as·we·always |
67 | store·data·for·the·end-intersection | ||
68 | ·48·intersections_.swap(dummy); | ||
56 | ·4 | 69 | ·49·} |
70 | ·50 | ||
71 | ·51·std::vector<Dune::FieldVector<ctype,·dimworld>·>·patch0coords; | ||
72 | ·52·std::vector<unsigned·int>·patch0entities; | ||
73 | ·53·std::vector<Dune::GeometryType>·patch0types; | ||
74 | ·54·std::vector<Dune::FieldVector<ctype,dimworld>·>·patch1coords; | ||
75 | ·55·std::vector<unsigned·int>·patch1entities; | ||
76 | ·56·std::vector<Dune::GeometryType>·patch1types; | ||
57 | ·45 | ||
58 | ·46·private: | ||
59 | ·47 | ||
60 | ·49·IntersectionIndexSet(const·GridGlue·*·g)·: | ||
61 | ·50·glue_(g)·{} | ||
62 | ·51 | ||
63 | ·52·const·GridGlue·*·glue_; | ||
64 | ·53·}; | ||
65 | ·54 | ||
66 | ·55·}·//·end·namespace·GridGlue | ||
67 | ·56}·//·end·namespace·Dune | ||
68 | ·57 | 77 | ·57 |
69 | ·58#endif·//·DUNE_GRIDGLUE_ADAPTER_INTERSECTIONINDEXSET_HH | ||
70 | gridglue.hh | ||
71 | 78 | ·58·/* | |
79 | ·59·*·extract·global·surface·patchs | ||
80 | ·60·*/ | ||
81 | ·61 | ||
82 | ·62·//·retrieve·the·coordinate·and·topology·information·from·the·extractors | ||
83 | ·63·//·and·apply·transformations·if·necessary | ||
84 | ·64·extractGrid(patch<0>(),·patch0coords,·patch0entities,·patch0types); | ||
85 | ·65·extractGrid(patch<1>(),·patch1coords,·patch1entities,·patch1types); | ||
86 | ·66 | ||
87 | ·67·std::cout·<<·">>>>·rank·"·<<·myrank·<<·"·coords:·" | ||
88 | ·68·<<·patch0coords.size()·<<·"·and·"·<<·patch1coords.size()·<<·std::endl; | ||
89 | ·69·std::cout·<<·">>>>·rank·"·<<·myrank·<<·"·entities:·" | ||
90 | ·70·<<·patch0entities.size()·<<·"·and·"·<<·patch1entities.size()·<<·std::endl; | ||
91 | ·71·std::cout·<<·">>>>·rank·"·<<·myrank·<<·"·types:·" | ||
92 | ·72·<<·patch0types.size()·<<·"·and·"·<<·patch1types.size()·<<·std::endl; | ||
93 | ·73 | ||
94 | ·74#ifdef·WRITE_TO_VTK | ||
95 | ·75·const·char·prefix[]·=·"GridGlue::Builder::build()·:·"; | ||
Max diff block lines reached; 5624/23300 bytes (24.14%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.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 70, 61 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_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>·| |
78 | <a·href="#func-members">Functions</a>··</div> | 79 | <a·href="#func-members">Functions</a>··</div> |
79 | ··<div·class="headertitle"><div·class="title"> | 80 | ··<div·class="headertitle"><div·class="title">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·<fstream></code><br·/> | 83 | <div·class="textblock"><code>#include·<fstream></code><br·/> |
84 | <code>#include·<vector></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·/> | ||
83 | </div> | 88 | </div> |
84 | <p><a·href="a00032_source.html">Go·to·the·source·code·of·this·file.</a></p> | 89 | <p><a·href="a00032_source.html">Go·to·the·source·code·of·this·file.</a></p> |
85 | <table·class="memberdecls"> | 90 | <table·class="memberdecls"> |
91 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | ||
92 | Classes</h2></td></tr> | ||
93 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">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"> | ||
86 | <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> |
87 | Namespaces</h2></td></tr> | 97 | 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> | 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> |
89 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 99 | <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> | 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> |
91 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 101 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
92 | <tr·class="memitem:a0010 | 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> |
93 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 103 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
94 | </table><table·class="memberdecls"> | 104 | </table><table·class="memberdecls"> |
95 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> | 105 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> |
96 | Functions</h2></td></tr> | 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> | ||
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: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:a6 | 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> | ||
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:a | 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> | ||
124 | </table> | 119 | </table> |
125 | </div><!--·contents·--> | 120 | </div><!--·contents·--> |
126 | <!--·start·footer·part·--> | 121 | <!--·start·footer·part·--> |
127 | <hr·class="footer"/><address·class="footer"><small> | 122 | <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 | 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 |
129 | </small></address> | 124 | </small></address> |
130 | </body> | 125 | </body> |
Offset 7, 61 lines modified | Offset 7, 44 lines modified | ||
7 | Loading... | 7 | Loading... |
8 | Searching... | 8 | Searching... |
9 | No·Matches | 9 | No·Matches |
10 | ····*·dune | 10 | ····*·dune |
11 | ····*·grid-glue | 11 | ····*·grid-glue |
12 | ····*·common | 12 | ····*·common |
13 | Namespaces·|·Functions | 13 | Classes·|·Namespaces·|·Functions |
14 | 14 | areawriter_impl.hh·File·Reference | |
15 | #include·<fstream> | 15 | #include·<fstream> |
16 | #include·<vector> | ||
17 | #include·<dune/common/fvector.hh> | ||
18 | #include·<dune/geometry/type.hh> | ||
19 | #include·<dune/grid/common/mcmgmapper.hh> | ||
16 | Go_to_the_source_code_of_this_file. | 20 | Go_to_the_source_code_of_this_file. |
21 | ·Classes | ||
22 | struct· Dune::GridGlue::AreaWriterImplementation::FacetLayout<_dimgrid_> | ||
23 | |||
17 | ·Namespaces | 24 | ·Namespaces |
18 | namespace· Dune | 25 | namespace· Dune |
19 | 26 | ||
20 | namespace· Dune::GridGlue | 27 | namespace· Dune::GridGlue |
21 | 28 | ||
22 | namespace· Dune::GridGlue:: | 29 | namespace· Dune::GridGlue::AreaWriterImplementation |
23 | 30 | ||
24 | ·Functions | 31 | ·Functions |
25 | template< | 32 | template<typename·GridView·> |
26 | void Dune::GridGlue:: | 33 | void Dune::GridGlue::AreaWriterImplementation::write_facet_geometry·(const |
34 | ······GridView·&gv,·std::ostream·&out) | ||
27 | ······Projection<·Coordinate·>·&projection,·const·Corners·&corners,·std:: | ||
28 | ······ostream·&out) | ||
29 | 35 | ||
36 | template<int·side,·typename·Glue·> | ||
37 | void Dune::GridGlue::write_glue_area_vtk·(const·Glue·&glue,·std::ostream·&out) | ||
30 | template<unsigned·side,·typename·Coordinate·,·typename·Normals·> | ||
31 | void Dune::GridGlue::ProjectionWriterImplementation::write_normals·(const | ||
32 | ······Projection<·Coordinate·>·&projection,·const·Normals·&normals,·std:: | ||
33 | ······ostream·&out) | ||
34 | 38 | ||
39 | template<int·side,·typename·Glue·> | ||
40 | void Dune::GridGlue::write_glue_area_vtk·(const·Glue·&glue,·const·std::string | ||
41 | ······&filename) | ||
35 | template<typename·Coordinate·,·typename·Corners·> | ||
36 | void Dune::GridGlue::ProjectionWriterImplementation:: | ||
37 | ······write_edge_intersection_points·(const·Projection<·Coordinate·> | ||
38 | ······&projection,·const·Corners·&corners,·std::ostream·&out) | ||
39 | 42 | ||
43 | template<typename·Glue·> | ||
44 | void Dune::GridGlue::write_glue_areas_vtk·(const·Glue·&glue,·const·std::string | ||
45 | ······&base) | ||
40 | template<typename·Coordinate·,·typename·Normals·> | ||
41 | void Dune::GridGlue::ProjectionWriterImplementation:: | ||
42 | ······write_edge_intersection_normals·(const·Projection<·Coordinate·> | ||
43 | ······&projection,·const·Normals·&normals,·std::ostream·&out) | ||
44 | |||
45 | template<unsigned·side,·typename·Coordinate·> | ||
46 | void Dune::GridGlue::ProjectionWriterImplementation::write_success·(const | ||
47 | ······Projection<·Coordinate·>·&projection,·std::ostream·&out) | ||
48 | |||
49 | template<typename·Coordinate·,·typename·Corners·,·typename·Normals·> | ||
50 | void Dune::GridGlue::write·(const·Projection<·Coordinate·>·&projection,·const | ||
51 | ······Corners·&corners,·const·Normals·&normals,·std::ostream·&out) | ||
52 | ····write·projection·in·VTK·format | ||
53 | |||
54 | template<typename·Coordinate·,·typename·Corners·,·typename·Normals·> | ||
55 | void Dune::GridGlue::write·(const·Projection<·Coordinate·>·&projection,·const | ||
56 | ······Corners·&corners,·const·Normals·&normals,·const·std::string·&filename) | ||
57 | ····write·projection·in·VTK·format | ||
58 | |||
59 | template<typename·Coordinate·,·typename·Corners·,·typename·Normals·> | ||
60 | void Dune::GridGlue::print·(const·Projection<·Coordinate·>·&projection,·const | ||
61 | ······Corners·&corners,·const·Normals·&normals) | ||
62 | ····Print·information·about·the·projection·to·std::cout·stream. | ||
63 | 46 | ||
64 | =============================================================================== | 47 | =============================================================================== |
65 | ·····Generated·by [doxygen]·1.9.8 | 48 | ·····Generated·by [doxygen]·1.9.8 |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-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, 211 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="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">#include·<fstream></span></div> | 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">#include·<vector></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="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> | ||
88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class=" | 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/geometry/type.hh></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> | ||
89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</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> | 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> | ||
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="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="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> | ||
96 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span> | 94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div> |
95 | <div·class="foldopen"·id="foldopen00013"·data-start="{"·data-end="}"> | ||
97 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span> | 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> |
98 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>··<span·class="keyword">using·</span>std::get;</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="l0001 | 97 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</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="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> |
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> | ||
103 | <div·class="line"><a·id="l0001 | 101 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</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=" | 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="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> | ||
107 | <div·class="line"><a·id="l0002 | 106 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>····}</div> |
108 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>}</div> | ||
109 | </div> | 107 | </div> |
110 | <div·class="line"><a·id="l0002 | 108 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</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> | 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> | ||
128 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·</div> | 129 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>····}</div> |
130 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>··}</div> | ||
131 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</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> | 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="l0004 | 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> | ||
135 | <div·class="line"><a·id="l0004 | 137 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</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="l000 | 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> | ||
138 | <div·class="line"><a·id="l0005 | 145 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>········out·<<·<span·class="stringliteral">"·"</span>·<<·c;</div> |
139 | <div·class="line"><a·id="l0005 | 146 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>······out·<<·<span·class="stringliteral">"\n"</span>;</div> |
140 | <div·class="line"><a·id="l0005 | 147 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>····}</div> |
141 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>}</div> | ||
142 | </div> | ||
Max diff block lines reached; 34128/63955 bytes (53.36%) of diff not shown. |
Offset 8, 239 lines modified | Offset 8, 185 lines modified | ||
8 | Loading... | 8 | Loading... |
9 | Searching... | 9 | Searching... |
10 | No·Matches | 10 | No·Matches |
11 | ····*·dune | 11 | ····*·dune |
12 | ····*·grid-glue | 12 | ····*·grid-glue |
13 | ····*·common | 13 | ····*·common |
14 | 14 | areawriter_impl.hh | |
15 | Go_to_the_documentation_of_this_file. | 15 | Go_to_the_documentation_of_this_file. |
16 | ·1//·SPDX-FileCopyrightInfo:·Copyright·©·DUNE·Project·contributors,·see·file | 16 | ·1//·SPDX-FileCopyrightInfo:·Copyright·©·DUNE·Project·contributors,·see·file |
17 | LICENSE.md·in·module·root | 17 | LICENSE.md·in·module·root |
18 | ·2//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only- | 18 | ·2//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only- |
19 | with-dune-grid-glue-exception | 19 | with-dune-grid-glue-exception |
20 | ·3#include·<fstream> | 20 | ·3#include·<fstream> |
21 | ·4 | ||
22 | ·5namespace·Dune·{ | ||
23 | ·6namespace·GridGlue·{ | ||
24 | ·7 | ||
25 | 21 | ·4#include·<vector> | |
22 | ·5 | ||
23 | ·6#include·<dune/common/fvector.hh> | ||
24 | ·7#include·<dune/geometry/type.hh> | ||
25 | ·8#include·<dune/grid/common/mcmgmapper.hh> | ||
26 | ·9 | 26 | ·9 |
27 | ·10namespace·Dune·{ | ||
28 | ·11namespace·GridGlue·{ | ||
27 | ·10template<unsigned·side,·typename·Coordinate,·typename·Corners> | ||
28 | 11void·write_points(const·Projection<Coordinate>&·projection,·const·Corners& | ||
29 | corners,·std::ostream&·out) | ||
30 | ·12 | 29 | ·12 |
31 | ·13·using·namespace·ProjectionImplementation; | ||
32 | ·14·using·std::get; | ||
33 | ·15·const·unsigned·other_side·=·1·-·side; | ||
34 | · | 30 | 13namespace·AreaWriterImplementation·{ |
31 | ·14 | ||
32 | ·15template<int·dimgrid> | ||
33 | 16struct·FacetLayout | ||
34 | ·17{ | ||
35 | 18·bool·contains(Dune::GeometryType·gt)·const | ||
36 | ·19·{ | ||
37 | ·20·return·gt.dim()·==·dimgrid·-·1; | ||
38 | ·21·} | ||
39 | ·22}; | ||
40 | ·23 | ||
41 | ·24template<typename·GridView> | ||
42 | 25void·write_facet_geometry(const·GridView&·gv,·std::ostream&·out) | ||
43 | ·26{ | ||
44 | ·27·using·Coordinate·=·Dune::FieldVector<double,·3>; | ||
45 | ·28 | ||
46 | ·29·std::vector<Coordinate>·corners; | ||
47 | ·30·for·(const·auto&·facet·:·facets(gv))·{ | ||
48 | ·31·const·auto·geometry·=·facet.geometry(); | ||
49 | ·32·for·(int·i·=·0;·i·<·geometry.corners();·++i)·{ | ||
50 | ·33·/*·VTK·always·needs·3-dim·coordinates...·*/ | ||
51 | ·34·const·auto·c0·=·geometry.corner(i); | ||
52 | ·35·Coordinate·c1; | ||
53 | ·36·for·(int·d·=·0;·d·<·GridView::dimensionworld;·++d) | ||
54 | ·37·c1[d]·=·c0[d]; | ||
55 | ·38·for·(int·d·=·GridView::dimensionworld;·d·<·Coordinate::dimension;·++d) | ||
56 | ·39·c1[d]·=·double(0); | ||
57 | ·40·corners.push_back(c1); | ||
58 | ·41·} | ||
59 | ·42·} | ||
60 | ·43 | ||
61 | ·44·{ | ||
62 | ·45·out·<<·"DATASET·UNSTRUCTURED_GRID\n" | ||
63 | ·46·<<·"POINTS·"·<<·corners.size()·<<·"·double\n"; | ||
35 | · | 64 | ·47·for·(const·auto&·c·:·corners) |
36 | · | 65 | ·48·out·<<·c·<<·"\n"; |
66 | ·49·} | ||
67 | ·50·{ | ||
68 | ·51·out·<<·"CELLS·"·<<·gv.size(1)·<<·"·"·<<·(gv.size(1)·+·corners.size())·<< | ||
69 | "\n"; | ||
70 | ·52·std::size_t·c·=·0; | ||
71 | ·53·for·(const·auto&·facet·:·facets(gv))·{ | ||
72 | ·54·const·auto·geometry·=·facet.geometry(); | ||
73 | ·55·out·<<·geometry.corners(); | ||
74 | ·56·for·(int·i·=·0;·i·<·geometry.corners();·++i,·++c) | ||
75 | ·57·out·<<·"·"·<<·c; | ||
37 | ·19 | ||
38 | ·20·for·(const·auto&·i·:·get<side>(projection.images()))·{ | ||
39 | ·21·const·auto·global·=·interpolate(i,·get<other_side>(corners)); | ||
40 | ·22·out·<<·global·<<·"\n"; | ||
41 | ·23·} | ||
42 | ·24} | ||
43 | ·25 | ||
44 | ·26template<unsigned·side,·typename·Coordinate,·typename·Normals> | ||
45 | 27void·write_normals(const·Projection<Coordinate>&·projection,·const·Normals& | ||
46 | normals,·std::ostream&·out) | ||
47 | ·28{ | ||
48 | ·29·using·namespace·ProjectionImplementation; | ||
49 | ·30·using·std::get; | ||
50 | ·31·const·unsigned·other_side·=·1·-·side; | ||
51 | ·32 | ||
52 | ·33·for·(const·auto&·n·:·get<side>(normals)) | ||
53 | ·34·out·<<·n·<<·"\n"; | ||
54 | ·35 | ||
55 | ·36·for·(const·auto&·x·:·get<side>(projection.images()))·{ | ||
56 | ·37·const·auto·n·=·interpolate_unit_normals(x,·get<other_side>(normals)); | ||
57 | · | 76 | ·58·out·<<·"\n"; |
58 | · | 77 | ·59·} |
59 | ·40} | ||
60 | ·41 | ||
61 | ·42template<typename·Coordinate,·typename·Corners> | ||
62 | 43void·write_edge_intersection_points(const·Projection<Coordinate>&·projection, | ||
63 | const·Corners&·corners,·std::ostream&·out) | ||
64 | ·44{ | ||
65 | ·45·using·namespace·ProjectionImplementation; | ||
66 | ·46·using·std::get; | ||
67 | ·47 | ||
68 | ·48·for·(std::size_t·i·=·0;·i·<·projection.numberOfEdgeIntersections();·++i)·{ | ||
69 | ·49·const·auto&·local·=·projection.edgeIntersections()[i].local; | ||
70 | ·50·out·<<·interpolate(local[0],·get<0>(corners))·<<·"\n" | ||
71 | ·51·<<·interpolate(local[1],·get<1>(corners))·<<·"\n"; | ||
72 | ·52·} | ||
73 | ·53} | ||
74 | ·54 | ||
75 | ·55template<typename·Coordinate,·typename·Normals> | ||
76 | 56void·write_edge_intersection_normals(const·Projection<Coordinate>& | ||
77 | projection,·const·Normals&·normals,·std::ostream&·out) | ||
78 | ·57{ | ||
79 | ·58·using·namespace·ProjectionImplementation; | ||
80 | ·59·using·std::get; | ||
81 | ·60 | ||
82 | ·61·for·(std::size_t·i·=·0;·i·<·projection.numberOfEdgeIntersections();·++i)·{ | ||
83 | ·62·const·auto&·local·=·projection.edgeIntersections()[i].local; | ||
84 | ·63·const·auto·n0·=·interpolate_unit_normals(local[0],·get<0>(normals)); | ||
Max diff block lines reached; 9188/14447 bytes (63.60%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-grid-glue:· | 8 | <title>dune-grid-glue:·ringcomm.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, 42 lines modified | Offset 70, 78 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>·| |
78 | <a·href="#define-members">Macros</a>·| | ||
79 | <a·href="#func-members">Functions</a>··</div> | ||
79 | ··<div·class="headertitle"><div·class="title"> | 80 | ··<div·class="headertitle"><div·class="title">ringcomm.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·<mpi.h></code><br·/> |
83 | <code>#include·< | 84 | <code>#include·<functional></code><br·/> |
84 | <code>#include·<t | 85 | <code>#include·<utility></code><br·/> |
85 | <code>#include·& | 86 | <code>#include·<dune/common/fvector.hh></code><br·/> |
87 | <code>#include·<dune/common/hybridutilities.hh></code><br·/> | ||
88 | <code>#include·<dune/geometry/type.hh></code><br·/> | ||
86 | </div> | 89 | </div> |
87 | <p><a·href="a00035_source.html">Go·to·the·source·code·of·this·file.</a></p> | 90 | <p><a·href="a00035_source.html">Go·to·the·source·code·of·this·file.</a></p> |
88 | <table·class="memberdecls"> | 91 | <table·class="memberdecls"> |
89 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | ||
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"> | ||
98 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 92 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
99 | Namespaces</h2></td></tr> | 93 | Namespaces</h2></td></tr> |
100 | <tr·class="memitem: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> |
101 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 95 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
102 | <tr·class="memitem:a0010 | 96 | <tr·class="memitem:a00108"·id="r_a00108"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00108.html">Dune::Parallel</a></td></tr> |
103 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 97 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
98 | </table><table·class="memberdecls"> | ||
99 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="define-members"·name="define-members"></a> | ||
100 | Macros</h2></td></tr> | ||
101 | <tr·class="memitem:a1a95f4074572a7a9e13bcb072afef070"·id="r_a1a95f4074572a7a9e13bcb072afef070"><td·class="memItemLeft"·align="right"·valign="top">#define </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00035.html#a1a95f4074572a7a9e13bcb072afef070">CheckMPIStatus</a>(A,··B)   {}</td></tr> | ||
102 | <tr·class="separator:a1a95f4074572a7a9e13bcb072afef070"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
103 | </table><table·class="memberdecls"> | ||
104 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> | ||
105 | Functions</h2></td></tr> | ||
106 | <tr·class="memitem:ad5f2c9c42d7cc552cfdc87724ec03a30"·id="r_ad5f2c9c42d7cc552cfdc87724ec03a30"><td·class="memTemplParams"·colspan="2">template<typename·OP·,·typename...·Args>·</td></tr> | ||
107 | <tr·class="memitem:ad5f2c9c42d7cc552cfdc87724ec03a30"><td·class="memTemplItemLeft"·align="right"·valign="top">void </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00108.html#ad5f2c9c42d7cc552cfdc87724ec03a30">Dune::Parallel::MPI_AllApply</a>·(MPI_Comm·mpicomm,·OP·&&op,·const·Args·&...·data)</td></tr> | ||
108 | <tr·class="memdesc:ad5f2c9c42d7cc552cfdc87724ec03a30"><td·class="mdescLeft"> </td><td·class="mdescRight">apply·an·operator·locally·to·a·difstributed·data·set··<br·/></td></tr> | ||
109 | <tr·class="separator:ad5f2c9c42d7cc552cfdc87724ec03a30"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
104 | </table> | 110 | </table> |
111 | <h2·class="groupheader">Macro·Definition·Documentation</h2> | ||
112 | <a·id="a1a95f4074572a7a9e13bcb072afef070"·name="a1a95f4074572a7a9e13bcb072afef070"></a> | ||
113 | <h2·class="memtitle"><span·class="permalink"><a·href="#a1a95f4074572a7a9e13bcb072afef070">◆ </a></span>CheckMPIStatus</h2> | ||
114 | <div·class="memitem"> | ||
115 | <div·class="memproto"> | ||
116 | ······<table·class="memname"> | ||
117 | ········<tr> | ||
118 | ··········<td·class="memname">#define·CheckMPIStatus</td> | ||
119 | ··········<td>(</td> | ||
120 | ··········<td·class="paramtype"> </td> | ||
121 | ··········<td·class="paramname">A,·</td> | ||
122 | ········</tr> | ||
123 | ········<tr> | ||
124 | ··········<td·class="paramkey"></td> | ||
125 | ··········<td></td> | ||
126 | ··········<td·class="paramtype"> </td> | ||
127 | ··········<td·class="paramname">B </td> | ||
128 | ········</tr> | ||
129 | ········<tr> | ||
130 | ··········<td></td> | ||
131 | ··········<td>)</td> | ||
132 | ··········<td></td><td>   {}</td> | ||
133 | ········</tr> | ||
134 | ······</table> | ||
135 | </div><div·class="memdoc"> | ||
136 | <dl·class="todo"><dt><b><a·class="el"·href="a00101.html#_todo000011">Todo:</a></b></dt><dd>Implement·MPI·Status·check·with·exception·handling·</dd></dl> | ||
137 | </div> | ||
138 | </div> | ||
105 | </div><!--·contents·--> | 139 | </div><!--·contents·--> |
106 | <!--·start·footer·part·--> | 140 | <!--·start·footer·part·--> |
107 | <hr·class="footer"/><address·class="footer"><small> | 141 | <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 | 142 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
109 | </small></address> | 143 | </small></address> |
110 | </body> | 144 | </body> |
111 | </html> | 145 | </html> |
Offset 7, 29 lines modified | Offset 7, 40 lines modified | ||
7 | Loading... | 7 | Loading... |
8 | Searching... | 8 | Searching... |
9 | No·Matches | 9 | No·Matches |
10 | ····*·dune | 10 | ····*·dune |
11 | ····*·grid-glue | 11 | ····*·grid-glue |
12 | ····*·common | 12 | ····*·common |
13 | Classes·|·Namespaces | ||
14 | projection.hh·File·Reference | ||
15 | #include·<array> | ||
16 | 13 | Namespaces·|·Macros·|·Functions | |
14 | ringcomm.hh·File·Reference | ||
15 | #include·<mpi.h> | ||
16 | #include·<functional> | ||
17 | #include·<t | 17 | #include·<utility> |
18 | #include· | 18 | #include·<dune/common/fvector.hh> |
19 | #include·<dune/common/hybridutilities.hh> | ||
20 | #include·<dune/geometry/type.hh> | ||
19 | Go_to_the_source_code_of_this_file. | 21 | Go_to_the_source_code_of_this_file. |
20 | ·Classes | ||
21 | ·class· Dune::GridGlue::Projection<_Coordinate_> | ||
22 | ·······Projection·of·a·line·(triangle)·on·another·line·(triangle).·More... | ||
23 | |||
24 | struct· Dune::GridGlue::Projection<_Coordinate_>::EdgeIntersection | ||
25 | ·······Intersection·between·two·edges·of·a·triangle.·More... | ||
26 | |||
27 | ·Namespaces | 22 | ·Namespaces |
28 | namespace· Dune | 23 | namespace· Dune |
29 | 24 | ||
30 | namespace· Dune:: | 25 | namespace· Dune::Parallel |
26 | |||
27 | ·Macros | ||
28 | #define CheckMPIStatus(A,·B) {} | ||
29 | |||
30 | ·Functions | ||
31 | template<typename·OP·,·typename...·Args> | ||
32 | void Dune::Parallel::MPI_AllApply·(MPI_Comm·mpicomm,·OP·&&op,·const·Args·&... | ||
33 | ······data) | ||
34 | ····apply·an·operator·locally·to·a·difstributed·data·set | ||
31 | 35 | ||
36 | *****·Macro·Definition·Documentation·***** | ||
37 | *****·◆ CheckMPIStatus·***** | ||
38 | #define·CheckMPIStatus·(· A, | ||
39 | ························· B | ||
40 | ·······················)··· {} | ||
41 | ··Todo: | ||
42 | ······Implement·MPI·Status·check·with·exception·handling | ||
32 | =============================================================================== | 43 | =============================================================================== |
33 | ·····Generated·by [doxygen]·1.9.8 | 44 | ·····Generated·by [doxygen]·1.9.8 |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-grid-glue:· | 8 | <title>dune-grid-glue:·ringcomm.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, 309 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">ringcomm.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">//· | 83 | <a·href="a00035.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | ||
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">/*···IMPLEMENTATION·OF·CLASS···G·R·I·D··G·L·U·E···*/</span></div> | ||
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_PROJECTIONHELPER2_HH</span></div> | ||
87 | <div·class="line"><a·id="l0000 | 88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> |
89 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno"><a·class="line"·href="a00035.html#a1a95f4074572a7a9e13bcb072afef070">····8</a></span><span·class="preprocessor">#define·CheckMPIStatus(A,B)·{}</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·<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> | ||
91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> | 90 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> |
91 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<mpi.h></span></div> | ||
92 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<functional></span></div> | ||
93 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<utility></span></div> | ||
94 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> | ||
95 | <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="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·<dune/common/hybridutilities.hh></span></div> | ||
97 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div> | ||
98 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·<dune/geometry/type.hh></span></div> | ||
99 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div> | ||
92 | <div·class="line"><a·id="l0001 | 100 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="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> | ||
94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div> | ||
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> | ||
96 | <div·class="foldopen"·id="foldopen00020"·data-start="{"·data-end="} | 101 | <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="a00 | 102 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno"><a·class="line"·href="a00108.html">···20</a></span><span·class="keyword">namespace·</span>Parallel·{</div> |
98 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span> | 103 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div> |
99 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="keyword"> | 104 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>··<span·class="keyword">namespace·</span>Impl·{</div> |
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> | ||
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> | ||
104 | <div·class="line"><a·id="l000 | 105 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div> |
105 | <div·class="line"><a·id="l000 | 106 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>····<span·class="keyword">template</span><<span·class="keyword">typename</span>·T></div> |
107 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>····<span·class="keyword">struct·</span>MPITypeInfo·{};</div> | ||
106 | <div·class="line"><a·id="l000 | 108 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> |
107 | </div> | 109 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>····<span·class="keyword">template</span><></div> |
110 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>····<span·class="keyword">struct·</span>MPITypeInfo<·int·></div> | ||
111 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>····{</div> | ||
112 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>······<span·class="keyword">static</span>·<span·class="keyword">const</span>·<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·size·=·1;</div> | ||
113 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>······<span·class="keyword">static</span>·<span·class="keyword">inline</span>·MPI_Datatype·getType()</div> | ||
114 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>······{</div> | ||
115 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>········<span·class="keywordflow">return</span>·MPI_INT;</div> | ||
116 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>······}</div> | ||
117 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>····};</div> | ||
118 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div> | ||
119 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>····<span·class="keyword">template</span><<span·class="keyword">typename</span>·K,·<span·class="keywordtype">int</span>·N></div> | ||
120 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>····<span·class="keyword">struct·</span>MPITypeInfo<·<a·class="code·hl_namespace"·href="a00103.html">Dune</a>::FieldVector<K,N>·></div> | ||
121 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>····{</div> | ||
122 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>······<span·class="keyword">static</span>·<span·class="keyword">const</span>·<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·size·=·N;</div> | ||
123 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>······<span·class="keyword">static</span>·<span·class="keyword">inline</span>·MPI_Datatype·getType()</div> | ||
108 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div> | 124 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>······{</div> |
109 | <div·class="line"><a·id="l0004 | 125 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>········<span·class="keywordflow">return</span>·Dune::MPITraits<K>::getType();</div> |
126 | <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>····};</div> | ||
110 | <div·class="line"><a·id="l0004 | 128 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div> |
111 | <div·class="line"><a·id="l000 | 129 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>····<span·class="keyword">template</span><></div> |
130 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>····<span·class="keyword">struct·</span>MPITypeInfo<·unsigned·int·></div> | ||
131 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>····{</div> | ||
132 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>······<span·class="keyword">static</span>·<span·class="keyword">const</span>·<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·size·=·1;</div> | ||
133 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>······<span·class="keyword">static</span>·<span·class="keyword">inline</span>·MPI_Datatype·getType()</div> | ||
134 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>······{</div> | ||
135 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>········<span·class="keywordflow">return</span>·MPI_UNSIGNED;</div> | ||
112 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div> | 136 | <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>·· | 137 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>····};</div> |
114 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div> | 138 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div> |
115 | <div·class="line"><a·id="l000 | 139 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>····<span·class="keyword">template</span><></div> |
140 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>····<span·class="keyword">struct·</span>MPITypeInfo<·<a·class="code·hl_namespace"·href="a00103.html">Dune</a>::GeometryType·></div> | ||
141 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>····{</div> | ||
142 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>······<span·class="keyword">static</span>·<span·class="keyword">const</span>·<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·size·=·1;</div> | ||
143 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>······<span·class="keyword">static</span>·<span·class="keyword">inline</span>·MPI_Datatype·getType()</div> | ||
144 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>······{</div> | ||
145 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>········<span·class="keywordflow">return</span>·Dune::MPITraits<·Dune::GeometryType·>::getType();</div> | ||
146 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>······}</div> | ||
147 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>····};</div> | ||
116 | <div·class="line"><a·id="l0006 | 148 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div> |
117 | <div·class="line"><a·id="l000 | 149 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>····<span·class="keyword">template</span><<span·class="keyword">typename</span>·T></div> |
150 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>····<span·class="keywordtype">void</span>·MPI_SetVectorSize(</div> | ||
151 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>······std::vector<T>·&·data,</div> | ||
152 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>······MPI_Status·&·status)</div> | ||
118 | <div·class="line"><a·id="l0007 | 153 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>····{</div> |
119 | <div·class="line"><a·id="l0007 | 154 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>······<span·class="keyword">typedef</span>·MPITypeInfo<T>·Info;</div> |
155 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>······<span·class="keywordtype">int</span>·sz;</div> | ||
156 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>······MPI_Get_count(&status,·Info::getType(),·&sz);</div> | ||
157 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>······assert(sz%Info::size·==·0);</div> | ||
158 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>······data.resize(sz/Info::size);</div> | ||
159 | <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>·</div> | 160 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>·</div> |
161 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>····<span·class="keyword">template</span><<span·class="keyword">typename</span>·T></div> | ||
162 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>····<span·class="keywordtype">void</span>·MPI_SendVectorInRing(</div> | ||
163 | <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>······std::vector<T>·&·data,</div> | ||
164 | <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>······std::vector<T>·&·next,</div> | ||
121 | <div·class="line"><a·id="l000 | 165 | <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>······<span·class="keywordtype">int</span>·tag,</div> |
122 | <div·class="line"><a·id="l000 | 166 | <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>······<span·class="keywordtype">int</span>·rightrank,</div> |
167 | <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>······<span·class="keywordtype">int</span>·leftrank,</div> | ||
123 | <div·class="line"><a·id="l000 | 168 | <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>······MPI_Comm·comm,</div> |
124 | <div·class="line"><a·id="l0009 | 169 | <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>······MPI_Request&·r_send,</div> |
170 | <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>······MPI_Request&·r_recv</div> | ||
125 | <div·class="line"><a·id="l0009 | 171 | <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>······)</div> |
Max diff block lines reached; 28751/66944 bytes (42.95%) of diff not shown. |
Offset 8, 176 lines modified | Offset 8, 309 lines modified | ||
8 | Loading... | 8 | Loading... |
9 | Searching... | 9 | Searching... |
10 | No·Matches | 10 | No·Matches |
11 | ····*·dune | 11 | ····*·dune |
12 | ····*·grid-glue | 12 | ····*·grid-glue |
13 | ····*·common | 13 | ····*·common |
14 | 14 | ringcomm.hh | |
15 | Go_to_the_documentation_of_this_file. | 15 | Go_to_the_documentation_of_this_file. |
16 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | ||
17 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: | ||
16 | · | 18 | ·3//·SPDX-FileCopyrightInfo:·Copyright·©·DUNE·Project·contributors,·see·file |
17 | LICENSE.md·in·module·root | 19 | LICENSE.md·in·module·root |
18 | · | 20 | ·4//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only- |
19 | with-dune-grid-glue-exception | 21 | with-dune-grid-glue-exception |
22 | ·5/*·IMPLEMENTATION·OF·CLASS·G·R·I·D·G·L·U·E·*/ | ||
23 | ·6 | ||
24 | 8#define·CheckMPIStatus(A,B)·{} | ||
20 | ·3#ifndef·DUNE_GRIDGLUE_COMMON_PROJECTIONHELPER2_HH | ||
21 | ·4#define·DUNE_GRIDGLUE_COMMON_PROJECTIONHELPER2_HH | ||
22 | ·5 | ||
23 | ·6#include·<array> | ||
24 | ·7#include·<bitset> | ||
25 | ·8#include·<tuple> | ||
26 | ·9 | 25 | ·9 |
26 | ·10#include·<mpi.h> | ||
27 | ·11#include·<functional> | ||
28 | ·12#include·<utility> | ||
29 | ·13 | ||
30 | ·14#include·<dune/common/fvector.hh> | ||
31 | ·15#include·<dune/common/hybridutilities.hh> | ||
32 | ·16 | ||
33 | ·17#include·<dune/geometry/type.hh> | ||
34 | ·18 | ||
27 | ·1 | 35 | ·19namespace·Dune·{ |
36 | 20namespace·Parallel·{ | ||
28 | ·11namespace·GridGlue·{ | ||
29 | ·12 | ||
30 | ·19template<typename·Coordinate> | ||
31 | 20class·Projection | ||
32 | ·21 | 37 | ·21 |
33 | ·22public: | ||
34 | 28·struct·EdgeIntersection | ||
35 | ·29·{ | ||
36 | 33·std::array<unsigned,·2>·edge; | ||
37 | ·34 | ||
38 | 38 | ·22·namespace·Impl·{ | |
39 | ·23 | ||
40 | ·25·template<typename·T> | ||
41 | ·26·struct·MPITypeInfo·{}; | ||
42 | ·27 | ||
43 | ·28·template<> | ||
44 | ·29·struct·MPITypeInfo<·int·> | ||
45 | ·30·{ | ||
46 | ·31·static·const·unsigned·int·size·=·1; | ||
47 | ·32·static·inline·MPI_Datatype·getType() | ||
48 | ·33·{ | ||
49 | ·34·return·MPI_INT; | ||
50 | ·35·} | ||
51 | ·36·}; | ||
52 | ·37 | ||
53 | ·38·template<typename·K,·int·N> | ||
54 | ·39·struct·MPITypeInfo<·Dune::FieldVector<K,N>·> | ||
55 | ·40·{ | ||
56 | ·41·static·const·unsigned·int·size·=·N; | ||
57 | ·42·static·inline·MPI_Datatype·getType() | ||
58 | ·43·{ | ||
59 | ·44·return·Dune::MPITraits<K>::getType(); | ||
60 | ·45·} | ||
39 | ·4 | 61 | ·46·}; |
40 | ·43 | ||
41 | 47·constexpr·static·unsigned·dim·=·Coordinate::dimension; | ||
42 | ·48 | ||
43 | 62 | ·47 | |
63 | ·48·template<> | ||
64 | ·49·struct·MPITypeInfo<·unsigned·int·> | ||
65 | ·50·{ | ||
66 | ·51·static·const·unsigned·int·size·=·1; | ||
67 | ·52·static·inline·MPI_Datatype·getType() | ||
68 | ·53·{ | ||
69 | ·54·return·MPI_UNSIGNED; | ||
44 | ·55 | 70 | ·55·} |
71 | ·56·}; | ||
45 | ·56·static_assert(dim·==·2·||·dim·==·3,·"Projection·only·implemented·for·dim=2 | ||
46 | or·dim=3"); | ||
47 | ·57 | 72 | ·57 |
48 | 61·typedef·typename·Coordinate::field_type·Field; | ||
49 | ·62 | ||
50 | 70·typedef·std::array<Coordinate,·dim>·Images; | ||
51 | ·71 | ||
52 | 73 | ·58·template<> | |
74 | ·59·struct·MPITypeInfo<·Dune::GeometryType·> | ||
75 | ·60·{ | ||
76 | ·61·static·const·unsigned·int·size·=·1; | ||
77 | ·62·static·inline·MPI_Datatype·getType() | ||
78 | ·63·{ | ||
79 | ·64·return·Dune::MPITraits<·Dune::GeometryType·>::getType(); | ||
80 | ·65·} | ||
81 | ·66·}; | ||
82 | ·67 | ||
83 | ·68·template<typename·T> | ||
84 | ·69·void·MPI_SetVectorSize( | ||
85 | ·70·std::vector<T>·&·data, | ||
86 | ·71·MPI_Status·&·status) | ||
87 | ·72·{ | ||
88 | ·73·typedef·MPITypeInfo<T>·Info; | ||
89 | ·74·int·sz; | ||
90 | ·75·MPI_Get_count(&status,·Info::getType(),·&sz); | ||
91 | ·76·assert(sz%Info::size·==·0); | ||
92 | ·77·data.resize(sz/Info::size); | ||
93 | ·78·} | ||
53 | ·79 | 94 | ·79 |
54 | ·80private: | ||
55 | ·84·const·Field·m_overlap; | ||
56 | ·85 | ||
57 | ·94·const·Field·m_max_normal_product; | ||
58 | ·95 | ||
59 | · | 95 | ·89·template<typename·T> |
96 | ·90·void·MPI_SendVectorInRing( | ||
97 | ·91·std::vector<T>·&·data, | ||
98 | ·92·std::vector<T>·&·next, | ||
99 | ·93·int·tag, | ||
100 | ·94·int·rightrank, | ||
101 | ·95·int·leftrank, | ||
102 | ·96·MPI_Comm·comm, | ||
103 | ·97·MPI_Request&·r_send, | ||
104 | ·98·MPI_Request&·r_recv | ||
Max diff block lines reached; 7025/14033 bytes (50.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:· | 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, 43 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"> | 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·<tuple></code><br·/> | ||
84 | <code>#include·"<a·class="el"·href="a000 | 85 | <code>#include·"<a·class="el"·href="a00038_source.html">projection_impl.hh</a>"</code><br·/> |
85 | </div> | 86 | </div> |
86 | <p><a·href="a00041_source.html">Go·to·the·source·code·of·this·file.</a></p> | 87 | <p><a·href="a00041_source.html">Go·to·the·source·code·of·this·file.</a></p> |
87 | <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"> | ||
88 | <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> |
89 | Namespaces</h2></td></tr> | 99 | 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> | 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> |
91 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 101 | <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> | 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> |
93 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 103 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
94 | </table><table·class="memberdecls"> | ||
95 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> | ||
96 | Functions</h2></td></tr> | ||
97 | <tr·class="memitem:a16ccdbde4466d3073eab2a0f25d78f4e"·id="r_a16ccdbde4466d3073eab2a0f25d78f4e"><td·class="memTemplParams"·colspan="2">template<int·side,·typename·Glue·>·</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> | ||
99 | <tr·class="separator:a16ccdbde4466d3073eab2a0f25d78f4e"><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: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> | ||
102 | <tr·class="separator:a426e3cf8b8d851b1091af8ad0b2ff2de"><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> | 104 | </table> |
107 | </div><!--·contents·--> | 105 | </div><!--·contents·--> |
108 | <!--·start·footer·part·--> | 106 | <!--·start·footer·part·--> |
109 | <hr·class="footer"/><address·class="footer"><small> | 107 | <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 | 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 |
111 | </small></address> | 109 | </small></address> |
112 | </body> | 110 | </body> |
Offset 7, 33 lines modified | Offset 7, 29 lines modified | ||
7 | Loading... | 7 | Loading... |
8 | Searching... | 8 | Searching... |
9 | No·Matches | 9 | No·Matches |
10 | ····*·dune | 10 | ····*·dune |
11 | ····*·grid-glue | 11 | ····*·grid-glue |
12 | ····*·common | 12 | ····*·common |
13 | 13 | Classes·|·Namespaces | |
14 | 14 | projection.hh·File·Reference | |
15 | #include·< | 15 | #include·<array> |
16 | #include·< | 16 | #include·<bitset> |
17 | #include·<tuple> | ||
17 | #include·" | 18 | #include·"projection_impl.hh" |
18 | Go_to_the_source_code_of_this_file. | 19 | Go_to_the_source_code_of_this_file. |
20 | ·Classes | ||
21 | ·class· Dune::GridGlue::Projection<_Coordinate_> | ||
22 | ·······Projection·of·a·line·(triangle)·on·another·line·(triangle).·More... | ||
23 | |||
24 | struct· Dune::GridGlue::Projection<_Coordinate_>::EdgeIntersection | ||
25 | ·······Intersection·between·two·edges·of·a·triangle.·More... | ||
26 | |||
19 | ·Namespaces | 27 | ·Namespaces |
20 | namespace· Dune | 28 | namespace· Dune |
21 | 29 | ||
22 | namespace· Dune::GridGlue | 30 | namespace· Dune::GridGlue |
23 | 31 | ||
24 | ·Functions | ||
25 | template<int·side,·typename·Glue·> | ||
26 | void Dune::GridGlue::write_glue_area_vtk·(const·Glue·&glue,·std::ostream·&out) | ||
27 | |||
28 | template<int·side,·typename·Glue·> | ||
29 | void Dune::GridGlue::write_glue_area_vtk·(const·Glue·&glue,·const·std::string | ||
30 | ······&filename) | ||
31 | |||
32 | template<typename·Glue·> | ||
33 | void Dune::GridGlue::write_glue_areas_vtk·(const·Glue·&glue,·const·std::string | ||
34 | ······&base) | ||
35 | |||
36 | =============================================================================== | 32 | =============================================================================== |
37 | ·····Generated·by [doxygen]·1.9.8 | 33 | ·····Generated·by [doxygen]·1.9.8 |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-grid-glue:· | 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, 47 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"> | 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="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">#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_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_ | 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="l000 | 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="l0001 | 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="l0001 | 94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div> |
94 | <div·class="line"><a·id="l0001 | 95 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="keyword">template</span><<span·class="keyword">typename</span>·Coordinate></div> |
95 | <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> | ||
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="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> | ||
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> | ||
96 | <div·class="line"><a·id="l000 | 104 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div> |
105 | <div·class="line"><a·id="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> | ||
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="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div> | ||
103 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>}·<span·class="comment">/*·namespace·GridGlue·*/</span></div> | ||
104 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>}·<span·class="comment">/*·namespace·Dune·*/</span></div> | ||
105 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div> | 106 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>··};</div> |
106 | < | 107 | </div> |
107 | <div·class="line"><a·id="l0004 | 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="}"> | ||
169 | <div·class="line"><a·id="l00262"·name="l00262"></a><span·class="lineno"><a·class="line"·href="a00994.html#ad775f9e1a7b13cfb01807f00013053c7">··262</a></span>··<span·class="keywordtype">unsigned</span>·<a·class="code·hl_function"·href="a00994.html#ad775f9e1a7b13cfb01807f00013053c7">numberOfEdgeIntersections</a>()<span·class="keyword">·const</span></div> | ||
170 | <div·class="line"><a·id="l00263"·name="l00263"></a><span·class="lineno">··263</span><span·class="keyword">····</span>{·<span·class="keywordflow">return</span>·m_number_of_edge_intersections;·}</div> | ||
171 | </div> | ||
172 | <div·class="line"><a·id="l00264"·name="l00264"></a><span·class="lineno">··264</span>·</div> | ||
173 | <div·class="foldopen"·id="foldopen00273"·data-start="{"·data-end="}"> | ||
174 | <div·class="line"><a·id="l00273"·name="l00273"></a><span·class="lineno"><a·class="line"·href="a00994.html#af3ffe2462d703112315d56f040da3ed5">··273</a></span>··<span·class="keyword">const</span>·std::array<EdgeIntersection,·maxEdgeIntersections>&·<a·class="code·hl_function"·href="a00994.html#af3ffe2462d703112315d56f040da3ed5">edgeIntersections</a>()<span·class="keyword">·const</span></div> | ||
175 | <div·class="line"><a·id="l00274"·name="l00274"></a><span·class="lineno">··274</span><span·class="keyword">····</span>{·<span·class="keywordflow">return</span>·m_edge_intersections;·}</div> | ||
Max diff block lines reached; 6797/30832 bytes (22.05%) of diff not shown. |
Offset 8, 49 lines modified | Offset 8, 176 lines modified | ||
8 | Loading... | 8 | Loading... |
9 | Searching... | 9 | Searching... |
10 | No·Matches | 10 | No·Matches |
11 | ····*·dune | 11 | ····*·dune |
12 | ····*·grid-glue | 12 | ····*·grid-glue |
13 | ····*·common | 13 | ····*·common |
14 | 14 | projection.hh | |
15 | Go_to_the_documentation_of_this_file. | 15 | Go_to_the_documentation_of_this_file. |
16 | ·1//·SPDX-FileCopyrightInfo:·Copyright·©·DUNE·Project·contributors,·see·file | 16 | ·1//·SPDX-FileCopyrightInfo:·Copyright·©·DUNE·Project·contributors,·see·file |
17 | LICENSE.md·in·module·root | 17 | LICENSE.md·in·module·root |
18 | ·2//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only- | 18 | ·2//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only- |
19 | with-dune-grid-glue-exception | 19 | with-dune-grid-glue-exception |
20 | ·3#ifndef·DUNE_GRIDGLUE_COMMON_ | 20 | ·3#ifndef·DUNE_GRIDGLUE_COMMON_PROJECTIONHELPER2_HH |
21 | ·4#define·DUNE_GRIDGLUE_COMMON_ | 21 | ·4#define·DUNE_GRIDGLUE_COMMON_PROJECTIONHELPER2_HH |
22 | ·5 | 22 | ·5 |
23 | ·6#include·< | 23 | ·6#include·<array> |
24 | ·7#include·< | 24 | ·7#include·<bitset> |
25 | ·8 | 25 | ·8#include·<tuple> |
26 | ·9 | ||
26 | · | 27 | ·10namespace·Dune·{ |
27 | ·1 | 28 | ·11namespace·GridGlue·{ |
29 | ·12 | ||
30 | ·19template<typename·Coordinate> | ||
31 | 20class·Projection | ||
32 | ·21{ | ||
33 | ·22public: | ||
34 | 28·struct·EdgeIntersection | ||
35 | ·29·{ | ||
36 | 33·std::array<unsigned,·2>·edge; | ||
37 | ·34 | ||
38 | 41·std::array<Coordinate,·2>·local; | ||
39 | ·42·}; | ||
40 | ·43 | ||
41 | 47·constexpr·static·unsigned·dim·=·Coordinate::dimension; | ||
42 | ·48 | ||
43 | 54·constexpr·static·unsigned·maxEdgeIntersections·=·dim·==·3·?·9·:·0; | ||
44 | ·55 | ||
45 | ·56·static_assert(dim·==·2·||·dim·==·3,·"Projection·only·implemented·for·dim=2 | ||
46 | or·dim=3"); | ||
47 | ·57 | ||
48 | 61·typedef·typename·Coordinate::field_type·Field; | ||
49 | ·62 | ||
50 | 70·typedef·std::array<Coordinate,·dim>·Images; | ||
51 | ·71 | ||
52 | 78·typedef·Images·Preimages; | ||
53 | ·79 | ||
54 | ·80private: | ||
55 | ·84·const·Field·m_overlap; | ||
56 | ·85 | ||
57 | ·94·const·Field·m_max_normal_product; | ||
58 | ·95 | ||
59 | ·101·Field·m_epsilon·=·Field(1e-12); | ||
60 | ·102 | ||
61 | ·104·std::tuple<Images,·Preimages>·m_images; | ||
62 | ·105 | ||
63 | ·107·std::tuple<std::bitset<dim>,·std::bitset<dim>·>·m_success; | ||
64 | ·108 | ||
65 | ·110·unsigned·m_number_of_edge_intersections; | ||
28 | ·11 | 66 | ·111 |
67 | ·113·std::array<EdgeIntersection,·maxEdgeIntersections>·m_edge_intersections; | ||
29 | ·12template<int·side,·typename·Glue> | ||
30 | ·13void·write_glue_area_vtk(const·Glue&·glue,·std::ostream&·out); | ||
31 | ·14 | 68 | ·114 |
69 | ·126·bool·m_projection_valid; | ||
32 | ·15template<int·side,·typename·Glue> | ||
33 | ·16void·write_glue_area_vtk(const·Glue&·glue,·const·std::string&·filename); | ||
34 | ·17 | 70 | ·127 |
35 | ·37template<typename·Glue> | ||
36 | ·38void·write_glue_areas_vtk(const·Glue&·glue,·const·std::string&·base); | ||
37 | ·3 | 71 | ·133·template<typename·Corners,·typename·Normals> |
72 | ·134·void·doProjection(const·std::tuple<Corners&,·Corners&>&·corners,·const | ||
73 | std::tuple<Normals&,·Normals&>&·normals); | ||
74 | ·135 | ||
75 | ·144·template<typename·Corners,·typename·Normals> | ||
76 | ·145·void·doInverseProjection(const·std::tuple<Corners&,·Corners&>&·corners, | ||
77 | const·std::tuple<Normals&,·Normals&>&·normals); | ||
78 | ·146 | ||
79 | ·155·template<typename·Corners,·typename·Normals> | ||
80 | ·156·void·doEdgeIntersection(const·std::tuple<Corners&,·Corners&>&·corners, | ||
81 | const·std::tuple<Normals&,·Normals&>&·normals); | ||
82 | ·157 | ||
83 | ·183·template<typename·Corners,·typename·Normals> | ||
84 | ·184·inline·bool·projectionFeasible(const·Coordinate&·x,·const·Coordinate&·nx, | ||
85 | const·Coordinate&·px,·const·Corners&·corners,·const·Normals&·normals)·const; | ||
86 | ·185 | ||
87 | ·186public: | ||
88 | ·191·Projection(const·Field·overlap·=·Field(0),·const·Field·max_normal_product | ||
89 | =·Field(-0.1)); | ||
90 | ·192 | ||
91 | ·198·void·epsilon(const·Field·epsilon); | ||
92 | ·199 | ||
93 | ·212·template<typename·Corners,·typename·Normals> | ||
94 | ·213·void·project(const·std::tuple<Corners&,·Corners&>&·corners,·const·std:: | ||
95 | tuple<Normals&,·Normals&>&·normals); | ||
96 | ·214 | ||
97 | 235·const·std::tuple<Images,·Preimages>&·images()·const | ||
98 | ·236·{·return·m_images;·} | ||
99 | ·237 | ||
100 | 252·const·std::tuple<std::bitset<dim>,·std::bitset<dim>·>&·success()·const | ||
101 | ·253·{·return·m_success;·} | ||
102 | ·254 | ||
103 | 262·unsigned·numberOfEdgeIntersections()·const | ||
104 | ·263·{·return·m_number_of_edge_intersections;·} | ||
105 | ·264 | ||
106 | 273·const·std::array<EdgeIntersection,·maxEdgeIntersections>&·edgeIntersections | ||
107 | ()·const | ||
108 | ·274·{·return·m_edge_intersections;·} | ||
109 | ·275}; | ||
110 | ·276 | ||
38 | · | 111 | ·277}·/*·namespace·GridGlue·*/ |
39 | · | 112 | ·278}·/*·namespace·Dune·*/ |
40 | ·42 | ||
41 | ·43#include·"areawriter_impl.hh" | ||
42 | ·44 | ||
43 | ·45#endif | ||
44 | 113 | ·279 | |
114 | ·280#include·"projection_impl.hh" | ||
115 | ·281 | ||
116 | ·282#endif | ||
117 | projection_impl.hh | ||
45 | Dune | 118 | Dune |
46 | Definition·gridglue.hh:37 | 119 | Definition·gridglue.hh:37 |
47 | Dune::GridGlue::write_glue_area_vtk | ||
48 | void·write_glue_area_vtk(const·Glue·&glue,·std::ostream·&out) | ||
49 | Definition·areawriter_impl.hh:84 | ||
50 | Dune::GridGlue::write_glue_areas_vtk | ||
Max diff block lines reached; 116/6689 bytes (1.73%) of diff not shown. |
Offset 77, 16 lines modified | Offset 77, 16 lines modified | ||
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">projectionwriter.hh·File·Reference</div></div> | 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·<iostream></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="a000 | 84 | <code>#include·<<a·class="el"·href="a00041_source.html">dune/grid-glue/common/projection.hh</a>></code><br·/> |
85 | <code>#include·"<a·class="el"·href="a000 | 85 | <code>#include·"<a·class="el"·href="a00050_source.html">projectionwriter_impl.hh</a>"</code><br·/> |
86 | </div> | 86 | </div> |
87 | <p><a·href="a00044_source.html">Go·to·the·source·code·of·this·file.</a></p> | 87 | <p><a·href="a00044_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="namespaces"·name="namespaces"></a> | 89 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
90 | Namespaces</h2></td></tr> | 90 | 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> | 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> |
92 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 92 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
Offset 85, 15 lines modified | Offset 85, 15 lines modified | ||
85 | <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="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> |
86 | <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="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_GRIDGLUE_COMMON_PROJECTIONWRITER_HH</span></div> |
87 | <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="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_GRIDGLUE_COMMON_PROJECTIONWRITER_HH</span></div> |
88 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> | 88 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> |
89 | <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="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#include·<iostream></span></div> |
90 | <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="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#include·<string></span></div> |
91 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span>·</div> | 91 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span>·</div> |
92 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·<<a·class="code"·href="a000 | 92 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·<<a·class="code"·href="a00041.html">dune/grid-glue/common/projection.hh</a>></span></div> |
93 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span>·</div> | 93 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span>·</div> |
94 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00103.html">Dune</a>·{</div> | 94 | <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> |
95 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="keyword">namespace·</span>GridGlue·{</div> | 95 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="keyword">namespace·</span>GridGlue·{</div> |
96 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> | 96 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> |
97 | <div·class="line"><a·id="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="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> |
98 | <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="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> |
99 | <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="l00030"·name="l00030"></a><span·class="lineno">···30</span>···········<span·class="keyword">const</span>·Corners&·corners,</div> |
Offset 109, 19 lines modified | Offset 109, 19 lines modified | ||
109 | <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="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> |
110 | <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="l00056"·name="l00056"></a><span·class="lineno">···56</span>···········<span·class="keyword">const</span>·Corners&·corners,</div> |
111 | <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="l00057"·name="l00057"></a><span·class="lineno">···57</span>···········<span·class="keyword">const</span>·Normals&·normals);</div> |
112 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·</div> | 112 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·</div> |
113 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>}·<span·class="comment">/*·namespace·GridGlue·*/</span></div> | 113 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>}·<span·class="comment">/*·namespace·GridGlue·*/</span></div> |
114 | <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="l00060"·name="l00060"></a><span·class="lineno">···60</span>}·<span·class="comment">/*·namespace·Dune·*/</span></div> |
115 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>·</div> | 115 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>·</div> |
116 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span><span·class="preprocessor">#include·"<a·class="code"·href="a000 | 116 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span><span·class="preprocessor">#include·"<a·class="code"·href="a00050.html">projectionwriter_impl.hh</a>"</span></div> |
117 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div> | 117 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div> |
118 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span><span·class="preprocessor">#endif</span></div> | 118 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span><span·class="preprocessor">#endif</span></div> |
119 | <div·class="ttc"·id="aa00041_html"><div·class="ttname"><a·href="a00041.html">projection.hh</a></div></div> | ||
119 | <div·class="ttc"·id="aa000 | 120 | <div·class="ttc"·id="aa00050_html"><div·class="ttname"><a·href="a00050.html">projectionwriter_impl.hh</a></div></div> |
120 | <div·class="ttc"·id="aa00035_html"><div·class="ttname"><a·href="a00035.html">projection.hh</a></div></div> | ||
121 | <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> | 121 | <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> |
122 | <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,·const·Normals·&normals,·std::ostream·&out)</div><div·class="ttdoc">write·projection·in·VTK·format</div><div·class="ttdef"><b>Definition</b>·projectionwriter_impl.hh:86</div></div> | 122 | <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,·const·Normals·&normals,·std::ostream·&out)</div><div·class="ttdoc">write·projection·in·VTK·format</div><div·class="ttdef"><b>Definition</b>·projectionwriter_impl.hh:86</div></div> |
123 | <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> | 123 | <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> |
124 | </div><!--·fragment·--></div><!--·contents·--> | 124 | </div><!--·fragment·--></div><!--·contents·--> |
125 | <!--·start·footer·part·--> | 125 | <!--·start·footer·part·--> |
126 | <hr·class="footer"/><address·class="footer"><small> | 126 | <hr·class="footer"/><address·class="footer"><small> |
127 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 127 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
Offset 47, 16 lines modified | Offset 47, 16 lines modified | ||
47 | ·58 | 47 | ·58 |
48 | ·59}·/*·namespace·GridGlue·*/ | 48 | ·59}·/*·namespace·GridGlue·*/ |
49 | ·60}·/*·namespace·Dune·*/ | 49 | ·60}·/*·namespace·Dune·*/ |
50 | ·61 | 50 | ·61 |
51 | ·62#include·"projectionwriter_impl.hh" | 51 | ·62#include·"projectionwriter_impl.hh" |
52 | ·63 | 52 | ·63 |
53 | ·64#endif | 53 | ·64#endif |
54 | projectionwriter_impl.hh | ||
55 | projection.hh | 54 | projection.hh |
55 | projectionwriter_impl.hh | ||
56 | Dune | 56 | Dune |
57 | Definition·gridglue.hh:37 | 57 | Definition·gridglue.hh:37 |
58 | Dune::GridGlue::write | 58 | Dune::GridGlue::write |
59 | void·write(const·Projection<·Coordinate·>·&projection,·const·Corners·&corners, | 59 | void·write(const·Projection<·Coordinate·>·&projection,·const·Corners·&corners, |
60 | const·Normals·&normals,·std::ostream·&out) | 60 | const·Normals·&normals,·std::ostream·&out) |
61 | write·projection·in·VTK·format | 61 | write·projection·in·VTK·format |
62 | Definition·projectionwriter_impl.hh:86 | 62 | Definition·projectionwriter_impl.hh:86 |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="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:·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 71, 77 lines modified | Offset 71, 43 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="#namespaces">Namespaces</a>·| | 77 | <a·href="#namespaces">Namespaces</a>·| |
78 | <a·href="#define-members">Macros</a>·| | ||
79 | <a·href="#func-members">Functions</a>··</div> | 78 | <a·href="#func-members">Functions</a>··</div> |
80 | ··<div·class="headertitle"><div·class="title">r | 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·<functional></code><br·/> | ||
85 | <code>#include·< | 83 | <code>#include·<string></code><br·/> |
84 | <code>#include·"<a·class="el"·href="a00032_source.html">areawriter_impl.hh</a>"</code><br·/> | ||
86 | <code>#include·<dune/common/fvector.hh></code><br·/> | ||
87 | <code>#include·<dune/common/hybridutilities.hh></code><br·/> | ||
88 | <code>#include·<dune/geometry/type.hh></code><br·/> | ||
89 | </div> | 85 | </div> |
90 | <p><a·href="a00047_source.html">Go·to·the·source·code·of·this·file.</a></p> | 86 | <p><a·href="a00047_source.html">Go·to·the·source·code·of·this·file.</a></p> |
91 | <table·class="memberdecls"> | 87 | <table·class="memberdecls"> |
92 | <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> |
93 | Namespaces</h2></td></tr> | 89 | 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> | 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> |
95 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 91 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
96 | <tr·class="memitem:a0010 | 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> |
97 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 93 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
98 | </table><table·class="memberdecls"> | 94 | </table><table·class="memberdecls"> |
99 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="define-members"·name="define-members"></a> | ||
100 | Macros</h2></td></tr> | ||
101 | <tr·class="memitem:a1a95f4074572a7a9e13bcb072afef070"·id="r_a1a95f4074572a7a9e13bcb072afef070"><td·class="memItemLeft"·align="right"·valign="top">#define </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00047.html#a1a95f4074572a7a9e13bcb072afef070">CheckMPIStatus</a>(A,··B)   {}</td></tr> | ||
102 | <tr·class="separator:a1a95f4074572a7a9e13bcb072afef070"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
103 | </table><table·class="memberdecls"> | ||
104 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> | 95 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> |
105 | Functions</h2></td></tr> | 96 | Functions</h2></td></tr> |
106 | <tr·class="memitem:ad5f2c9c42d7cc552cfdc87724ec03a30"·id="r_ad5f2c9c42d7cc552cfdc87724ec03a30"><td·class="memTemplParams"·colspan="2">template<typename·OP·,·typename...·Args>·</td></tr> | ||
107 | <tr·class="memitem:ad5f2c9c42d7cc552cfdc87724ec03a30"><td·class="memTemplItemLeft"·align="right"·valign="top">void </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00108.html#ad5f2c9c42d7cc552cfdc87724ec03a30">Dune::Parallel::MPI_AllApply</a>·(MPI_Comm·mpicomm,·OP·&&op,·const·Args·&...·data)</td></tr> | ||
108 | <tr·class="mem | 97 | <tr·class="memitem:a16ccdbde4466d3073eab2a0f25d78f4e"·id="r_a16ccdbde4466d3073eab2a0f25d78f4e"><td·class="memTemplParams"·colspan="2">template<int·side,·typename·Glue·>·</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> | ||
99 | <tr·class="separator:a16ccdbde4466d3073eab2a0f25d78f4e"><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: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> | ||
102 | <tr·class="separator:a426e3cf8b8d851b1091af8ad0b2ff2de"><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> | ||
109 | <tr·class="separator:a | 105 | <tr·class="separator:ab4463688255524d5d7433ae6af851884"><td·class="memSeparator"·colspan="2"> </td></tr> |
110 | </table> | 106 | </table> |
111 | <h2·class="groupheader">Macro·Definition·Documentation</h2> | ||
112 | <a·id="a1a95f4074572a7a9e13bcb072afef070"·name="a1a95f4074572a7a9e13bcb072afef070"></a> | ||
113 | <h2·class="memtitle"><span·class="permalink"><a·href="#a1a95f4074572a7a9e13bcb072afef070">◆ </a></span>CheckMPIStatus</h2> | ||
114 | <div·class="memitem"> | ||
115 | <div·class="memproto"> | ||
116 | ······<table·class="memname"> | ||
117 | ········<tr> | ||
118 | ··········<td·class="memname">#define·CheckMPIStatus</td> | ||
119 | ··········<td>(</td> | ||
120 | ··········<td·class="paramtype"> </td> | ||
121 | ··········<td·class="paramname">A,·</td> | ||
122 | ········</tr> | ||
123 | ········<tr> | ||
124 | ··········<td·class="paramkey"></td> | ||
125 | ··········<td></td> | ||
126 | ··········<td·class="paramtype"> </td> | ||
127 | ··········<td·class="paramname">B </td> | ||
128 | ········</tr> | ||
129 | ········<tr> | ||
130 | ··········<td></td> | ||
131 | ··········<td>)</td> | ||
132 | ··········<td></td><td>   {}</td> | ||
133 | ········</tr> | ||
134 | ······</table> | ||
135 | </div><div·class="memdoc"> | ||
136 | <dl·class="todo"><dt><b><a·class="el"·href="a00101.html#_todo000011">Todo:</a></b></dt><dd>Implement·MPI·Status·check·with·exception·handling·</dd></dl> | ||
137 | </div> | ||
138 | </div> | ||
139 | </div><!--·contents·--> | 107 | </div><!--·contents·--> |
140 | <!--·start·footer·part·--> | 108 | <!--·start·footer·part·--> |
141 | <hr·class="footer"/><address·class="footer"><small> | 109 | <hr·class="footer"/><address·class="footer"><small> |
142 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 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 |
143 | </small></address> | 111 | </small></address> |
144 | </body> | 112 | </body> |
145 | </html> | 113 | </html> |
Offset 7, 40 lines modified | Offset 7, 33 lines modified | ||
7 | Loading... | 7 | Loading... |
8 | Searching... | 8 | Searching... |
9 | No·Matches | 9 | No·Matches |
10 | ····*·dune | 10 | ····*·dune |
11 | ····*·grid-glue | 11 | ····*·grid-glue |
12 | ····*·common | 12 | ····*·common |
13 | Namespaces·|· | 13 | Namespaces·|·Functions |
14 | areawriter.hh·File·Reference | ||
15 | #include·<ostream> | ||
16 | #include·<string> | ||
17 | #include·"areawriter_impl.hh" | ||
14 | ringcomm.hh·File·Reference | ||
15 | #include·<mpi.h> | ||
16 | #include·<functional> | ||
17 | #include·<utility> | ||
18 | #include·<dune/common/fvector.hh> | ||
19 | #include·<dune/common/hybridutilities.hh> | ||
20 | #include·<dune/geometry/type.hh> | ||
21 | Go_to_the_source_code_of_this_file. | 18 | Go_to_the_source_code_of_this_file. |
22 | ·Namespaces | 19 | ·Namespaces |
23 | namespace· Dune | 20 | namespace· Dune |
24 | 21 | ||
25 | namespace· Dune:: | 22 | namespace· Dune::GridGlue |
26 | |||
27 | ·Macros | ||
28 | #define CheckMPIStatus(A,·B) {} | ||
29 | 23 | ||
30 | ·Functions | 24 | ·Functions |
31 | template<typename·OP·,·typename...·Args> | ||
32 | void Dune::Parallel::MPI_AllApply·(MPI_Comm·mpicomm,·OP·&&op,·const·Args·&... | ||
33 | ······data) | ||
34 | 25 | template<int·side,·typename·Glue·> | |
26 | void Dune::GridGlue::write_glue_area_vtk·(const·Glue·&glue,·std::ostream·&out) | ||
27 | |||
28 | template<int·side,·typename·Glue·> | ||
29 | void Dune::GridGlue::write_glue_area_vtk·(const·Glue·&glue,·const·std::string | ||
30 | ······&filename) | ||
31 | |||
32 | template<typename·Glue·> | ||
33 | void Dune::GridGlue::write_glue_areas_vtk·(const·Glue·&glue,·const·std::string | ||
34 | ······&base) | ||
35 | 35 | ||
36 | *****·Macro·Definition·Documentation·***** | ||
37 | *****·◆ CheckMPIStatus·***** | ||
38 | #define·CheckMPIStatus·(· A, | ||
39 | ························· B | ||
40 | ·······················)··· {} | ||
41 | ··Todo: | ||
42 | ······Implement·MPI·Status·check·with·exception·handling | ||
43 | =============================================================================== | 36 | =============================================================================== |
44 | ·····Generated·by [doxygen]·1.9.8 | 37 | ·····Generated·by [doxygen]·1.9.8 |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-grid-glue:·r | 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, 309 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">r | 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="a00047.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·©·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div> | ||
83 | <a·href="a00047.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | ||
84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | ||
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_COMMON_AREAWRITER_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_AREAWRITER_HH</span></div> | ||
88 | <div·class="line"><a·id="l0000 | 87 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</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="preprocessor">#include·<ostream></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="l0000 | 90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span>·</div> |
91 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<mpi.h></span></div> | ||
92 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<functional></span></div> | ||
93 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<utility></span></div> | ||
94 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> | ||
95 | <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="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·<dune/common/hybridutilities.hh></span></div> | ||
97 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div> | ||
98 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·<dune/geometry/type.hh></span></div> | ||
99 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div> | ||
100 | <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> |
101 | <div·class="foldopen"·id="foldopen00020"·data-start="{"·data-end="}"> | ||
102 | <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> |
103 | <div·class="line"><a·id="l000 | 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>·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> | ||
104 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>··<span·class="keyword">namespace·</span>Impl·{</div> | ||
105 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div> | ||
106 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>····<span·class="keyword">template</span><<span·class="keyword">typename</span>·T></div> | ||
107 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>····<span·class="keyword">struct·</span>MPITypeInfo·{};</div> | ||
108 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> | ||
109 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>····<span·class="keyword">template</span><></div> | ||
110 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>····<span·class="keyword">struct·</span>MPITypeInfo<·int·></div> | ||
111 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>····{</div> | ||
112 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>······<span·class="keyword">static</span>·<span·class="keyword">const</span>·<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·size·=·1;</div> | ||
113 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>······<span·class="keyword">static</span>·<span·class="keyword">inline</span>·MPI_Datatype·getType()</div> | ||
114 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>······{</div> | ||
115 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>········<span·class="keywordflow">return</span>·MPI_INT;</div> | ||
116 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>······}</div> | ||
117 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>····};</div> | ||
118 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div> | ||
119 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>····<span·class="keyword">template</span><<span·class="keyword">typename</span>·K,·<span·class="keywordtype">int</span>·N></div> | ||
120 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>····<span·class="keyword">struct·</span>MPITypeInfo<·<a·class="code·hl_namespace"·href="a00103.html">Dune</a>::FieldVector<K,N>·></div> | ||
121 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>····{</div> | ||
122 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>······<span·class="keyword">static</span>·<span·class="keyword">const</span>·<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·size·=·N;</div> | ||
123 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>······<span·class="keyword">static</span>·<span·class="keyword">inline</span>·MPI_Datatype·getType()</div> | ||
124 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>······{</div> | ||
125 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>········<span·class="keywordflow">return</span>·Dune::MPITraits<K>::getType();</div> | ||
126 | <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>····};</div> | ||
128 | <div·class="line"><a·id="l000 | 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> | ||
129 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>····<span·class="keyword">template</span><></div> | ||
130 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>····<span·class="keyword">struct·</span>MPITypeInfo<·unsigned·int·></div> | ||
131 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>····{</div> | ||
132 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>······<span·class="keyword">static</span>·<span·class="keyword">const</span>·<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·size·=·1;</div> | ||
133 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>······<span·class="keyword">static</span>·<span·class="keyword">inline</span>·MPI_Datatype·getType()</div> | ||
134 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>······{</div> | ||
135 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>········<span·class="keywordflow">return</span>·MPI_UNSIGNED;</div> | ||
136 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>······}</div> | ||
137 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>····};</div> | ||
138 | <div·class="line"><a·id="l000 | 99 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> |
139 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>····<span·class="keyword">template</span><></div> | ||
140 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>····<span·class="keyword">struct·</span>MPITypeInfo<·<a·class="code·hl_namespace"·href="a00103.html">Dune</a>::GeometryType·></div> | ||
141 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>····{</div> | ||
142 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>······<span·class="keyword">static</span>·<span·class="keyword">const</span>·<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·size·=·1;</div> | ||
143 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>······<span·class="keyword">static</span>·<span·class="keyword">inline</span>·MPI_Datatype·getType()</div> | ||
144 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>······{</div> | ||
145 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>········<span·class="keywordflow">return</span>·Dune::MPITraits<·Dune::GeometryType·>::getType();</div> | ||
146 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>······}</div> | ||
147 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>····};</div> | ||
148 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div> | ||
149 | <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> | ||
150 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>····<span·class="keywordtype">void</span>·MPI_SetVectorSize(</div> | ||
151 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>······std::vector<T>·&·data,</div> | ||
152 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>······MPI_Status·&·status)</div> | ||
153 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>····{</div> | ||
154 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>······<span·class="keyword">typedef</span>·MPITypeInfo<T>·Info;</div> | ||
155 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>······<span·class="keywordtype">int</span>·sz;</div> | ||
156 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>······MPI_Get_count(&status,·Info::getType(),·&sz);</div> | ||
157 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>······assert(sz%Info::size·==·0);</div> | ||
158 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>······data.resize(sz/Info::size);</div> | ||
159 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>····}</div> | ||
160 | <div·class="line"><a·id="l000 | 102 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div> |
161 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>····<span·class="keyword">template</span><<span·class="keyword">typename</span>·T></div> | ||
162 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>····<span·class="keywordtype">void</span>·MPI_SendVectorInRing(</div> | ||
163 | <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>······std::vector<T>·&·data,</div> | ||
164 | <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>······std::vector<T>·&·next,</div> | ||
165 | <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>······<span·class="keywordtype">int</span>·tag,</div> | ||
166 | <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>······<span·class="keywordtype">int</span>·rightrank,</div> | ||
167 | <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>······<span·class="keywordtype">int</span>·leftrank,</div> | ||
168 | <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>······MPI_Comm·comm,</div> | ||
169 | <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>······MPI_Request&·r_send,</div> | ||
170 | <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>······MPI_Request&·r_recv</div> | ||
171 | <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>······)</div> | ||
172 | <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>····{</div> | ||
173 | <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>······<span·class="comment">//·mpi·status·stuff</span></div> | ||
174 | <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>······[[maybe_unused]]·<span·class="keywordtype">int</span>·result·=·0;</div> | ||
175 | <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>······<span·class="keyword">typedef</span>·MPITypeInfo<T>·Info;</div> | ||
Max diff block lines reached; 1472/48835 bytes (3.01%) of diff not shown. |
Offset 8, 309 lines modified | Offset 8, 49 lines modified | ||
8 | Loading... | 8 | Loading... |
9 | Searching... | 9 | Searching... |
10 | No·Matches | 10 | No·Matches |
11 | ····*·dune | 11 | ····*·dune |
12 | ····*·grid-glue | 12 | ····*·grid-glue |
13 | ····*·common | 13 | ····*·common |
14 | r | 14 | areawriter.hh |
15 | Go_to_the_documentation_of_this_file. | 15 | Go_to_the_documentation_of_this_file. |
16 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | ||
17 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: | ||
18 | · | 16 | ·1//·SPDX-FileCopyrightInfo:·Copyright·©·DUNE·Project·contributors,·see·file |
19 | LICENSE.md·in·module·root | 17 | LICENSE.md·in·module·root |
20 | · | 18 | ·2//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only- |
21 | with-dune-grid-glue-exception | 19 | with-dune-grid-glue-exception |
20 | ·3#ifndef·DUNE_GRIDGLUE_COMMON_AREAWRITER_HH | ||
21 | ·4#define·DUNE_GRIDGLUE_COMMON_AREAWRITER_HH | ||
22 | ·5 | ||
23 | ·6#include·<ostream> | ||
24 | ·7#include·<string> | ||
22 | ·5/*·IMPLEMENTATION·OF·CLASS·G·R·I·D·G·L·U·E·*/ | ||
23 | ·6 | ||
24 | 8#define·CheckMPIStatus(A,B)·{} | ||
25 | ·9 | ||
26 | ·10#include·<mpi.h> | ||
27 | ·11#include·<functional> | ||
28 | ·12#include·<utility> | ||
29 | ·13 | ||
30 | ·14#include·<dune/common/fvector.hh> | ||
31 | ·15#include·<dune/common/hybridutilities.hh> | ||
32 | ·16 | ||
33 | ·17#include·<dune/geometry/type.hh> | ||
34 | · | 25 | ·8 |
35 | · | 26 | ·9namespace·Dune·{ |
27 | ·10namespace·GridGlue·{ | ||
28 | ·11 | ||
29 | ·12template<int·side,·typename·Glue> | ||
30 | ·13void·write_glue_area_vtk(const·Glue&·glue,·std::ostream&·out); | ||
31 | ·14 | ||
32 | ·15template<int·side,·typename·Glue> | ||
33 | ·16void·write_glue_area_vtk(const·Glue&·glue,·const·std::string&·filename); | ||
36 | 20namespace·Parallel·{ | ||
37 | ·21 | ||
38 | ·22·namespace·Impl·{ | ||
39 | ·23 | ||
40 | ·25·template<typename·T> | ||
41 | ·26·struct·MPITypeInfo·{}; | ||
42 | ·27 | ||
43 | ·28·template<> | ||
44 | ·29·struct·MPITypeInfo<·int·> | ||
45 | ·30·{ | ||
46 | ·31·static·const·unsigned·int·size·=·1; | ||
47 | ·32·static·inline·MPI_Datatype·getType() | ||
48 | ·33·{ | ||
49 | ·34·return·MPI_INT; | ||
50 | ·35·} | ||
51 | ·36·}; | ||
52 | ·37 | ||
53 | ·38·template<typename·K,·int·N> | ||
54 | ·39·struct·MPITypeInfo<·Dune::FieldVector<K,N>·> | ||
55 | ·40·{ | ||
56 | ·41·static·const·unsigned·int·size·=·N; | ||
57 | ·42·static·inline·MPI_Datatype·getType() | ||
58 | ·43·{ | ||
59 | ·44·return·Dune::MPITraits<K>::getType(); | ||
60 | ·45·} | ||
61 | ·46·}; | ||
62 | ·47 | ||
63 | ·48·template<> | ||
64 | ·49·struct·MPITypeInfo<·unsigned·int·> | ||
65 | ·50·{ | ||
66 | ·51·static·const·unsigned·int·size·=·1; | ||
67 | ·52·static·inline·MPI_Datatype·getType() | ||
68 | ·53·{ | ||
69 | ·54·return·MPI_UNSIGNED; | ||
70 | ·55·} | ||
71 | ·56·}; | ||
72 | ·57 | ||
73 | ·58·template<> | ||
74 | ·59·struct·MPITypeInfo<·Dune::GeometryType·> | ||
75 | ·60·{ | ||
76 | ·61·static·const·unsigned·int·size·=·1; | ||
77 | ·62·static·inline·MPI_Datatype·getType() | ||
78 | ·63·{ | ||
79 | ·64·return·Dune::MPITraits<·Dune::GeometryType·>::getType(); | ||
80 | ·65·} | ||
81 | ·66·}; | ||
82 | ·67 | ||
83 | ·68·template<typename·T> | ||
84 | ·69·void·MPI_SetVectorSize( | ||
85 | ·70·std::vector<T>·&·data, | ||
86 | ·71·MPI_Status·&·status) | ||
87 | ·72·{ | ||
88 | ·73·typedef·MPITypeInfo<T>·Info; | ||
89 | ·74·int·sz; | ||
90 | ·75·MPI_Get_count(&status,·Info::getType(),·&sz); | ||
91 | ·76·assert(sz%Info::size·==·0); | ||
92 | ·77·data.resize(sz/Info::size); | ||
93 | ·78·} | ||
94 | ·79 | ||
95 | ·89·template<typename·T> | ||
96 | ·90·void·MPI_SendVectorInRing( | ||
97 | ·91·std::vector<T>·&·data, | ||
98 | ·92·std::vector<T>·&·next, | ||
99 | ·93·int·tag, | ||
100 | ·94·int·rightrank, | ||
101 | ·95·int·leftrank, | ||
102 | ·96·MPI_Comm·comm, | ||
103 | ·97·MPI_Request&·r_send, | ||
104 | ·98·MPI_Request&·r_recv | ||
105 | ·99·) | ||
106 | ·100·{ | ||
107 | ·101·//·mpi·status·stuff | ||
108 | ·102·[[maybe_unused]]·int·result·=·0; | ||
109 | ·103·typedef·MPITypeInfo<T>·Info; | ||
110 | ·104·//·resize·next·buffer·to·maximum·size | ||
111 | ·105·next.resize(next.capacity()); | ||
112 | ·106·//·send·data·(explicitly·send·data.size·elements) | ||
113 | ·107·result·= | ||
114 | ·108·MPI_Isend( | ||
115 | ·109·&(data[0]),·Info::size*data.size(),·Info::getType(),·rightrank,·tag, | ||
116 | ·110·comm,·&r_send); | ||
117 | ·111·//·receive·up·to·maximum·size.·The·acutal·size·is·stored·in·the·status | ||
118 | ·112·result·= | ||
119 | ·113·MPI_Irecv( | ||
120 | ·114·&(next[0]),·Info::size*next.size(),·Info::getType(),·leftrank,·tag, | ||
121 | ·115·comm,·&r_recv); | ||
Max diff block lines reached; 602/9780 bytes (6.16%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="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 70, 56 lines modified | Offset 70, 61 lines modified | ||
70 | <div·id="nav-path"·class="navpath"> | 70 | <div·id="nav-path"·class="navpath"> |
71 | ··<ul> | 71 | ··<ul> |
72 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_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"> | 79 | ··<div·class="headertitle"><div·class="title">projectionwriter_impl.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·<fstream></code><br·/> | 82 | <div·class="textblock"><code>#include·<fstream></code><br·/> |
84 | <code>#include·<vector></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> | 83 | </div> |
89 | <p><a·href="a00050_source.html">Go·to·the·source·code·of·this·file.</a></p> | 84 | <p><a·href="a00050_source.html">Go·to·the·source·code·of·this·file.</a></p> |
90 | <table·class="memberdecls"> | 85 | <table·class="memberdecls"> |
91 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | ||
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> | 86 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
97 | Namespaces</h2></td></tr> | 87 | 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> | 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> |
99 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 89 | <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> | 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> |
101 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 91 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
102 | <tr·class="memitem:a0010 | 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> |
103 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 93 | <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: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> | ||
114 | <tr·class="memdesc:a4dcc05f4b64a511b2e9548e371e140a7"><td·class="mdescLeft"> </td><td·class="mdescRight">write·projection·in·VTK·format··<br·/></td></tr> | ||
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> | ||
109 | <tr·class="separator:a | 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> | ||
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:a | 123 | <tr·class="separator:ace9cbed627c90927e36d71a65a5498a3"><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> | ||
119 | </table> | 124 | </table> |
120 | </div><!--·contents·--> | 125 | </div><!--·contents·--> |
121 | <!--·start·footer·part·--> | 126 | <!--·start·footer·part·--> |
122 | <hr·class="footer"/><address·class="footer"><small> | 127 | <hr·class="footer"/><address·class="footer"><small> |
123 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 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 |
124 | </small></address> | 129 | </small></address> |
125 | </body> | 130 | </body> |
Offset 7, 44 lines modified | Offset 7, 61 lines modified | ||
7 | Loading... | 7 | Loading... |
8 | Searching... | 8 | Searching... |
9 | No·Matches | 9 | No·Matches |
10 | ····*·dune | 10 | ····*·dune |
11 | ····*·grid-glue | 11 | ····*·grid-glue |
12 | ····*·common | 12 | ····*·common |
13 | 13 | Namespaces·|·Functions | |
14 | 14 | projectionwriter_impl.hh·File·Reference | |
15 | #include·<fstream> | 15 | #include·<fstream> |
16 | #include·<vector> | ||
17 | #include·<dune/common/fvector.hh> | ||
18 | #include·<dune/geometry/type.hh> | ||
19 | #include·<dune/grid/common/mcmgmapper.hh> | ||
20 | Go_to_the_source_code_of_this_file. | 16 | Go_to_the_source_code_of_this_file. |
21 | ·Classes | ||
22 | struct· Dune::GridGlue::AreaWriterImplementation::FacetLayout<_dimgrid_> | ||
23 | |||
24 | ·Namespaces | 17 | ·Namespaces |
25 | namespace· Dune | 18 | namespace· Dune |
26 | 19 | ||
27 | namespace· Dune::GridGlue | 20 | namespace· Dune::GridGlue |
28 | 21 | ||
29 | namespace· Dune::GridGlue:: | 22 | namespace· Dune::GridGlue::ProjectionWriterImplementation |
30 | 23 | ||
31 | ·Functions | 24 | ·Functions |
32 | template<typename· | 25 | template<unsigned·side,·typename·Coordinate·,·typename·Corners·> |
33 | void Dune::GridGlue:: | 26 | void Dune::GridGlue::ProjectionWriterImplementation::write_points·(const |
34 | ······ | 27 | ······Projection<·Coordinate·>·&projection,·const·Corners·&corners,·std:: |
28 | ······ostream·&out) | ||
35 | 29 | ||
36 | template<int·side,·typename·Glue·> | ||
37 | 30 | template<unsigned·side,·typename·Coordinate·,·typename·Normals·> | |
31 | void Dune::GridGlue::ProjectionWriterImplementation::write_normals·(const | ||
32 | ······Projection<·Coordinate·>·&projection,·const·Normals·&normals,·std:: | ||
33 | ······ostream·&out) | ||
38 | 34 | ||
39 | template<int·side,·typename·Glue·> | ||
40 | void Dune::GridGlue::write_glue_area_vtk·(const·Glue·&glue,·const·std::string | ||
41 | · | 35 | template<typename·Coordinate·,·typename·Corners·> |
36 | void Dune::GridGlue::ProjectionWriterImplementation:: | ||
37 | ······write_edge_intersection_points·(const·Projection<·Coordinate·> | ||
38 | ······&projection,·const·Corners·&corners,·std::ostream·&out) | ||
42 | 39 | ||
43 | template<typename·Glue·> | ||
44 | void Dune::GridGlue::write_glue_areas_vtk·(const·Glue·&glue,·const·std::string | ||
45 | ···· | 40 | template<typename·Coordinate·,·typename·Normals·> |
41 | void Dune::GridGlue::ProjectionWriterImplementation:: | ||
42 | ······write_edge_intersection_normals·(const·Projection<·Coordinate·> | ||
43 | ······&projection,·const·Normals·&normals,·std::ostream·&out) | ||
44 | |||
45 | template<unsigned·side,·typename·Coordinate·> | ||
46 | void Dune::GridGlue::ProjectionWriterImplementation::write_success·(const | ||
47 | ······Projection<·Coordinate·>·&projection,·std::ostream·&out) | ||
48 | |||
49 | template<typename·Coordinate·,·typename·Corners·,·typename·Normals·> | ||
50 | void Dune::GridGlue::write·(const·Projection<·Coordinate·>·&projection,·const | ||
51 | ······Corners·&corners,·const·Normals·&normals,·std::ostream·&out) | ||
52 | ····write·projection·in·VTK·format | ||
53 | |||
54 | template<typename·Coordinate·,·typename·Corners·,·typename·Normals·> | ||
55 | void Dune::GridGlue::write·(const·Projection<·Coordinate·>·&projection,·const | ||
56 | ······Corners·&corners,·const·Normals·&normals,·const·std::string·&filename) | ||
57 | ····write·projection·in·VTK·format | ||
58 | |||
59 | template<typename·Coordinate·,·typename·Corners·,·typename·Normals·> | ||
60 | void Dune::GridGlue::print·(const·Projection<·Coordinate·>·&projection,·const | ||
61 | ······Corners·&corners,·const·Normals·&normals) | ||
62 | ····Print·information·about·the·projection·to·std::cout·stream. | ||
46 | 63 | ||
47 | =============================================================================== | 64 | =============================================================================== |
48 | ·····Generated·by [doxygen]·1.9.8 | 65 | ·····Generated·by [doxygen]·1.9.8 |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-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, 183 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="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">#include·<fstream></span></div> | 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">#include·<vector></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> |
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> | ||
88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class=" | 88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</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="preprocessor">#include·<dune/geometry/type.hh></span></div> | ||
90 | <div·class="line"><a·id="l0000 | 89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</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> | ||
91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> | 92 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> |
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="l0001 | 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[·...·truncated·by·diffoscope;·len:·19,·SHA:·370a705c71293c0f4cff63ca64016e223ea1659c88219c847c6fa7732f9733d2·...·]</div> |
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> | ||
94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span> | 96 | <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"> | 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="l00014"·name="l00014"></a><span·class="lineno">···14</span>··<span·class="keyword">using·</span>std::get;</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> | ||
97 | <div·class="line"><a·id="l0001 | 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> | ||
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="l0001 | 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> | ||
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="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> | ||
106 | <div·class="line"><a·id="l0002 | 107 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>··}</div> |
108 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>}</div> | ||
107 | </div> | 109 | </div> |
108 | <div·class="line"><a·id="l0002 | 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> | ||
109 | </div> | 127 | </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>· | 128 | <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> | ||
131 | <div·class="line"><a·id="l0004 | 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> | 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="l00046"·name="l00046"></a><span·class="lineno">···46</span>··<span·class="keyword">using·</span>std::get;</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="l0004 | 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>··{</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="l0005 | 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> | ||
147 | <div·class="line"><a·id="l0005 | 140 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>··}</div> |
Max diff block lines reached; 33779/63870 bytes (52.89%) of diff not shown. |
Offset 8, 185 lines modified | Offset 8, 239 lines modified | ||
8 | Loading... | 8 | Loading... |
9 | Searching... | 9 | Searching... |
10 | No·Matches | 10 | No·Matches |
11 | ····*·dune | 11 | ····*·dune |
12 | ····*·grid-glue | 12 | ····*·grid-glue |
13 | ····*·common | 13 | ····*·common |
14 | 14 | projectionwriter_impl.hh | |
15 | Go_to_the_documentation_of_this_file. | 15 | Go_to_the_documentation_of_this_file. |
16 | ·1//·SPDX-FileCopyrightInfo:·Copyright·©·DUNE·Project·contributors,·see·file | 16 | ·1//·SPDX-FileCopyrightInfo:·Copyright·©·DUNE·Project·contributors,·see·file |
17 | LICENSE.md·in·module·root | 17 | LICENSE.md·in·module·root |
18 | ·2//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only- | 18 | ·2//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only- |
19 | with-dune-grid-glue-exception | 19 | with-dune-grid-glue-exception |
20 | ·3#include·<fstream> | 20 | ·3#include·<fstream> |
21 | ·4#include·<vector> | ||
22 | ·5 | ||
23 | ·6#include·<dune/common/fvector.hh> | ||
24 | ·7#include·<dune/geometry/type.hh> | ||
25 | · | 21 | ·4 |
22 | ·5namespace·Dune·{ | ||
23 | ·6namespace·GridGlue·{ | ||
24 | ·7 | ||
25 | 8namespace·ProjectionWriterImplementation·{ | ||
26 | ·9 | 26 | ·9 |
27 | ·10namespace·Dune·{ | ||
28 | ·1 | 27 | ·10template<unsigned·side,·typename·Coordinate,·typename·Corners> |
28 | 11void·write_points(const·Projection<Coordinate>&·projection,·const·Corners& | ||
29 | corners,·std::ostream&·out) | ||
29 | ·12 | 30 | ·12{ |
31 | ·13·using·namespace·ProjectionImplementation; | ||
32 | ·14·using·std::get; | ||
33 | ·15·const·unsigned·other_side·=·1·-·side; | ||
34 | ·16 | ||
30 | 13namespace·AreaWriterImplementation·{ | ||
31 | ·14 | ||
32 | ·15template<int·dimgrid> | ||
33 | 16struct·FacetLayout | ||
34 | ·17{ | ||
35 | 18·bool·contains(Dune::GeometryType·gt)·const | ||
36 | ·19·{ | ||
37 | ·20·return·gt.dim()·==·dimgrid·-·1; | ||
38 | ·21·} | ||
39 | ·22}; | ||
40 | ·23 | ||
41 | ·24template<typename·GridView> | ||
42 | 25void·write_facet_geometry(const·GridView&·gv,·std::ostream&·out) | ||
43 | ·26{ | ||
44 | ·27·using·Coordinate·=·Dune::FieldVector<double,·3>; | ||
45 | ·28 | ||
46 | ·29·std::vector<Coordinate>·corners; | ||
47 | ·30·for·(const·auto&·facet·:·facets(gv))·{ | ||
48 | ·31·const·auto·geometry·=·facet.geometry(); | ||
49 | ·32·for·(int·i·=·0;·i·<·geometry.corners();·++i)·{ | ||
50 | ·33·/*·VTK·always·needs·3-dim·coordinates...·*/ | ||
51 | ·34·const·auto·c0·=·geometry.corner(i); | ||
52 | ·35·Coordinate·c1; | ||
53 | ·36·for·(int·d·=·0;·d·<·GridView::dimensionworld;·++d) | ||
54 | ·37·c1[d]·=·c0[d]; | ||
55 | ·38·for·(int·d·=·GridView::dimensionworld;·d·<·Coordinate::dimension;·++d) | ||
56 | ·39·c1[d]·=·double(0); | ||
57 | ·40·corners.push_back(c1); | ||
58 | ·41·} | ||
59 | ·42·} | ||
60 | ·43 | ||
61 | ·44·{ | ||
62 | ·45·out·<<·"DATASET·UNSTRUCTURED_GRID\n" | ||
63 | ·46·<<·"POINTS·"·<<·corners.size()·<<·"·double\n"; | ||
64 | · | 35 | ·17·for·(const·auto&·c·:·get<side>(corners)) |
65 | · | 36 | ·18·out·<<·c·<<·"\n"; |
66 | ·49·} | ||
67 | ·50·{ | ||
68 | ·51·out·<<·"CELLS·"·<<·gv.size(1)·<<·"·"·<<·(gv.size(1)·+·corners.size())·<< | ||
69 | "\n"; | ||
70 | ·52·std::size_t·c·=·0; | ||
71 | ·53·for·(const·auto&·facet·:·facets(gv))·{ | ||
72 | ·54·const·auto·geometry·=·facet.geometry(); | ||
73 | ·55·out·<<·geometry.corners(); | ||
74 | ·56·for·(int·i·=·0;·i·<·geometry.corners();·++i,·++c) | ||
75 | · | 37 | ·19 |
38 | ·20·for·(const·auto&·i·:·get<side>(projection.images()))·{ | ||
39 | ·21·const·auto·global·=·interpolate(i,·get<other_side>(corners)); | ||
40 | ·22·out·<<·global·<<·"\n"; | ||
41 | ·23·} | ||
42 | ·24} | ||
43 | ·25 | ||
44 | ·26template<unsigned·side,·typename·Coordinate,·typename·Normals> | ||
45 | 27void·write_normals(const·Projection<Coordinate>&·projection,·const·Normals& | ||
46 | normals,·std::ostream&·out) | ||
47 | ·28{ | ||
48 | ·29·using·namespace·ProjectionImplementation; | ||
49 | ·30·using·std::get; | ||
50 | ·31·const·unsigned·other_side·=·1·-·side; | ||
51 | ·32 | ||
52 | ·33·for·(const·auto&·n·:·get<side>(normals)) | ||
53 | ·34·out·<<·n·<<·"\n"; | ||
54 | ·35 | ||
55 | ·36·for·(const·auto&·x·:·get<side>(projection.images()))·{ | ||
56 | ·37·const·auto·n·=·interpolate_unit_normals(x,·get<other_side>(normals)); | ||
76 | · | 57 | ·38·out·<<·n·<<·"\n"; |
77 | · | 58 | ·39·} |
59 | ·40} | ||
60 | ·41 | ||
61 | ·42template<typename·Coordinate,·typename·Corners> | ||
62 | 43void·write_edge_intersection_points(const·Projection<Coordinate>&·projection, | ||
63 | const·Corners&·corners,·std::ostream&·out) | ||
64 | ·44{ | ||
65 | ·45·using·namespace·ProjectionImplementation; | ||
66 | ·46·using·std::get; | ||
67 | ·47 | ||
68 | ·48·for·(std::size_t·i·=·0;·i·<·projection.numberOfEdgeIntersections();·++i)·{ | ||
69 | ·49·const·auto&·local·=·projection.edgeIntersections()[i].local; | ||
70 | ·50·out·<<·interpolate(local[0],·get<0>(corners))·<<·"\n" | ||
71 | ·51·<<·interpolate(local[1],·get<1>(corners))·<<·"\n"; | ||
72 | ·52·} | ||
73 | ·53} | ||
74 | ·54 | ||
75 | ·55template<typename·Coordinate,·typename·Normals> | ||
76 | 56void·write_edge_intersection_normals(const·Projection<Coordinate>& | ||
77 | projection,·const·Normals&·normals,·std::ostream&·out) | ||
78 | ·57{ | ||
79 | ·58·using·namespace·ProjectionImplementation; | ||
80 | ·59·using·std::get; | ||
81 | ·60 | ||
82 | ·61·for·(std::size_t·i·=·0;·i·<·projection.numberOfEdgeIntersections();·++i)·{ | ||
83 | ·62·const·auto&·local·=·projection.edgeIntersections()[i].local; | ||
84 | ·63·const·auto·n0·=·interpolate_unit_normals(local[0],·get<0>(normals)); | ||
85 | ·64·const·auto·n1·=·interpolate_unit_normals(local[1],·get<1>(normals)); | ||
Max diff block lines reached; 9188/14447 bytes (63.60%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-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, 42 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> | 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·<iomanip></code><br·/> | ||
85 | <code>#include·< | 86 | <code>#include·<vector></code><br·/> |
87 | <code>#include·<cstring></code><br·/> | ||
86 | <code>#include·<dune/common/deprecated.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="a00014_source.html">../adapter/gridgluevtkwriter.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="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> |
95 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 95 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
96 | </table><table·class="memberdecls"> | 96 | </table><table·class="memberdecls"> |
97 | <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> |
98 | Namespaces</h2></td></tr> | 98 | 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> | 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> |
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: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> |
102 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 102 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
103 | </table> | 103 | </table> |
104 | <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> |
105 | <div·class="textblock"><p> | 105 | <div·class="textblock"><p>helper·class·for·graphical·output·of·grids·in·generic·representation·</p> |
106 | </div></div><!--·contents·--> | 106 | </div></div><!--·contents·--> |
107 | <!--·start·footer·part·--> | 107 | <!--·start·footer·part·--> |
108 | <hr·class="footer"/><address·class="footer"><small> | 108 | <hr·class="footer"/><address·class="footer"><small> |
109 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 109 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
110 | </small></address> | 110 | </small></address> |
111 | </body> | 111 | </body> |
112 | </html> | 112 | </html> |
Offset 8, 28 lines modified | Offset 8, 28 lines modified | ||
8 | Loading... | 8 | Loading... |
9 | Searching... | 9 | Searching... |
10 | No·Matches | 10 | No·Matches |
11 | ····*·dune | 11 | ····*·dune |
12 | ····*·grid-glue | 12 | ····*·grid-glue |
13 | ····*·extractors | 13 | ····*·extractors |
14 | Classes·|·Namespaces | 14 | Classes·|·Namespaces |
15 | codim0extractor.hh·File·Reference | ||
16 | Mesh·grid·extractor·base·class.·More... | ||
17 | #include·<deque> | ||
18 | #include·<functional> | ||
19 | #include·<dune/common/deprecated.hh> | ||
20 | #include·<dune/grid/common/mcmgmapper.hh> | ||
21 | 15 | vtksurfacewriter.hh·File·Reference | |
16 | helper·class·for·graphical·output·of·grids·in·generic·representation·More... | ||
17 | #include·<fstream> | ||
18 | #include·<iomanip> | ||
19 | #include·<vector> | ||
20 | #include·<cstring> | ||
21 | #include·"../adapter/gridgluevtkwriter.hh" | ||
22 | Go_to_the_source_code_of_this_file. | 22 | Go_to_the_source_code_of_this_file. |
23 | ·Classes | 23 | ·Classes |
24 | class· Dune::GridGlue:: | 24 | class· Dune::GridGlue::VtkSurfaceWriter |
25 | 25 | ||
26 | ·Namespaces | 26 | ·Namespaces |
27 | namespace· Dune | 27 | namespace· Dune |
28 | 28 | ||
29 | namespace· Dune::GridGlue | 29 | namespace· Dune::GridGlue |
30 | 30 | ||
31 | *****·Detailed·Description·***** | 31 | *****·Detailed·Description·***** |
32 | 32 | helper·class·for·graphical·output·of·grids·in·generic·representation | |
33 | =============================================================================== | 33 | =============================================================================== |
34 | ·····Generated·by [doxygen]·1.9.8 | 34 | ·····Generated·by [doxygen]·1.9.8 |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-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, 276 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="a00056.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 83 | <a·href="a00056.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><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:··J | 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·< | 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·<vector></span></div> | ||
103 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#include·<cstring></span></div> | ||
102 | <div·class="line"><a·id="l0002 | 104 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</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="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> |
105 | <div·class="line"><a·id="l0002 | 106 | <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><span·class="preprocessor">#include·"<a·class="code"·href="a00053.html">extractor.hh</a>"</span></div> | ||
107 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div> | ||
108 | <div·class="line"><a·id="l0003 | 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> |
109 | <div·class="line"><a·id="l0003 | 108 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div> |
110 | <div·class="line"><a·id="l0003 | 109 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>··<span·class="keyword">namespace·</span>GridGlue·{</div> |
111 | <div·class="line"><a·id="l0003 | 110 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div> |
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> | ||
113 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>{</div> | ||
112 | <div·class="line"><a·id="l0003 | 114 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</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> | ||
113 | <div·class="foldopen"·id="foldopen00039"·data-start="{"·data-end="} | 117 | <div·class="foldopen"·id="foldopen00039"·data-start="{"·data-end="}"> |
114 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno"><a·class="line"·href="a010 | 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)·:·filenam[·...·truncated·by·diffoscope;·len:·12,·SHA:·9d6ca569e8578f65901932e945bc900eac0307ea48ca55aa317096fc4f6ee3a5·...·]</div> |
115 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>{</div> | 119 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>··{}</div> |
120 | </div> | ||
116 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·</div> | 121 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·</div> |
117 | <div·class=" | 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> | ||
118 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div> | 124 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>··{}</div> |
119 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</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> | ||
120 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>··<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01038.html">Extractor</a><GV,0><a·class="code·hl_variable"·href="a01038.html#a81546d6fc243df2658db228c02693832">::codim</a>;</div> | ||
121 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno"><a·class="line"·href="a01030.html#a602f3bd8ada60bc14e19c1d0898a3888">···46</a></span>··<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a01038.html#aaac747289d7b6803093e437b724858be">Extractor<GV,0>::ctype</a>·<a·class="code·hl_typedef"·href="a01030.html#a602f3bd8ada60bc14e19c1d0898a3888">ctype</a>;</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,0><a·class="code·hl_variable"·href="a01038.html#aeeab086dacf44e778ad8ae2c6de7d4f6">::dim</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,0><a·class="code·hl_variable"·href="a01038.html#a1f393e4fd59db3d9bb5fb2868a7422e2">::dimworld</a>;</div> | ||
124 | < | 125 | </div> |
126 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</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>··{</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> | ||
125 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</div> | 134 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</div> |
126 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno"><a·class="line"·href="a01030.html#a1f468ca162dec8d6a30e6cafffbb376e">···51</a></span>··<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·GV::Traits::template·Codim<dim>::Entity·<a·class="code·hl_typedef"·href="a01030.html#a1f468ca162dec8d6a30e6cafffbb376e">Vertex</a>;</div> | ||
127 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno"><a·class="line"·href="a01030.html#ac5cf9a9a45fc968b11c8652e777812f1">···52</a></span>··<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·GV::Traits::template·Codim<0>::Entity·<a·class="code·hl_typedef"·href="a01030.html#ac5cf9a9a45fc968b11c8652e777812f1">Element</a>;</div> | ||
128 | <div·class="line"><a·id="l0005 | 135 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</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> | ||
129 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</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> | ||
130 | <div·class="line"><a·id="l000 | 145 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>····<span·class="comment">//·write·preamble</span></div> |
131 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno"><a·class="line"·href="a01030.html#ad5bef19d848656dbee41234e3d7fdf04">···56</a></span>··<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·<a·class="code·hl_struct"·href="a01058.html">Extractor<GV,0>::SubEntityInfo</a>·<a·class="code·hl_typedef"·href="a01030.html#ad5bef19d848656dbee41234e3d7fdf04">SubEntityInfo</a>;</div> | ||
132 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno"><a·class="line"·href="a01030.html#abe2c74071dfc0c7738ae9a66696c61f2">···57</a></span>··<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·<a·class="code·hl_struct"·href="a01054.html">Extractor<GV,0>::ElementInfo</a>·<a·class="code·hl_typedef"·href="a01030.html#abe2c74071dfc0c7738ae9a66696c61f2">ElementInfo</a>;</div> | ||
133 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno"><a·class="line"·href="a01030.html#a5d522de16d63bbd7b8ef00a1960f26ee">···58</a></span>··<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·<a·class="code·hl_struct"·href="a01050.html">Extractor<GV,0>::VertexInfo</a>·<a·class="code·hl_typedef"·href="a01030.html#a5d522de16d63bbd7b8ef00a1960f26ee">VertexInfo</a>;</div> | ||
134 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno"><a·class="line"·href="a01030.html#a4c81edc90e61a678e27983a3103f1779">···59</a></span>··<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·<a·class="code·hl_struct"·href="a01046.html">Extractor<GV,0>::CoordinateInfo</a>·<a·class="code·hl_typedef"·href="a01030.html#a4c81edc90e61a678e27983a3103f1779">CoordinateInfo</a>;</div> | ||
135 | <div·class="line"><a·id="l0006 | 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> | ||
136 | <div·class="line"><a·id="l0006 | 153 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>····fos.close();</div> |
137 | <div·class="foldopen"·id="foldopen00067"·data-start="{"·data-end="}"> | ||
138 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno"><a·class="line"·href="a01030.html#a9e3af06ddd4e846d2e3169fda280d1ee">···67</a></span>··<a·class="code·hl_function"·href="a01030.html#a9e3af06ddd4e846d2e3169fda280d1ee">Codim0Extractor</a>(<span·class="keyword">const</span>·GV&·gv,·<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a01030.html#a7a23542f1fcf4f6202ab28c6cba63a81">Predicate</a>&·predicate)</div> | ||
139 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>····:··<a·class="code·hl_class"·href="a01038.html">Extractor</a><GV,0>(gv),·<a·class="code·hl_variable"·href="a01030.html#a6ac1f6a06091157870d7d9f7d415a191">positiveNormalDirection_</a>(false)</div> | ||
140 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·· | 154 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>··}</div> |
141 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>····std::cout·<<·<span·class="stringliteral">"This·is·Codim0Extractor·on·a·<"</span></div> | ||
142 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>··············<<·GV::dimension·<<·<span·class="stringliteral">","</span>·<<·GV::dimensionworld·<<·<span·class="stringliteral">">·grid!"</span>·<<·std::endl;</div> | ||
143 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>····update(predicate);</div> | ||
144 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>··}</div> | ||
145 | </div> | 155 | </div> |
156 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div> | ||
157 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·</div> | ||
158 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>··<span·class="keyword">template</span><<span·class="keyword">typename</span>·K,·<span·class="keyword">typename</span>·T></div> | ||
159 | <div·class="foldopen"·id="foldopen00073"·data-start="{"·data-end="}"> | ||
160 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno"><a·class="line"·href="a01062.html#a85b4e53a46cf76930dc99756bf924a07">···73</a></span>··<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01062.html#a85b4e53a46cf76930dc99756bf924a07">writeSurfaceElementData</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="keyword">const</span>·std::vector<T>&·data,·<span·class="keyword">const</span>·<span·class="keywordtype">char</span>*·dataname,·<span·class="keywordtype">int</span>·dim)</div> | ||
146 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>·</div> | 161 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>··{</div> |
147 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno"><a·class="line"·href="a01030.html#a047c3fcd5be16fbf72627693e9e38e8d">···75</a></span>··<span·class="keywordtype">bool</span>·&·<a·class="code·hl_function"·href="a01030.html#a047c3fcd5be16fbf72627693e9e38e8d">positiveNormalDirection</a>()·{·<span·class="keywordflow">return</span>·<a·class="code·hl_variable"·href="a01030.html#a6ac1f6a06091157870d7d9f7d415a191">positiveNormalDirection_</a>;·}</div> | ||
Max diff block lines reached; 57008/87849 bytes (64.89%) of diff not shown. |
Offset 8, 327 lines modified | Offset 8, 281 lines modified | ||
8 | Loading... | 8 | Loading... |
9 | Searching... | 9 | Searching... |
10 | No·Matches | 10 | No·Matches |
11 | ····*·dune | 11 | ····*·dune |
12 | ····*·grid-glue | 12 | ····*·grid-glue |
13 | ····*·extractors | 13 | ····*·extractors |
14 | 14 | vtksurfacewriter.hh | |
15 | Go_to_the_documentation_of_this_file. | 15 | Go_to_the_documentation_of_this_file. |
16 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 16 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
17 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: | 17 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: |
18 | ·3//·SPDX-FileCopyrightInfo:·Copyright·©·DUNE·Project·contributors,·see·file | 18 | ·3//·SPDX-FileCopyrightInfo:·Copyright·©·DUNE·Project·contributors,·see·file |
19 | LICENSE.md·in·module·root | 19 | LICENSE.md·in·module·root |
20 | ·4//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only- | 20 | ·4//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only- |
21 | with-dune-grid-glue-exception | 21 | with-dune-grid-glue-exception |
22 | ·5/* | 22 | ·5/* |
23 | ·6·*·Filename:· | 23 | ·6·*·Filename:·VtkSurfaceWriter.hh |
24 | ·7·*·Version:·1.0 | 24 | ·7·*·Version:·1.0 |
25 | ·8·*·Created·on:·J | 25 | ·8·*·Created·on:·Jan·16,·2009 |
26 | ·9·*·Author:· | 26 | ·9·*·Author:·Gerrit·Buse |
27 | ·10·*·--------------------------------- | 27 | ·10·*·--------------------------------- |
28 | ·11·*·Project:·dune-grid-glue | 28 | ·11·*·Project:·dune-grid-glue |
29 | ·12·*·Description:· | 29 | ·12·*·Description:·helper·class·for·graphical·output·of·grids·in·generic |
30 | representation | ||
30 | ·13·* | 31 | ·13·* |
31 | ·14·*/ | 32 | ·14·*/ |
32 | ·20#ifndef·DUNE_GRIDGLUE_EXTRACTORS_ | 33 | ·20#ifndef·DUNE_GRIDGLUE_EXTRACTORS_VTKSURFACEWRITER_HH |
33 | ·21#define·DUNE_GRIDGLUE_EXTRACTORS_ | 34 | ·21#define·DUNE_GRIDGLUE_EXTRACTORS_VTKSURFACEWRITER_HH |
34 | ·22 | 35 | ·22 |
35 | ·23#include·< | 36 | ·23#include·<fstream> |
36 | ·24#include·< | 37 | ·24#include·<iomanip> |
38 | ·25#include·<vector> | ||
39 | ·26#include·<cstring> | ||
40 | ·27 | ||
41 | ·28#include·"../adapter/gridgluevtkwriter.hh" | ||
42 | ·29 | ||
37 | ·25 | ||
38 | ·26#include·<dune/common/deprecated.hh> | ||
39 | ·27#include·<dune/grid/common/mcmgmapper.hh> | ||
40 | ·28 | ||
41 | ·29#include·"extractor.hh" | ||
42 | ·30 | ||
43 | ·3 | 43 | ·30namespace·Dune·{ |
44 | ·3 | 44 | ·31 |
45 | ·3 | 45 | ·32·namespace·GridGlue·{ |
46 | ·34 | ||
47 | ·38template<typename·GV> | ||
48 | 46 | ·33 | |
47 | 34class·VtkSurfaceWriter | ||
48 | ·35{ | ||
49 | ·36public: | ||
50 | ·37 | ||
51 | ·38 | ||
52 | 39·VtkSurfaceWriter(const·char*·filename)·:·filename_(filename) | ||
49 | ·40{ | 53 | ·40·{} |
50 | ·41 | 54 | ·41 |
51 | ·42public: | ||
52 | ·43 | ||
53 | ·44·/*·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 | ·45·using·Extractor<GV,0>::codim; | ||
55 | 46·typedef·typename·Extractor<GV,0>::ctype·ctype; | ||
56 | ·47·using·Extractor<GV,0>::dim; | ||
57 | ·48·using·Extractor<GV,0>::dimworld; | ||
58 | 4 | 55 | 42·~VtkSurfaceWriter() |
56 | ·43·{} | ||
57 | ·44 | ||
58 | 45·void·setFilename(const·char*·name) | ||
59 | ·46·{ | ||
60 | ·47·if·(std::strlen(name)·>·0) | ||
61 | ·48·this->filename_·=·name; | ||
62 | ·49·} | ||
59 | ·50 | 63 | ·50 |
64 | ·51 | ||
60 | 51·typedef·typename·GV::Traits::template·Codim<dim>::Entity·Vertex; | ||
61 | 52·typedef·typename·GV::Traits::template·Codim<0>::Entity·Element; | ||
62 | 53·typedef·std::function<bool(const·Element&,·unsigned·int·subentity)> | ||
63 | Predicate; | ||
64 | ·54 | ||
65 | ·55·//·import·typedefs·from·base·class | ||
66 | 56·typedef·typename·Extractor<GV,0>::SubEntityInfo·SubEntityInfo; | ||
67 | 57·typedef·typename·Extractor<GV,0>::ElementInfo·ElementInfo; | ||
68 | 58·typedef·typename·Extractor<GV,0>::VertexInfo·VertexInfo; | ||
69 | 59·typedef·typename·Extractor<GV,0>::CoordinateInfo·CoordinateInfo; | ||
70 | 60·typedef·typename·Extractor<GV,0>::VertexInfoMap·VertexInfoMap; | ||
71 | ·61 | ||
72 | 67·Codim0Extractor(const·GV&·gv,·const·Predicate&·predicate) | ||
73 | ·68·:·Extractor<GV,0>(gv),·positiveNormalDirection_(false) | ||
74 | ·69·{ | ||
75 | ·70·std::cout·<<·"This·is·Codim0Extractor·on·a·<" | ||
76 | ·71·<<·GV::dimension·<<·","·<<·GV::dimensionworld·<<·">·grid!"·<<·std::endl; | ||
77 | ·72·update(predicate); | ||
78 | ·73·} | ||
79 | ·74 | ||
80 | 75·bool·&·positiveNormalDirection()·{·return·positiveNormalDirection_;·} | ||
81 | 76·const·bool·&·positiveNormalDirection()·const·{·return | ||
82 | positiveNormalDirection_;·} | ||
83 | ·77 | ||
84 | ·78protected: | ||
85 | 79·bool·positiveNormalDirection_; | ||
86 | ·80private: | ||
87 | ·81·void·update(const·Predicate&·predicate); | ||
88 | ·82}; | ||
89 | ·83 | ||
90 | ·84 | ||
91 | · | 65 | ·52·template<typename·K> |
92 | ·86void·Codim0Extractor<GV>::update(const·Predicate&·predicate) | ||
93 | ·87{ | ||
94 | ·88·//·In·this·first·pass·iterate·over·all·entities·of·codim·0. | ||
95 | ·89·//·Get·its·corner·vertices,·find·resp.·store·them·together·with·their | ||
96 | associated·index, | ||
97 | · | 66 | 53·void·writeSurface(const·std::vector<K>&·coords,·const·std::vector<unsigned |
67 | int>&·indices,·int·corners,·int·dim) | ||
68 | ·54·{ | ||
69 | ·55·std::ofstream·fos; | ||
70 | ·56·char·buffer[64]; | ||
71 | ·57·sprintf(buffer,·"%s.vtk",·this->filename_); | ||
72 | ·58·fos.open(buffer); | ||
73 | ·59·fos·<<·std::setprecision(8)·<<·std::setw(1); | ||
74 | ·60·//·write·preamble | ||
75 | ·61·fos·<<·"#·vtk·DataFile·Version·2.0\nFilename:·"·<<·buffer·<<·"\nASCII"·<< | ||
76 | std::endl; | ||
77 | ·62·this->writePoints(coords,·dim,·fos); | ||
78 | ·63·const·int·polycount·=·indices.size()/corners; | ||
79 | ·64·int·corner_count[polycount]; | ||
80 | ·65·for·(int·i·=·0;·i·<·polycount;·++i) | ||
81 | ·66·corner_count[i]·=·corners; | ||
82 | ·67·this->writePolygons(indices,·corner_count,·polycount,·dim,·fos); | ||
Max diff block lines reached; 14639/20049 bytes (73.02%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="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:·codim0extractor.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, 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">codim0extractor.hh·File·Reference</div></div> |
80 | </div><!--header--> | 80 | </div><!--header--> |
81 | <div·class="contents"> | 81 | <div·class="contents"> |
82 | <p> | 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·< | 84 | <div·class="textblock"><code>#include·<deque></code><br·/> |
85 | <code>#include·<iomanip></code><br·/> | ||
86 | <code>#include·<vector></code><br·/> | ||
87 | <code>#include·< | 85 | <code>#include·<functional></code><br·/> |
86 | <code>#include·<dune/common/deprecated.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="a00053_source.html">extractor.hh</a>"</code><br·/> |
89 | </div> | 89 | </div> |
90 | <p><a·href="a00059_source.html">Go·to·the·source·code·of·this·file.</a></p> | 90 | <p><a·href="a00059_source.html">Go·to·the·source·code·of·this·file.</a></p> |
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="a010 | 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> |
96 | </table><table·class="memberdecls"> | 96 | </table><table·class="memberdecls"> |
97 | <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> |
98 | Namespaces</h2></td></tr> | 98 | 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> | 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> |
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: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> |
102 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 102 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
103 | </table> | 103 | </table> |
104 | <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> |
105 | <div·class="textblock"><p> | 105 | <div·class="textblock"><p>Mesh·grid·extractor·base·class.·</p> |
106 | </div></div><!--·contents·--> | 106 | </div></div><!--·contents·--> |
107 | <!--·start·footer·part·--> | 107 | <!--·start·footer·part·--> |
108 | <hr·class="footer"/><address·class="footer"><small> | 108 | <hr·class="footer"/><address·class="footer"><small> |
109 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 109 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
110 | </small></address> | 110 | </small></address> |
111 | </body> | 111 | </body> |
112 | </html> | 112 | </html> |
Offset 8, 28 lines modified | Offset 8, 28 lines modified | ||
8 | Loading... | 8 | Loading... |
9 | Searching... | 9 | Searching... |
10 | No·Matches | 10 | No·Matches |
11 | ····*·dune | 11 | ····*·dune |
12 | ····*·grid-glue | 12 | ····*·grid-glue |
13 | ····*·extractors | 13 | ····*·extractors |
14 | Classes·|·Namespaces | 14 | Classes·|·Namespaces |
15 | codim0extractor.hh·File·Reference | ||
16 | Mesh·grid·extractor·base·class.·More... | ||
17 | #include·<deque> | ||
15 | vtksurfacewriter.hh·File·Reference | ||
16 | helper·class·for·graphical·output·of·grids·in·generic·representation·More... | ||
17 | #include·<fstream> | ||
18 | #include·<iomanip> | ||
19 | #include·<vector> | ||
20 | #include·< | 18 | #include·<functional> |
21 | #include· | 19 | #include·<dune/common/deprecated.hh> |
20 | #include·<dune/grid/common/mcmgmapper.hh> | ||
21 | #include·"extractor.hh" | ||
22 | Go_to_the_source_code_of_this_file. | 22 | Go_to_the_source_code_of_this_file. |
23 | ·Classes | 23 | ·Classes |
24 | class· Dune::GridGlue:: | 24 | class· Dune::GridGlue::Codim0Extractor<_GV_> |
25 | 25 | ||
26 | ·Namespaces | 26 | ·Namespaces |
27 | namespace· Dune | 27 | namespace· Dune |
28 | 28 | ||
29 | namespace· Dune::GridGlue | 29 | namespace· Dune::GridGlue |
30 | 30 | ||
31 | *****·Detailed·Description·***** | 31 | *****·Detailed·Description·***** |
32 | 32 | Mesh·grid·extractor·base·class. | |
33 | =============================================================================== | 33 | =============================================================================== |
34 | ·····Generated·by [doxygen]·1.9.8 | 34 | ·····Generated·by [doxygen]·1.9.8 |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-grid-glue:· | 8 | <title>dune-grid-glue:·codim0extractor.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, 276 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">codim0extractor.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:····codim0extractor.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:·base·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_CODIM0EXTRACTOR_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_CODIM0EXTRACTOR_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·<deque></span></div> |
101 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#include·< | 101 | <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="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·<cstring></span></div> | ||
104 | <div·class="line"><a·id="l0002 | 102 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div> |
103 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#include·<dune/common/deprecated.hh></span></div> | ||
105 | <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/grid/common/mcmgmapper.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>·</div> |
106 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#include·"<a·class="code"·href="a00053.html">extractor.hh</a>"</span></div> | ||
107 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div> | ||
107 | <div·class="line"><a·id="l0003 | 108 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00103.html">Dune</a>·{</div> |
108 | <div·class="line"><a·id="l0003 | 109 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div> |
109 | <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>GridGlue·{</div> |
110 | <div·class="line"><a·id="l0003 | 111 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div> |
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> | ||
113 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>{</div> | ||
114 | <div·class="line"><a·id="l0003 | 112 | <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> |
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="}"> | 113 | <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="a010 | 114 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno"><a·class="line"·href="a01030.html">···39</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01030.html">Codim0Extractor</a>·:·<span·class="keyword">public</span>·<a·class="code·hl_class"·href="a01038.html">Extractor</a><GV,0></div> |
119 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span> | 115 | <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> | 116 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·</div> |
117 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span><span·class="keyword">public</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>· | 118 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div> |
119 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</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> | ||
120 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>··<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01038.html">Extractor</a><GV,0><a·class="code·hl_variable"·href="a01038.html#a81546d6fc243df2658db228c02693832">::codim</a>;</div> | ||
121 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno"><a·class="line"·href="a01030.html#a602f3bd8ada60bc14e19c1d0898a3888">···46</a></span>··<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a01038.html#aaac747289d7b6803093e437b724858be">Extractor<GV,0>::ctype</a>·<a·class="code·hl_typedef"·href="a01030.html#a602f3bd8ada60bc14e19c1d0898a3888">ctype</a>;</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,0><a·class="code·hl_variable"·href="a01038.html#aeeab086dacf44e778ad8ae2c6de7d4f6">::dim</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,0><a·class="code·hl_variable"·href="a01038.html#a1f393e4fd59db3d9bb5fb2868a7422e2">::dimworld</a>;</div> | ||
124 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno"><a·class="line"·href="a01030.html#a051aadae663ba27627905f1bd4702565">···49</a></span>··<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a01038.html#a2b9a14410a511802e1292adbdd69667e">Extractor<GV,0>::IndexType</a>·<a·class="code·hl_typedef"·href="a01030.html#a051aadae663ba27627905f1bd4702565">IndexType</a>;</div> | ||
125 | </div> | ||
126 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</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>··{</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> | ||
134 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</div> | 125 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</div> |
126 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno"><a·class="line"·href="a01030.html#a1f468ca162dec8d6a30e6cafffbb376e">···51</a></span>··<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·GV::Traits::template·Codim<dim>::Entity·<a·class="code·hl_typedef"·href="a01030.html#a1f468ca162dec8d6a30e6cafffbb376e">Vertex</a>;</div> | ||
127 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno"><a·class="line"·href="a01030.html#ac5cf9a9a45fc968b11c8652e777812f1">···52</a></span>··<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·GV::Traits::template·Codim<0>::Entity·<a·class="code·hl_typedef"·href="a01030.html#ac5cf9a9a45fc968b11c8652e777812f1">Element</a>;</div> | ||
128 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno"><a·class="line"·href="a01030.html#a7a23542f1fcf4f6202ab28c6cba63a81">···53</a></span>··<span·class="keyword">typedef</span>·std::function<bool(<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a01030.html#ac5cf9a9a45fc968b11c8652e777812f1">Element</a>&,·<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·subentity)>·<a·class="code·hl_typedef"·href="a01030.html#a7a23542f1fcf4f6202ab28c6cba63a81">Predicate</a>;</div> | ||
135 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</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>· | 129 | <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="l000 | 130 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>··<span·class="comment">//·import·typedefs·from·base·class</span></div> |
131 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno"><a·class="line"·href="a01030.html#ad5bef19d848656dbee41234e3d7fdf04">···56</a></span>··<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·<a·class="code·hl_struct"·href="a01058.html">Extractor<GV,0>::SubEntityInfo</a>·<a·class="code·hl_typedef"·href="a01030.html#ad5bef19d848656dbee41234e3d7fdf04">SubEntityInfo</a>;</div> | ||
132 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno"><a·class="line"·href="a01030.html#abe2c74071dfc0c7738ae9a66696c61f2">···57</a></span>··<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·<a·class="code·hl_struct"·href="a01054.html">Extractor<GV,0>::ElementInfo</a>·<a·class="code·hl_typedef"·href="a01030.html#abe2c74071dfc0c7738ae9a66696c61f2">ElementInfo</a>;</div> | ||
133 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno"><a·class="line"·href="a01030.html#a5d522de16d63bbd7b8ef00a1960f26ee">···58</a></span>··<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·<a·class="code·hl_struct"·href="a01050.html">Extractor<GV,0>::VertexInfo</a>·<a·class="code·hl_typedef"·href="a01030.html#a5d522de16d63bbd7b8ef00a1960f26ee">VertexInfo</a>;</div> | ||
134 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno"><a·class="line"·href="a01030.html#a4c81edc90e61a678e27983a3103f1779">···59</a></span>··<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·<a·class="code·hl_struct"·href="a01046.html">Extractor<GV,0>::CoordinateInfo</a>·<a·class="code·hl_typedef"·href="a01030.html#a4c81edc90e61a678e27983a3103f1779">CoordinateInfo</a>;</div> | ||
135 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno"><a·class="line"·href="a01030.html#a76e1659d9125ff8483c172c807896c86">···60</a></span>··<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a01038.html#a8fb91fe46e58c67eb51f65ce086d9013">Extractor<GV,0>::VertexInfoMap</a>·<a·class="code·hl_typedef"·href="a01030.html#a76e1659d9125ff8483c172c807896c86">VertexInfoMap</a>;</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="l0006 | 136 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>·</div> |
137 | <div·class="foldopen"·id="foldopen00067"·data-start="{"·data-end="}"> | ||
138 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno"><a·class="line"·href="a01030.html#a9e3af06ddd4e846d2e3169fda280d1ee">···67</a></span>··<a·class="code·hl_function"·href="a01030.html#a9e3af06ddd4e846d2e3169fda280d1ee">Codim0Extractor</a>(<span·class="keyword">const</span>·GV&·gv,·<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a01030.html#a7a23542f1fcf4f6202ab28c6cba63a81">Predicate</a>&·predicate)</div> | ||
139 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>····:··<a·class="code·hl_class"·href="a01038.html">Extractor</a><GV,0>(gv),·<a·class="code·hl_variable"·href="a01030.html#a6ac1f6a06091157870d7d9f7d415a191">positiveNormalDirection_</a>(false)</div> | ||
154 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·· | 140 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>··{</div> |
141 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>····std::cout·<<·<span·class="stringliteral">"This·is·Codim0Extractor·on·a·<"</span></div> | ||
142 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>··············<<·GV::dimension·<<·<span·class="stringliteral">","</span>·<<·GV::dimensionworld·<<·<span·class="stringliteral">">·grid!"</span>·<<·std::endl;</div> | ||
143 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>····update(predicate);</div> | ||
144 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>··}</div> | ||
155 | </div> | 145 | </div> |
156 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div> | ||
157 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·</div> | ||
158 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>··<span·class="keyword">template</span><<span·class="keyword">typename</span>·K,·<span·class="keyword">typename</span>·T></div> | ||
Max diff block lines reached; 57008/87849 bytes (64.89%) of diff not shown. |
Offset 8, 281 lines modified | Offset 8, 327 lines modified | ||
8 | Loading... | 8 | Loading... |
9 | Searching... | 9 | Searching... |
10 | No·Matches | 10 | No·Matches |
11 | ····*·dune | 11 | ····*·dune |
12 | ····*·grid-glue | 12 | ····*·grid-glue |
13 | ····*·extractors | 13 | ····*·extractors |
14 | 14 | codim0extractor.hh | |
15 | Go_to_the_documentation_of_this_file. | 15 | Go_to_the_documentation_of_this_file. |
16 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 16 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
17 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: | 17 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: |
18 | ·3//·SPDX-FileCopyrightInfo:·Copyright·©·DUNE·Project·contributors,·see·file | 18 | ·3//·SPDX-FileCopyrightInfo:·Copyright·©·DUNE·Project·contributors,·see·file |
19 | LICENSE.md·in·module·root | 19 | LICENSE.md·in·module·root |
20 | ·4//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only- | 20 | ·4//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only- |
21 | with-dune-grid-glue-exception | 21 | with-dune-grid-glue-exception |
22 | ·5/* | 22 | ·5/* |
23 | ·6·*·Filename:· | 23 | ·6·*·Filename:·codim0extractor.hh |
24 | ·7·*·Version:·1.0 | 24 | ·7·*·Version:·1.0 |
25 | ·8·*·Created·on:·J | 25 | ·8·*·Created·on:·Jun·23,·2009 |
26 | ·9·*·Author:· | 26 | ·9·*·Author:·Oliver·Sander,·Christian·Engwer |
27 | ·10·*·--------------------------------- | 27 | ·10·*·--------------------------------- |
28 | ·11·*·Project:·dune-grid-glue | 28 | ·11·*·Project:·dune-grid-glue |
29 | ·12·*·Description:·base·class·for·grid·extractors·extracting·surface·grids | ||
29 | ·12·*·Description:·helper·class·for·graphical·output·of·grids·in·generic | ||
30 | representation | ||
31 | ·13·* | 30 | ·13·* |
32 | ·14·*/ | 31 | ·14·*/ |
33 | ·20#ifndef·DUNE_GRIDGLUE_EXTRACTORS_ | 32 | ·20#ifndef·DUNE_GRIDGLUE_EXTRACTORS_CODIM0EXTRACTOR_HH |
34 | ·21#define·DUNE_GRIDGLUE_EXTRACTORS_ | 33 | ·21#define·DUNE_GRIDGLUE_EXTRACTORS_CODIM0EXTRACTOR_HH |
35 | ·22 | 34 | ·22 |
36 | ·23#include·< | 35 | ·23#include·<deque> |
37 | ·24#include·< | 36 | ·24#include·<functional> |
38 | ·25#include·<vector> | ||
39 | ·26#include·<cstring> | ||
40 | ·27 | ||
41 | ·28#include·"../adapter/gridgluevtkwriter.hh" | ||
42 | ·2 | 37 | ·25 |
38 | ·26#include·<dune/common/deprecated.hh> | ||
39 | ·27#include·<dune/grid/common/mcmgmapper.hh> | ||
40 | ·28 | ||
41 | ·29#include·"extractor.hh" | ||
42 | ·30 | ||
43 | ·3 | 43 | ·31namespace·Dune·{ |
44 | ·3 | 44 | ·32 |
45 | ·3 | 45 | ·33·namespace·GridGlue·{ |
46 | ·34 | ||
47 | ·38template<typename·GV> | ||
48 | 39class·Codim0Extractor·:·public·Extractor<GV,0> | ||
46 | ·33 | ||
47 | 34class·VtkSurfaceWriter | ||
48 | ·35{ | ||
49 | ·36public: | ||
50 | ·37 | ||
51 | ·38 | ||
52 | 39·VtkSurfaceWriter(const·char*·filename)·:·filename_(filename) | ||
53 | ·40 | 49 | ·40{ |
54 | ·41 | 50 | ·41 |
55 | 42·~VtkSurfaceWriter() | ||
56 | ·43·{} | ||
57 | ·44 | ||
58 | 45·void·setFilename(const·char*·name) | ||
59 | ·46·{ | ||
60 | ·47·if·(std::strlen(name)·>·0) | ||
61 | ·48·this->filename_·=·name; | ||
62 | ·4 | 51 | ·42public: |
52 | ·43 | ||
53 | ·44·/*·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 | ·45·using·Extractor<GV,0>::codim; | ||
55 | 46·typedef·typename·Extractor<GV,0>::ctype·ctype; | ||
56 | ·47·using·Extractor<GV,0>::dim; | ||
57 | ·48·using·Extractor<GV,0>::dimworld; | ||
58 | 49·typedef·typename·Extractor<GV,0>::IndexType·IndexType; | ||
63 | ·50 | 59 | ·50 |
64 | · | 60 | 51·typedef·typename·GV::Traits::template·Codim<dim>::Entity·Vertex; |
61 | 52·typedef·typename·GV::Traits::template·Codim<0>::Entity·Element; | ||
62 | 53·typedef·std::function<bool(const·Element&,·unsigned·int·subentity)> | ||
63 | Predicate; | ||
64 | ·54 | ||
65 | ·55·//·import·typedefs·from·base·class | ||
66 | 56·typedef·typename·Extractor<GV,0>::SubEntityInfo·SubEntityInfo; | ||
67 | 57·typedef·typename·Extractor<GV,0>::ElementInfo·ElementInfo; | ||
68 | 58·typedef·typename·Extractor<GV,0>::VertexInfo·VertexInfo; | ||
69 | 59·typedef·typename·Extractor<GV,0>::CoordinateInfo·CoordinateInfo; | ||
70 | 60·typedef·typename·Extractor<GV,0>::VertexInfoMap·VertexInfoMap; | ||
71 | ·61 | ||
72 | 67·Codim0Extractor(const·GV&·gv,·const·Predicate&·predicate) | ||
73 | ·68·:·Extractor<GV,0>(gv),·positiveNormalDirection_(false) | ||
74 | ·69·{ | ||
75 | ·70·std::cout·<<·"This·is·Codim0Extractor·on·a·<" | ||
76 | ·71·<<·GV::dimension·<<·","·<<·GV::dimensionworld·<<·">·grid!"·<<·std::endl; | ||
77 | ·72·update(predicate); | ||
78 | ·73·} | ||
79 | ·74 | ||
80 | 75·bool·&·positiveNormalDirection()·{·return·positiveNormalDirection_;·} | ||
81 | 76·const·bool·&·positiveNormalDirection()·const·{·return | ||
82 | positiveNormalDirection_;·} | ||
83 | ·77 | ||
84 | ·78protected: | ||
85 | 79·bool·positiveNormalDirection_; | ||
86 | ·80private: | ||
87 | ·81·void·update(const·Predicate&·predicate); | ||
88 | ·82}; | ||
89 | ·83 | ||
90 | ·84 | ||
65 | · | 91 | ·85template<typename·GV> |
92 | ·86void·Codim0Extractor<GV>::update(const·Predicate&·predicate) | ||
93 | ·87{ | ||
94 | ·88·//·In·this·first·pass·iterate·over·all·entities·of·codim·0. | ||
95 | ·89·//·Get·its·corner·vertices,·find·resp.·store·them·together·with·their | ||
96 | associated·index, | ||
97 | ·90·//·and·remember·the·indices·of·the·corners. | ||
66 | 53·void·writeSurface(const·std::vector<K>&·coords,·const·std::vector<unsigned | ||
67 | int>&·indices,·int·corners,·int·dim) | ||
68 | ·54·{ | ||
69 | ·55·std::ofstream·fos; | ||
70 | ·56·char·buffer[64]; | ||
71 | ·57·sprintf(buffer,·"%s.vtk",·this->filename_); | ||
72 | ·58·fos.open(buffer); | ||
73 | ·59·fos·<<·std::setprecision(8)·<<·std::setw(1); | ||
74 | ·60·//·write·preamble | ||
75 | ·61·fos·<<·"#·vtk·DataFile·Version·2.0\nFilename:·"·<<·buffer·<<·"\nASCII"·<< | ||
76 | std::endl; | ||
77 | ·62·this->writePoints(coords,·dim,·fos); | ||
78 | ·63·const·int·polycount·=·indices.size()/corners; | ||
79 | ·64·int·corner_count[polycount]; | ||
80 | ·65·for·(int·i·=·0;·i·<·polycount;·++i) | ||
81 | ·66·corner_count[i]·=·corners; | ||
Max diff block lines reached; 14639/20049 bytes (73.02%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="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.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, 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>··</div> | ||
79 | ··<div·class="headertitle"><div·class="title">overlappingmerge. | 79 | ··<div·class="headertitle"><div·class="title">overlappingmerge.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·<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="a00098_source.html">dune/grid-glue/merging/standardmerge.hh</a>></code><br·/> | ||
92 | <code>#include·<<a·class="el"·href="a00077_source.html">dune/grid-glue/merging/computeintersection.hh</a>></code><br·/> | ||
93 | <code>#include·"<a·class="el"·href="a00089_source.html">overlappingmerge.cc</a>"</code><br·/> | ||
94 | </div> | ||
82 | <p><a·href="a00065_source.html">Go·to·the·source·code·of·this·file.</a></p> | 95 | <p><a·href="a00065_source.html">Go·to·the·source·code·of·this·file.</a></p> |
83 | <table·class="memberdecls"> | 96 | <table·class="memberdecls"> |
97 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | ||
98 | Classes</h2></td></tr> | ||
99 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="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"> | ||
84 | <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> |
85 | Namespaces</h2></td></tr> | 104 | 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> | 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> |
87 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 106 | <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> | 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> |
89 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 108 | <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="a00065.html#ad63267c6d27a8f09d98506419b206db8">DUNE_GRIDGLUE_OVERLAPPINGMERGE_CC</a></td></tr> | ||
94 | <tr·class="separator:ad63267c6d27a8f09d98506419b206db8"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
95 | </table> | 109 | </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·--> | 110 | </div><!--·contents·--> |
110 | <!--·start·footer·part·--> | 111 | <!--·start·footer·part·--> |
111 | <hr·class="footer"/><address·class="footer"><small> | 112 | <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 | 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 | </small></address> | 114 | </small></address> |
114 | </body> | 115 | </body> |
115 | </html> | 116 | </html> |
Offset 7, 24 lines modified | Offset 7, 35 lines modified | ||
7 | Loading... | 7 | Loading... |
8 | Searching... | 8 | Searching... |
9 | No·Matches | 9 | No·Matches |
10 | ····*·dune | 10 | ····*·dune |
11 | ····*·grid-glue | 11 | ····*·grid-glue |
12 | ····*·merging | 12 | ····*·merging |
13 | 13 | Classes·|·Namespaces | |
14 | overlappingmerge. | 14 | overlappingmerge.hh·File·Reference |
15 | #include·<iostream> | ||
16 | #include·<iomanip> | ||
17 | #include·<vector> | ||
18 | #include·<algorithm> | ||
19 | #include·<dune/common/fmatrix.hh> | ||
20 | #include·<dune/common/fvector.hh> | ||
21 | #include·<dune/geometry/referenceelements.hh> | ||
22 | #include·<dune/geometry/multilineargeometry.hh> | ||
23 | #include·<dune/grid/common/grid.hh> | ||
24 | #include·<dune/grid-glue/merging/standardmerge.hh> | ||
25 | #include·<dune/grid-glue/merging/computeintersection.hh> | ||
26 | #include·"overlappingmerge.cc" | ||
15 | Go_to_the_source_code_of_this_file. | 27 | Go_to_the_source_code_of_this_file. |
28 | ·Classes | ||
29 | class· Dune::GridGlue::OverlappingMerge<_dim1,_dim2,_dimworld,_T_> | ||
30 | ······Computing·overlapping·grid·intersections·for·grids·of·different | ||
31 | ········dimensions.·More... | ||
32 | |||
16 | ·Namespaces | 33 | ·Namespaces |
17 | namespace· Dune | 34 | namespace· Dune |
18 | 35 | ||
19 | namespace· Dune::GridGlue | 36 | namespace· Dune::GridGlue |
20 | 37 | ||
21 | ·Macros | ||
22 | #define DUNE_GRIDGLUE_OVERLAPPINGMERGE_CC | ||
23 | |||
24 | *****·Macro·Definition·Documentation·***** | ||
25 | *****·◆ DUNE_GRIDGLUE_OVERLAPPINGMERGE_CC·***** | ||
26 | #define·DUNE_GRIDGLUE_OVERLAPPINGMERGE_CC | ||
27 | =============================================================================== | 38 | =============================================================================== |
28 | ·····Generated·by [doxygen]·1.9.8 | 39 | ·····Generated·by [doxygen]·1.9.8 |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-grid-glue:·overlappingmerge. | 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, 215 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">overlappingmerge. | 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="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><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> | ||
87 | <div·class="line"><a·id="l0000 | 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> | ||
88 | <div·class="line"><a·id="l0000 | 91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·<iomanip></span></div> |
89 | <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> |
90 | <div·class="line"><a·id="l000 | 93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<algorithm></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> | ||
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="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="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> | ||
97 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> | 97 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> |
98 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>· | 98 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·<dune/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> | ||
99 | <div·class="line"><a·id="l0001 | 100 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div> |
101 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·<dune/grid/common/grid.hh></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="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="a00098.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="a00077.html">dune/grid-glue/merging/computeintersection.hh</a>></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="l0002 | 105 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div> |
106 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="keyword">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><span·class="keyword">namespace·</span>GridGlue·{</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="l0002 | 108 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</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> | ||
115 | <div·class="line"><a·id="l0003 | 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">typena[·...·truncated·by·diffoscope;·len:·53,·SHA:·79b877ebaff0decf04f175274036d05de443a3f72554d66a7fc528cde2701887·...·]></div> |
116 | <div·class="foldopen"·id="foldopen0003 | 110 | <div·class="foldopen"·id="foldopen00035"·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="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> | ||
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="l000 | 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>·</div> | ||
127 | <div·class="line"><a·id="l000 | 115 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span><span·class="keyword">public</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> | ||
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> | ||
128 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</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> | ||
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> | 122 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div> |
132 | <div·class="line"><a·id="l000 | 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> |
133 | <div·class="line"><a·id="l0005 | 124 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</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> | ||
134 | <div·class="line"><a·id="l0005 | 127 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</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> | ||
137 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div> | 129 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div> |
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="l0005 | 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> | ||
142 | <div·class="line"><a·id="l0005 | 132 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</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="l0006 | 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&am[·...·truncated·by·diffoscope;·len:·20,·SHA:·6133490085ea89037e6c8bc34469f573013eea5b8655ed83249351a828ef42fc·...·]</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> | ||
146 | <div·class="line"><a·id="l000 | 137 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>···························<span·class="keyword">const</span>·Dune::GeometryType&·grid2ElementType,</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="l000 | 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> | ||
150 | <div·class="line"><a·id="l000 | 142 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</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="l0007 | 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> | ||
Max diff block lines reached; 22254/47916 bytes (46.44%) of diff not shown. |
Offset 8, 246 lines modified | Offset 8, 128 lines modified | ||
8 | Loading... | 8 | Loading... |
9 | Searching... | 9 | Searching... |
10 | No·Matches | 10 | No·Matches |
11 | ····*·dune | 11 | ····*·dune |
12 | ····*·grid-glue | 12 | ····*·grid-glue |
13 | ····*·merging | 13 | ····*·merging |
14 | overlappingmerge. | 14 | overlappingmerge.hh |
15 | Go_to_the_documentation_of_this_file. | 15 | Go_to_the_documentation_of_this_file. |
16 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 16 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
17 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: | 17 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: |
18 | ·3//·SPDX-FileCopyrightInfo:·Copyright·©·DUNE·Project·contributors,·see·file | 18 | ·3//·SPDX-FileCopyrightInfo:·Copyright·©·DUNE·Project·contributors,·see·file |
19 | LICENSE.md·in·module·root | 19 | LICENSE.md·in·module·root |
20 | ·4//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only- | 20 | ·4//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only- |
21 | with-dune-grid-glue-exception | 21 | with-dune-grid-glue-exception |
22 | ·5 | ||
23 | · | 22 | ·5#ifndef·DUNE_GRIDGLUE_MERGING_OVERLAPPINGMERGE_HH |
24 | 23 | ·6#define·DUNE_GRIDGLUE_MERGING_OVERLAPPINGMERGE_HH | |
24 | ·7 | ||
25 | ·8#include·<iostream> | ||
26 | ·9#include·<iomanip> | ||
27 | ·10#include·<vector> | ||
25 | · | 28 | ·11#include·<algorithm> |
26 | ·9 | ||
27 | ·10namespace·Dune·{ | ||
28 | ·11namespace·GridGlue·{ | ||
29 | ·12 | 29 | ·12 |
30 | ·13#include·<dune/common/fmatrix.hh> | ||
31 | ·14#include·<dune/common/fvector.hh> | ||
30 | ·13template<int·dim1,·int·dim2,·int·dimworld,·typename·T> | ||
31 | ·14bool·OverlappingMerge<dim1,dim2,dimworld,·T>::inPlane(std:: | ||
32 | vector<FieldVector<T,dimworld>·>&·points)·{ | ||
33 | ·15 | 32 | ·15 |
34 | ·16·T·eps·=·1e-8; | ||
35 | ·17 | ||
36 | ·18·assert(dim1·==·3·&&·dim2·==·3·&&·dimworld·==·3); | ||
37 | ·1 | 33 | ·16#include·<dune/geometry/referenceelements.hh> |
34 | ·17#include·<dune/geometry/multilineargeometry.hh> | ||
35 | ·18 | ||
36 | ·19#include·<dune/grid/common/grid.hh> | ||
38 | ·20 | 37 | ·20 |
38 | ·21#include·<dune/grid-glue/merging/standardmerge.hh> | ||
39 | ·22#include·<dune/grid-glue/merging/computeintersection.hh> | ||
40 | ·23 | ||
41 | ·24namespace·Dune·{ | ||
42 | ·25namespace·GridGlue·{ | ||
43 | ·26 | ||
39 | ·21·FieldVector<T,dimworld>·v1·=·points[1]-points[0]; | ||
40 | ·22·FieldVector<T,dimworld>·v2·=·points[2]-points[0]; | ||
41 | ·23·FieldVector<T,dimworld>·v3·=·points[3]-points[0]; | ||
42 | ·24 | ||
43 | ·25·FieldVector<T,dimworld>·v1xv2; | ||
44 | ·26·v1xv2[0]·=·v1[1]*v2[2]·-·v1[2]*v2[1]; | ||
45 | ·27·v1xv2[1]·=·v1[2]*v2[0]·-·v1[0]*v2[2]; | ||
46 | ·28·v1xv2[2]·=·v1[0]*v2[1]·-·v1[1]*v2[0]; | ||
47 | ·29 | ||
48 | ·30·return·(std::abs(v3.dot(v1xv2))·<·eps); | ||
49 | ·31} | ||
50 | ·32 | ||
51 | ·3 | 44 | ·34template<int·dim1,·int·dim2,·int·dimworld,·typename·T·=·double> |
45 | 35class·OverlappingMerge | ||
46 | ·36·:·public·StandardMerge<T,dim1,dim2,dimworld> | ||
52 | 34void·OverlappingMerge<dim1,dim2,dimworld,_T>::computeIntersections(const | ||
53 | Dune::GeometryType&·grid1ElementType, | ||
54 | ·35·const·std::vector<Dune::FieldVector<T,dimworld>·>&·grid1ElementCorners, | ||
55 | ·36·std::bitset<(1<<dim1)>&·neighborIntersects1, | ||
56 | ·37·unsigned·int·grid1Index, | ||
57 | ·38·const·Dune::GeometryType&·grid2ElementType, | ||
58 | ·39·const·std::vector<Dune::FieldVector<T,dimworld>·>&·grid2ElementCorners, | ||
59 | ·40·std::bitset<(1<<dim2)>&·neighborIntersects2, | ||
60 | ·41·unsigned·int·grid2Index, | ||
61 | ·42·std::vector<SimplicialIntersection>&·intersections) | ||
62 | · | 47 | ·37{ |
63 | · | 48 | ·38 |
49 | ·39public: | ||
50 | ·40 | ||
51 | ·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·*/ | ||
52 | ·42 | ||
53 | 44·typedef·T·ctype; | ||
64 | ·45 | 54 | ·45 |
55 | 47·typedef·Dune::FieldVector<T,·dimworld>·WorldCoords; | ||
65 | ·46·this->counter++; | ||
66 | ·47·intersections.clear(); | ||
67 | ·48 | 56 | ·48 |
57 | ·50·//typedef·Dune::FieldVector<T,·dim>·LocalCoords; | ||
58 | ·51 | ||
59 | 52·OverlappingMerge() | ||
60 | ·53·{} | ||
68 | ·49·typedef·SimplexMethod<dimworld,dim1,dim2,T>·CM; | ||
69 | ·50 | ||
70 | ·51#ifndef·NDEBUG | ||
71 | ·52·const·auto&·refElement1·=·Dune::ReferenceElements<T,dim1>::general | ||
72 | (grid1ElementType); | ||
73 | ·53·const·auto&·refElement2·=·Dune::ReferenceElements<T,dim2>::general | ||
74 | (grid2ElementType); | ||
75 | ·54 | 61 | ·54 |
62 | ·55protected: | ||
63 | 56·typedef·typename·StandardMerge<T,dim1,dim2,dimworld>::SimplicialIntersection | ||
64 | SimplicialIntersection; | ||
65 | ·57 | ||
66 | ·69·void·computeIntersections(const·Dune::GeometryType&·grid1ElementType, | ||
76 | ·55·//·A·few·consistency·checks | ||
77 | ·56·assert((unsigned·int)(refElement1.size(dim1))·==·grid1ElementCorners.size | ||
78 | ()); | ||
79 | ·57·assert((unsigned·int)(refElement2.size(dim2))·==·grid2ElementCorners.size | ||
80 | ()); | ||
81 | ·58#endif | ||
82 | ·59 | ||
83 | ·60·//·Make·generic·geometries·representing·the·grid1-·and·grid2·element. | ||
84 | ·61·//·this·eases·computation·of·local·coordinates. | ||
85 | ·62·typedef·MultiLinearGeometry<T,dim1,dimworld>·Geometry1; | ||
86 | ·63·typedef·MultiLinearGeometry<T,dim2,dimworld>·Geometry2; | ||
87 | ·64 | ||
88 | ·65·Geometry1·grid1Geometry(grid1ElementType,·grid1ElementCorners); | ||
89 | ·66·Geometry2·grid2Geometry(grid2ElementType,·grid2ElementCorners); | ||
90 | ·67 | ||
91 | ·68·//·Dirty·workaround·for·the·intersection·computation·scaling·problem·(part | ||
92 | 1/2) | ||
93 | ·69·std::vector<Dune::FieldVector<T,dimworld>·>·scaledGrid1ElementCorners | ||
94 | (grid1ElementCorners.size()); | ||
95 | ·70·std::vector<Dune::FieldVector<T,dimworld>·> | 67 | ·70·const·std::vector<Dune::FieldVector<T,dimworld>·>&·grid1ElementCorners, |
68 | ·71·std::bitset<(1<<dim1)>&·neighborIntersects1, | ||
69 | ·72·unsigned·int·grid1Index, | ||
70 | ·73·const·Dune::GeometryType&·grid2ElementType, | ||
71 | ·74·const·std::vector<Dune::FieldVector<T,dimworld>·>&·grid2ElementCorners, | ||
72 | ·75·std::bitset<(1<<dim2)>&·neighborIntersects2, | ||
73 | ·76·unsigned·int·grid2Index, | ||
Max diff block lines reached; 6570/12345 bytes (53.22%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-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="a00098_source.html">dune/grid-glue/merging/standardmerge.hh</a>></code><br·/> |
86 | <code>#include·"<a·class="el"·href="a00074_source.html">computeintersection.cc</a>"</code><br·/> | ||
87 | </div> | 92 | </div> |
88 | <p><a·href="a00068_source.html">Go·to·the·source·code·of·this·file.</a></p> | 93 | <p><a·href="a00068_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 7, 33 lines modified | Offset 7, 33 lines modified | ||
7 | Loading... | 7 | Loading... |
8 | Searching... | 8 | Searching... |
9 | No·Matches | 9 | No·Matches |
10 | ····*·dune | 10 | ····*·dune |
11 | ····*·grid-glue | 11 | ····*·grid-glue |
12 | ····*·merging | 12 | ····*·merging |
13 | Classes·|·Namespaces | 13 | Classes·|·Namespaces |
14 | computeintersection.hh·File·Reference | ||
15 | 14 | conformingmerge.hh·File·Reference | |
15 | Implementation·of·the·Merger·concept·for·conforming·interfaces.·More... | ||
16 | #include·<iomanip> | ||
17 | #include·<vector> | ||
18 | #include·<algorithm> | ||
19 | #include·<bitset> | ||
16 | #include·<dune/common/fmatrix.hh> | 20 | #include·<dune/common/fmatrix.hh> |
17 | #include·"simplexintersection.cc" | ||
18 | #include· | 21 | #include·<dune/common/fvector.hh> |
22 | #include·<dune/geometry/referenceelements.hh> | ||
23 | #include·<dune/grid-glue/merging/standardmerge.hh> | ||
19 | Go_to_the_source_code_of_this_file. | 24 | Go_to_the_source_code_of_this_file. |
20 | ·Classes | 25 | ·Classes |
26 | class· Dune::GridGlue::ConformingMerge<_dim,_dimworld,_T_> | ||
27 | ······Implementation·of·the·Merger·concept·for·conforming·interfaces.·More... | ||
21 | class· Dune::GridGlue::ComputationMethod<_dimWorld,_dim1,_dim2,_T_> | ||
22 | |||
23 | class· Dune::GridGlue::IntersectionComputation<_CM_> | ||
24 | ······Intersection·computation·method·for·two·elements·of·arbitrary | ||
25 | ········dimension.·More... | ||
26 | 28 | ||
27 | ·Namespaces | 29 | ·Namespaces |
28 | namespace· Dune | 30 | namespace· Dune |
29 | 31 | ||
30 | namespace· Dune::GridGlue | 32 | namespace· Dune::GridGlue |
31 | 33 | ||
34 | *****·Detailed·Description·***** | ||
35 | Implementation·of·the·Merger·concept·for·conforming·interfaces. | ||
32 | ·Functions | ||
33 | template<class·V·> | ||
34 | int Dune::GridGlue::insertPoint·(const·V·p,·std::vector<·V·>·&P) | ||
35 | |||
36 | =============================================================================== | 36 | =============================================================================== |
37 | ·····Generated·by [doxygen]·1.9.8 | 37 | ·····Generated·by [doxygen]·1.9.8 |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-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="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">//· | 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> | ||
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="a00098.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 8, 215 lines modified | Offset 8, 254 lines modified | ||
8 | Loading... | 8 | Loading... |
9 | Searching... | 9 | Searching... |
10 | No·Matches | 10 | No·Matches |
11 | ····*·dune | 11 | ····*·dune |
12 | ····*·grid-glue | 12 | ····*·grid-glue |
13 | ····*·merging | 13 | ····*·merging |
14 | co | 14 | conformingmerge.hh |
15 | Go_to_the_documentation_of_this_file. | 15 | Go_to_the_documentation_of_this_file. |
16 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | ||
17 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: | ||
16 | · | 18 | ·3//·SPDX-FileCopyrightInfo:·Copyright·©·DUNE·Project·contributors,·see·file |
17 | LICENSE.md·in·module·root | 19 | LICENSE.md·in·module·root |
18 | · | 20 | ·4//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only- |
19 | with-dune-grid-glue-exception | 21 | with-dune-grid-glue-exception |
22 | ·5/* | ||
23 | ·6·*·Filename:·conformingmerge.hh | ||
24 | ·7·*·Version:·1.0 | ||
25 | ·8·*·Created·on:·Sep·14,·2009 | ||
26 | ·9·*·Author:·Oliver·Sander | ||
27 | ·10·*·--------------------------------- | ||
28 | ·11·*·Project:·dune-grid-glue | ||
29 | ·12·*·Description:·implementation·of·the·Merger·concept·for·conforming | ||
30 | interfaces | ||
31 | ·13·* | ||
32 | ·14·*/ | ||
20 | · | 33 | ·21#ifndef·DUNE_GRIDGLUE_MERGING_CONFORMINGMERGE_HH |
21 | · | 34 | ·22#define·DUNE_GRIDGLUE_MERGING_CONFORMINGMERGE_HH |
22 | ·5 | ||
23 | · | 35 | ·23 |
36 | ·24#include·<iomanip> | ||
37 | ·25#include·<vector> | ||
38 | ·26#include·<algorithm> | ||
39 | ·27#include·<bitset> | ||
40 | ·28 | ||
24 | · | 41 | ·29#include·<dune/common/fmatrix.hh> |
25 | · | 42 | ·30#include·<dune/common/fvector.hh> |
43 | ·31 | ||
44 | ·32#include·<dune/geometry/referenceelements.hh> | ||
45 | ·33 | ||
46 | ·34#include·<dune/grid-glue/merging/standardmerge.hh> | ||
47 | ·35 | ||
26 | · | 48 | ·36namespace·Dune·{ |
49 | ·37 | ||
27 | · | 50 | ·38·namespace·GridGlue·{ |
28 | · | 51 | ·39 |
29 | · | 52 | ·46template<int·dim,·int·dimworld,·typename·T·=·double> |
30 | 53 | 47class·ConformingMerge | |
54 | ·48·:·public·StandardMerge<T,dim,dim,dimworld> | ||
55 | ·49{ | ||
56 | ·50 | ||
31 | · | 57 | ·51public: |
58 | ·52 | ||
59 | ·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·*/ | ||
60 | ·54 | ||
61 | 56·typedef·T·ctype; | ||
62 | ·57 | ||
32 | 63 | 59·typedef·Dune::FieldVector<T,·dimworld>·WorldCoords; | |
64 | ·60 | ||
65 | 62·typedef·Dune::FieldVector<T,·dim>·LocalCoords; | ||
66 | ·63 | ||
33 | 16·static·const·int·grid1Dimension·=·dim1; | ||
34 | 17·static·const·int·grid2Dimension·=·dim2; | ||
35 | 18·static·const·int·intersectionDimension·=·(dim1·<·dim2)?(dim1):(dim2); | ||
36 | ·19 | ||
37 | 20·static·bool·computeIntersectionPoints(const·std::vector<Vector>·X, | ||
38 | ·21·const·std::vector<Vector>·Y, | ||
39 | ·22·std::vector<std::vector<int>·>&·SX, | ||
40 | ·23·std::vector<std::vector<int>·>&·SY, | ||
41 | ·24·std::vector<Vector>&·P); | ||
42 | 25·static·void·grid1_subdivisions(const·std::vector<Vector>·elementCorners, | ||
43 | ·26·std::vector<std::vector<unsigned·int>·>&·subElements, | ||
44 | ·27·std::vector<std::vector<int>·>&·faceIds); | ||
45 | 28·static·void·grid2_subdivisions(const·std::vector<Vector>·elementCorners, | ||
46 | ·29·std::vector<std::vector<unsigned·int>·>&·subElements, | ||
47 | ·30·std::vector<std::vector<int>·>&·faceIds); | ||
48 | ·31}; | ||
49 | ·32 | ||
50 | ·38template<class·CM> | ||
51 | 39class·IntersectionComputation·{ | ||
52 | · | 67 | ·64private: |
53 | ·41·typedef·typename·CM::Vector·V; | ||
54 | ·42·const·int·dimWorld·=·V::dimension; | ||
55 | ·43·const·int·dim1·=·CM::grid1Dimension; | ||
56 | · | 68 | ·65 |
69 | ·66·/*·M·E·M·B·E·R·V·A·R·I·A·B·L·E·S·*/ | ||
70 | ·67 | ||
71 | ·69·T·tolerance_; | ||
72 | ·70 | ||
73 | ·71·typedef·typename·StandardMerge<T,dim,dim,dimworld>::SimplicialIntersection | ||
74 | SimplicialIntersection; | ||
75 | ·72 | ||
76 | ·77·void·computeIntersections(const·Dune::GeometryType&·grid1ElementType, | ||
77 | ·78·const·std::vector<Dune::FieldVector<T,dimworld>·>&·grid1ElementCorners, | ||
78 | ·79·std::bitset<(1<<dim)>&·neighborIntersects1, | ||
79 | ·80·unsigned·int·grid1Index, | ||
80 | ·81·const·Dune::GeometryType&·grid2ElementType, | ||
81 | ·82·const·std::vector<Dune::FieldVector<T,dimworld>·>&·grid2ElementCorners, | ||
82 | ·83·std::bitset<(1<<dim)>&·neighborIntersects2, | ||
83 | ·84·unsigned·int·grid2Index, | ||
84 | ·85·std::vector<SimplicialIntersection>&·intersections); | ||
85 | ·86 | ||
57 | · | 86 | ·87public: |
87 | ·88 | ||
88 | 89·static·constexpr·T·default_tolerance·=·1e-4; | ||
89 | ·90 | ||
90 | 91·ConformingMerge(T·tolerance·=·default_tolerance)·: | ||
91 | ·92·tolerance_(tolerance) | ||
92 | ·93·{} | ||
93 | ·94}; | ||
94 | ·95 | ||
95 | ·96template<int·dim,·int·dimworld,·typename·T> | ||
96 | ·97constexpr·T·ConformingMerge<dim,_dimworld,_T>::default_tolerance; | ||
97 | ·98 | ||
98 | ·99template<int·dim,·int·dimworld,·typename·T> | ||
99 | ·100void·ConformingMerge<dim,·dimworld,·T>::computeIntersections(const·Dune:: | ||
100 | GeometryType&·grid1ElementType, | ||
101 | ·101·const·std::vector<Dune::FieldVector<T,dimworld>·>&·grid1ElementCorners, | ||
102 | ·102·std::bitset<(1<<dim)>&·neighborIntersects1, | ||
103 | ·103·unsigned·int·grid1Index, | ||
104 | ·104·const·Dune::GeometryType&·grid2ElementType, | ||
105 | ·105·const·std::vector<Dune::FieldVector<T,dimworld>·>&·grid2ElementCorners, | ||
106 | ·106·std::bitset<(1<<dim)>&·neighborIntersects2, | ||
107 | ·107·unsigned·int·grid2Index, | ||
108 | ·108·std::vector<SimplicialIntersection>&·intersections) | ||
109 | ·109{ | ||
110 | ·110·this->counter++; | ||
Max diff block lines reached; 7913/16021 bytes (49.39%) 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, 110 lines modified | Offset 70, 39 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">merger.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·<vector></code><br·/> |
83 | <code>#include·<dune/common/fvector.hh></code><br·/> | ||
84 | <code>#include·<dune/geometry/type.hh></code><br·/> | ||
84 | <code>#include·& | 85 | <code>#include·<<a·class="el"·href="a00083_source.html">dune/grid-glue/merging/intersectionlist.hh</a>></code><br·/> |
86 | </div> | ||
87 | <p><a·href="a00071_source.html">Go·to·the·source·code·of·this·file.</a></p> | ||
85 | < | 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><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="a00071.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="a00071.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> | 101 | </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="a00071.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="aa00071_html_ad5c7ca0181fea7823b37d06d5f61e9cd"><div·class="ttname"><a·href="a00071.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 7, 53 lines modified | Offset 7, 27 lines modified | ||
7 | Loading... | 7 | Loading... |
8 | Searching... | 8 | Searching... |
9 | No·Matches | 9 | No·Matches |
10 | ····*·dune | 10 | ····*·dune |
11 | ····*·grid-glue | 11 | ····*·grid-glue |
12 | ····*·merging | 12 | ····*·merging |
13 | 13 | Classes·|·Namespaces | |
14 | 14 | merger.hh·File·Reference | |
15 | #include·"config.h" | ||
16 | #include· | 15 | #include·<vector> |
16 | #include·<dune/common/fvector.hh> | ||
17 | #include·<dune/geometry/type.hh> | ||
18 | #include·<dune/grid-glue/merging/intersectionlist.hh> | ||
19 | Go_to_the_source_code_of_this_file. | ||
20 | ·Classes | ||
21 | class· Dune::GridGlue::Merger<_ctype,_grid1Dim,_grid2Dim,_dimworld_> | ||
22 | ······Abstract·base·for·all·classes·that·take·extracted·grids·and·build·sets | ||
23 | ········of·intersections.·More... | ||
24 | |||
17 | ·Namespaces | 25 | ·Namespaces |
18 | namespace· Dune | 26 | namespace· Dune |
19 | 27 | ||
20 | namespace· Dune::GridGlue | 28 | namespace· Dune::GridGlue |
21 | 29 | ||
22 | ·Macros | ||
23 | #define DECL | ||
24 | |||
25 | #define STANDARD_MERGE_INSTANTIATE(T,·A,·B,·C) | ||
26 | |||
27 | ·Functions | ||
28 | Dune::GridGlue::STANDARD_MERGE_INSTANTIATE·(double,·1,·1,·1) | ||
29 | |||
30 | Dune::GridGlue::STANDARD_MERGE_INSTANTIATE·(double,·2,·2,·2) | ||
31 | |||
32 | Dune::GridGlue::STANDARD_MERGE_INSTANTIATE·(double,·3,·3,·3) | ||
33 | |||
34 | *****·Macro·Definition·Documentation·***** | ||
35 | *****·◆ DECL·***** | ||
36 | #define·DECL | ||
37 | *****·◆ STANDARD_MERGE_INSTANTIATE·***** | ||
38 | #define·STANDARD_MERGE_INSTANTIATE·(· T, | ||
39 | ····································· A, | ||
40 | ····································· B, | ||
41 | ····································· C | ||
42 | ···································) | ||
43 | Value: | ||
44 | DECL·template·\ | ||
45 | void·StandardMerge<T,A,B,C>::build(const·std::vector<Dune::FieldVector<T,C>·>& | ||
46 | grid1_coords,·\ | ||
47 | const·std::vector<unsigned·int>&·grid1_elements,·\ | ||
48 | const·std::vector<Dune::GeometryType>&·grid1_element_types,·\ | ||
49 | const·std::vector<Dune::FieldVector<T,C>·>&·grid2_coords,·\ | ||
50 | const·std::vector<unsigned·int>&·grid2_elements,·\ | ||
51 | const·std::vector<Dune::GeometryType>&·grid2_element_types·\ | ||
52 | ) | ||
53 | DECL | ||
54 | #define·DECL | ||
55 | Definition·standardmerge.cc:12 | ||
56 | =============================================================================== | 30 | =============================================================================== |
57 | ·····Generated·by [doxygen]·1.9.8 | 31 | ·····Generated·by [doxygen]·1.9.8 |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-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, 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>·| |
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>Implementation·of·the·Merger·concept·for·conforming·interfaces.·· | ||
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·<vector></code><br·/> | ||
86 | <code>#include·<algorithm></code><br·/> | ||
87 | <code>#include·<bitset></code><br·/> | ||
88 | <code>#include·<dune/common/fmatrix.hh></code><br·/> | 84 | <code>#include·<dune/common/fmatrix.hh></code><br·/> |
85 | <code>#include·"<a·class="el"·href="a00080_source.html">simplexintersection.cc</a>"</code><br·/> | ||
86 | <code>#include·"<a·class="el"·href="a00074_source.html">computeintersection.cc</a>"</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="a00092_source.html">dune/grid-glue/merging/standardmerge.hh</a>></code><br·/> | ||
92 | </div> | 87 | </div> |
93 | <p><a·href="a00077_source.html">Go·to·the·source·code·of·this·file.</a></p> | 88 | <p><a·href="a00077_source.html">Go·to·the·source·code·of·this·file.</a></p> |
94 | <table·class="memberdecls"> | 89 | <table·class="memberdecls"> |
95 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 90 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
96 | Classes</h2></td></tr> | 91 | Classes</h2></td></tr> |
97 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">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> |
98 | <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> | ||
99 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 96 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
100 | </table><table·class="memberdecls"> | 97 | </table><table·class="memberdecls"> |
101 | <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> |
102 | Namespaces</h2></td></tr> | 99 | 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> | 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> |
104 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 101 | <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> | 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> |
106 | <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> | ||
107 | </table> | 110 | </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>< | 111 | </div><!--·contents·--> |
111 | <!--·start·footer·part·--> | 112 | <!--·start·footer·part·--> |
112 | <hr·class="footer"/><address·class="footer"><small> | 113 | <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 | 114 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
114 | </small></address> | 115 | </small></address> |
115 | </body> | 116 | </body> |
116 | </html> | 117 | </html> |
Offset 7, 33 lines modified | Offset 7, 33 lines modified | ||
7 | Loading... | 7 | Loading... |
8 | Searching... | 8 | Searching... |
9 | No·Matches | 9 | No·Matches |
10 | ····*·dune | 10 | ····*·dune |
11 | ····*·grid-glue | 11 | ····*·grid-glue |
12 | ····*·merging | 12 | ····*·merging |
13 | Classes·|·Namespaces | 13 | Classes·|·Namespaces·|·Functions |
14 | computeintersection.hh·File·Reference | ||
14 | conformingmerge.hh·File·Reference | ||
15 | Implementation·of·the·Merger·concept·for·conforming·interfaces.·More... | ||
16 | #include·<iomanip> | ||
17 | #include·<vector> | ||
18 | #include·<algorithm> | ||
19 | #include·<bitset> | ||
20 | #include·<dune/common/fmatrix.hh> | ||
21 | #include·<dune/common/fvector.hh> | 15 | #include·<dune/common/fvector.hh> |
22 | #include·<dune/geometry/referenceelements.hh> | ||
23 | #include·<dune/ | 16 | #include·<dune/common/fmatrix.hh> |
17 | #include·"simplexintersection.cc" | ||
18 | #include·"computeintersection.cc" | ||
24 | Go_to_the_source_code_of_this_file. | 19 | Go_to_the_source_code_of_this_file. |
25 | ·Classes | 20 | ·Classes |
26 | class· Dune::GridGlue::ConformingMerge<_dim,_dimworld,_T_> | ||
27 | 21 | class· Dune::GridGlue::ComputationMethod<_dimWorld,_dim1,_dim2,_T_> | |
22 | |||
23 | class· Dune::GridGlue::IntersectionComputation<_CM_> | ||
24 | ······Intersection·computation·method·for·two·elements·of·arbitrary | ||
25 | ········dimension.·More... | ||
28 | 26 | ||
29 | ·Namespaces | 27 | ·Namespaces |
30 | namespace· Dune | 28 | namespace· Dune |
31 | 29 | ||
32 | namespace· Dune::GridGlue | 30 | namespace· Dune::GridGlue |
33 | 31 | ||
34 | *****·Detailed·Description·***** | ||
35 | 32 | ·Functions | |
33 | template<class·V·> | ||
34 | int Dune::GridGlue::insertPoint·(const·V·p,·std::vector<·V·>·&P) | ||
35 | |||
36 | =============================================================================== | 36 | =============================================================================== |
37 | ·····Generated·by [doxygen]·1.9.8 | 37 | ·····Generated·by [doxygen]·1.9.8 |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-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, 220 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="a00077.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·©·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div> | ||
83 | <a·href="a00077.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | ||
84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | ||
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="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="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> |
98 | <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> |
99 | <div·class="line"><a·id="l000 | 87 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</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="l000 | 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> | ||
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> | ||
107 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span> | 114 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>};</div> |
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="a00092.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> | ||
Max diff block lines reached; 27717/68353 bytes (40.55%) of diff not shown. |
Offset 8, 254 lines modified | Offset 8, 215 lines modified | ||
8 | Loading... | 8 | Loading... |
9 | Searching... | 9 | Searching... |
10 | No·Matches | 10 | No·Matches |
11 | ····*·dune | 11 | ····*·dune |
12 | ····*·grid-glue | 12 | ····*·grid-glue |
13 | ····*·merging | 13 | ····*·merging |
14 | co | 14 | computeintersection.hh |
15 | Go_to_the_documentation_of_this_file. | 15 | Go_to_the_documentation_of_this_file. |
16 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | ||
17 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: | ||
18 | · | 16 | ·1//·SPDX-FileCopyrightInfo:·Copyright·©·DUNE·Project·contributors,·see·file |
19 | LICENSE.md·in·module·root | 17 | LICENSE.md·in·module·root |
20 | · | 18 | ·2//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only- |
21 | with-dune-grid-glue-exception | 19 | with-dune-grid-glue-exception |
22 | ·5/* | ||
23 | ·6·*·Filename:·conformingmerge.hh | ||
24 | ·7·*·Version:·1.0 | ||
25 | ·8·*·Created·on:·Sep·14,·2009 | ||
26 | ·9·*·Author:·Oliver·Sander | ||
27 | ·10·*·--------------------------------- | ||
28 | ·11·*·Project:·dune-grid-glue | ||
29 | ·12·*·Description:·implementation·of·the·Merger·concept·for·conforming | ||
30 | interfaces | ||
31 | ·13·* | ||
32 | ·14·*/ | ||
33 | · | 20 | ·3#ifndef·DUNE_GRIDGLUE_MERGING_COMPUTEINTERSECTION_HH |
34 | · | 21 | ·4#define·DUNE_GRIDGLUE_MERGING_COMPUTEINTERSECTION_HH |
22 | ·5 | ||
35 | ·23 | ||
36 | ·24#include·<iomanip> | ||
37 | ·25#include·<vector> | ||
38 | ·26#include·<algorithm> | ||
39 | ·27#include·<bitset> | ||
40 | ·28 | ||
41 | ·29#include·<dune/common/fmatrix.hh> | ||
42 | · | 23 | ·6#include·<dune/common/fvector.hh> |
24 | ·7#include·<dune/common/fmatrix.hh> | ||
25 | ·8 | ||
43 | ·31 | ||
44 | ·32#include·<dune/geometry/referenceelements.hh> | ||
45 | ·33 | ||
46 | ·34#include·<dune/grid-glue/merging/standardmerge.hh> | ||
47 | ·35 | ||
48 | · | 26 | ·9namespace·Dune·{ |
49 | ·37 | ||
50 | · | 27 | ·10namespace·GridGlue·{ |
51 | · | 28 | ·11 |
52 | · | 29 | ·12template<int·dimWorld,·int·dim1,·int·dim2,·typename·T·=·double> |
30 | 13class·ComputationMethod·{ | ||
53 | 47class·ConformingMerge | ||
54 | ·48·:·public·StandardMerge<T,dim,dim,dimworld> | ||
55 | ·49{ | ||
56 | ·50 | ||
57 | · | 31 | ·14public: |
58 | ·52 | ||
59 | ·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·*/ | ||
60 | ·54 | ||
61 | 56·typedef·T·ctype; | ||
62 | ·57 | ||
63 | 32 | 15·typedef·FieldVector<T,·dimWorld>·Vector; | |
64 | ·60 | ||
65 | 62·typedef·Dune::FieldVector<T,·dim>·LocalCoords; | ||
66 | · | 33 | 16·static·const·int·grid1Dimension·=·dim1; |
34 | 17·static·const·int·grid2Dimension·=·dim2; | ||
35 | 18·static·const·int·intersectionDimension·=·(dim1·<·dim2)?(dim1):(dim2); | ||
36 | ·19 | ||
37 | 20·static·bool·computeIntersectionPoints(const·std::vector<Vector>·X, | ||
38 | ·21·const·std::vector<Vector>·Y, | ||
39 | ·22·std::vector<std::vector<int>·>&·SX, | ||
40 | ·23·std::vector<std::vector<int>·>&·SY, | ||
41 | ·24·std::vector<Vector>&·P); | ||
42 | 25·static·void·grid1_subdivisions(const·std::vector<Vector>·elementCorners, | ||
43 | ·26·std::vector<std::vector<unsigned·int>·>&·subElements, | ||
44 | ·27·std::vector<std::vector<int>·>&·faceIds); | ||
45 | 28·static·void·grid2_subdivisions(const·std::vector<Vector>·elementCorners, | ||
46 | ·29·std::vector<std::vector<unsigned·int>·>&·subElements, | ||
47 | ·30·std::vector<std::vector<int>·>&·faceIds); | ||
48 | ·31}; | ||
49 | ·32 | ||
50 | ·38template<class·CM> | ||
51 | 39class·IntersectionComputation·{ | ||
67 | · | 52 | ·40private: |
53 | ·41·typedef·typename·CM::Vector·V; | ||
54 | ·42·const·int·dimWorld·=·V::dimension; | ||
55 | ·43·const·int·dim1·=·CM::grid1Dimension; | ||
56 | ·44·const·int·dim2·=·CM::grid2Dimension; | ||
68 | ·65 | ||
69 | ·66·/*·M·E·M·B·E·R·V·A·R·I·A·B·L·E·S·*/ | ||
70 | ·67 | ||
71 | ·69·T·tolerance_; | ||
72 | ·70 | ||
73 | ·71·typedef·typename·StandardMerge<T,dim,dim,dimworld>::SimplicialIntersection | ||
74 | SimplicialIntersection; | ||
75 | ·72 | ||
76 | ·77·void·computeIntersections(const·Dune::GeometryType&·grid1ElementType, | ||
77 | ·78·const·std::vector<Dune::FieldVector<T,dimworld>·>&·grid1ElementCorners, | ||
78 | ·79·std::bitset<(1<<dim)>&·neighborIntersects1, | ||
79 | ·80·unsigned·int·grid1Index, | ||
80 | ·81·const·Dune::GeometryType&·grid2ElementType, | ||
81 | ·82·const·std::vector<Dune::FieldVector<T,dimworld>·>&·grid2ElementCorners, | ||
82 | ·83·std::bitset<(1<<dim)>&·neighborIntersects2, | ||
83 | ·84·unsigned·int·grid2Index, | ||
84 | ·85·std::vector<SimplicialIntersection>&·intersections); | ||
85 | ·86 | ||
86 | · | 57 | ·45public: |
87 | ·88 | ||
88 | 89·static·constexpr·T·default_tolerance·=·1e-4; | ||
89 | ·90 | ||
90 | 91·ConformingMerge(T·tolerance·=·default_tolerance)·: | ||
91 | ·92·tolerance_(tolerance) | ||
92 | ·93·{} | ||
93 | ·94}; | ||
94 | ·95 | ||
95 | ·96template<int·dim,·int·dimworld,·typename·T> | ||
96 | ·97constexpr·T·ConformingMerge<dim,_dimworld,_T>::default_tolerance; | ||
97 | ·98 | ||
98 | ·99template<int·dim,·int·dimworld,·typename·T> | ||
99 | ·100void·ConformingMerge<dim,·dimworld,·T>::computeIntersections(const·Dune:: | ||
100 | GeometryType&·grid1ElementType, | ||
101 | ·101·const·std::vector<Dune::FieldVector<T,dimworld>·>&·grid1ElementCorners, | ||
102 | ·102·std::bitset<(1<<dim)>&·neighborIntersects1, | ||
103 | ·103·unsigned·int·grid1Index, | ||
104 | ·104·const·Dune::GeometryType&·grid2ElementType, | ||
105 | ·105·const·std::vector<Dune::FieldVector<T,dimworld>·>&·grid2ElementCorners, | ||
106 | ·106·std::bitset<(1<<dim)>&·neighborIntersects2, | ||
107 | ·107·unsigned·int·grid2Index, | ||
Max diff block lines reached; 7913/16021 bytes (49.39%) 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:·contactmerge. | 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, 30 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">contactmerge. | 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·/> | ||
81 | < | 97 | <code>#include·<<a·class="el"·href="a00098_source.html">dune/grid-glue/merging/standardmerge.hh</a>></code><br·/> |
82 | <code>#include·<<a·class="el"·href="a000 | 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="a00092_source.html">contactmerge.cc</a>"</code><br·/> | ||
83 | </div> | 100 | </div> |
84 | <p><a·href="a00086_source.html">Go·to·the·source·code·of·this·file.</a></p> | 101 | <p><a·href="a00086_source.html">Go·to·the·source·code·of·this·file.</a></p> |
85 | <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"> | ||
86 | <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> |
87 | Namespaces</h2></td></tr> | 110 | 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> | 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> |
89 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 112 | <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> | 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> |
91 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 114 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
92 | </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> | ||
93 | </div><!--·contents·--> | 118 | </div></div><!--·contents·--> |
94 | <!--·start·footer·part·--> | 119 | <!--·start·footer·part·--> |
95 | <hr·class="footer"/><address·class="footer"><small> | 120 | <hr·class="footer"/><address·class="footer"><small> |
96 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 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 |
97 | </small></address> | 122 | </small></address> |
98 | </body> | 123 | </body> |
99 | </html> | 124 | </html> |
Offset 7, 20 lines modified | Offset 7, 42 lines modified | ||
7 | Loading... | 7 | Loading... |
8 | Searching... | 8 | Searching... |
9 | No·Matches | 9 | No·Matches |
10 | ····*·dune | 10 | ····*·dune |
11 | ····*·grid-glue | 11 | ····*·grid-glue |
12 | ····*·merging | 12 | ····*·merging |
13 | Namespaces | 13 | Classes·|·Namespaces |
14 | contactmerge. | 14 | contactmerge.hh·File·Reference |
15 | 15 | Merge·two·grid·boundary·surfaces·that·may·be·a·positive·distance·apart.·More... | |
16 | #include·<iostream> | ||
17 | #include·<fstream> | ||
18 | #include·<iomanip> | ||
19 | #include·<vector> | ||
20 | #include·<algorithm> | ||
21 | #include·<limits> | ||
22 | #include·<memory> | ||
23 | #include·<functional> | ||
24 | #include·<dune/common/fvector.hh> | ||
25 | #include·<dune/common/exceptions.hh> | ||
26 | #include·<dune/common/bitsetvector.hh> | ||
27 | #include·<dune/common/deprecated.hh> | ||
16 | #include·<dune/grid | 28 | #include·<dune/grid/common/grid.hh> |
29 | #include·<dune/grid-glue/merging/standardmerge.hh> | ||
30 | #include·<dune/grid-glue/gridglue.hh> | ||
31 | #include·"contactmerge.cc" | ||
17 | Go_to_the_source_code_of_this_file. | 32 | Go_to_the_source_code_of_this_file. |
33 | ·Classes | ||
34 | class· Dune::GridGlue::ContactMerge<_dimworld,_T_> | ||
35 | ······Merge·two·codimension-1·surfaces·that·may·be·a·positive·distance·apart. | ||
36 | ········More... | ||
37 | |||
18 | ·Namespaces | 38 | ·Namespaces |
19 | namespace· Dune | 39 | namespace· Dune |
20 | 40 | ||
21 | namespace· Dune::GridGlue | 41 | namespace· Dune::GridGlue |
22 | 42 | ||
43 | *****·Detailed·Description·***** | ||
44 | Merge·two·grid·boundary·surfaces·that·may·be·a·positive·distance·apart. | ||
23 | =============================================================================== | 45 | =============================================================================== |
24 | ·····Generated·by [doxygen]·1.9.8 | 46 | ·····Generated·by [doxygen]·1.9.8 |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-grid-glue:·contactmerge. | 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, 389 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">contactmerge. | 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="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>·</div> | ||
88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#include·<<a·class="code"·href="a00029.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> | ||
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=" | 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> |
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> | ||
93 | <div·class="line"><a·id="l0001 | 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·<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> | ||
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> | 99 | <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> | 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> | ||
106 | <div·class="line"><a·id="l0002 | 104 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> |
107 | <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·<dune/grid/common/grid.hh></span></div> |
108 | <div·class="line"><a·id="l0002 | 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="a00098.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="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="l00032"·name="l00032"></a><span·class="lineno">···32</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="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> | ||
115 | <div·class="line"><a·id="l0003 | 112 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</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="l000 | 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> | ||
120 | <div·class="line"><a·id="l000 | 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> | ||
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 | 119 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div> |
126 | <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> | ||
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="l0004 | 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> | ||
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="l0005 | 124 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span><span·class="keyword">public</span>:</div> |
135 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>····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="l0005 | 125 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</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="l0005 | 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> |
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> | ||
142 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div> | 131 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div> |
143 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>····<span·class=" | 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> |
144 | <div·class="line"><a·id="l0006 | 133 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</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="l000 | 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#a64b00db[·...·truncated·by·diffoscope;·len:·314,·SHA:·df2214e0881d61d9443ccef98b090d4205c62a1f3652c96d9435ddf25f33de36·...·]</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> | ||
Max diff block lines reached; 62151/100176 bytes (62.04%) of diff not shown. |
Offset 8, 441 lines modified | Offset 8, 305 lines modified | ||
8 | Loading... | 8 | Loading... |
9 | Searching... | 9 | Searching... |
10 | No·Matches | 10 | No·Matches |
11 | ····*·dune | 11 | ····*·dune |
12 | ····*·grid-glue | 12 | ····*·grid-glue |
13 | ····*·merging | 13 | ····*·merging |
14 | contactmerge. | 14 | contactmerge.hh |
15 | Go_to_the_documentation_of_this_file. | 15 | Go_to_the_documentation_of_this_file. |
16 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 16 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
17 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: | 17 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: |
18 | ·3//·SPDX-FileCopyrightInfo:·Copyright·©·DUNE·Project·contributors,·see·file | 18 | ·3//·SPDX-FileCopyrightInfo:·Copyright·©·DUNE·Project·contributors,·see·file |
19 | LICENSE.md·in·module·root | 19 | LICENSE.md·in·module·root |
20 | ·4//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only- | 20 | ·4//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only- |
21 | with-dune-grid-glue-exception | 21 | with-dune-grid-glue-exception |
22 | ·5 | ||
23 | · | 22 | ·10#ifndef·DUNE_GRIDGLUE_MERGING_CONTACTMERGE_HH |
23 | ·11#define·DUNE_GRIDGLUE_MERGING_CONTACTMERGE_HH | ||
24 | ·12 | ||
25 | ·13 | ||
26 | ·14#include·<iostream> | ||
27 | ·15#include·<fstream> | ||
28 | ·16#include·<iomanip> | ||
29 | ·17#include·<vector> | ||
30 | ·18#include·<algorithm> | ||
31 | ·19#include·<limits> | ||
32 | ·20#include·<memory> | ||
33 | ·21#include·<functional> | ||
34 | ·22 | ||
35 | ·23#include·<dune/common/fvector.hh> | ||
36 | ·24#include·<dune/common/exceptions.hh> | ||
37 | ·25#include·<dune/common/bitsetvector.hh> | ||
38 | ·26#include·<dune/common/deprecated.hh> | ||
39 | ·27 | ||
24 | · | 40 | ·28#include·<dune/grid/common/grid.hh> |
25 | · | 41 | ·29 |
42 | ·30#include·<dune/grid-glue/merging/standardmerge.hh> | ||
43 | ·31#include·<dune/grid-glue/gridglue.hh> | ||
44 | ·32 | ||
26 | · | 45 | ·33namespace·Dune·{ |
27 | · | 46 | ·34namespace·GridGlue·{ |
28 | · | 47 | ·35 |
29 | · | 48 | ·41template<int·dimworld,·typename·T·=·double> |
49 | 42class·ContactMerge | ||
50 | ·43:·public·StandardMerge<T,dimworld-1,dimworld-1,dimworld> | ||
51 | ·44{ | ||
52 | ·45·static·constexpr·int·dim·=·dimworld-1; | ||
53 | ·46 | ||
54 | ·47·static_assert(·dim==1·||·dim==2, | ||
55 | ·48·"ContactMerge·yet·only·handles·the·cases·dim==1·and·dim==2!"); | ||
56 | ·49 | ||
57 | ·50·typedef·StandardMerge<T,dim,dim,dimworld>·Base; | ||
58 | ·51public: | ||
59 | ·52 | ||
60 | ·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·*/ | ||
61 | ·54 | ||
62 | 56·typedef·T·ctype; | ||
63 | ·57 | ||
64 | 59·typedef·Dune::FieldVector<T,·dimworld>·WorldCoords; | ||
30 | ·13void·ContactMerge<dimworld,·T>::computeIntersections(const·Dune:: | ||
31 | GeometryType&·grid1ElementType, | ||
32 | ·14·const·std::vector<Dune::FieldVector<T,dimworld>·>&·grid1ElementCorners, | ||
33 | ·15·std::bitset<(1<<dim)>&·neighborIntersects1, | ||
34 | ·16·unsigned·int·grid1Index, | ||
35 | ·17·const·Dune::GeometryType&·grid2ElementType, | ||
36 | ·18·const·std::vector<Dune::FieldVector<T,dimworld>·>&·grid2ElementCorners, | ||
37 | ·19·std::bitset<(1<<dim)>&·neighborIntersects2, | ||
38 | ·20·unsigned·int·grid2Index, | ||
39 | ·21·std::vector<SimplicialIntersection>&·intersections) | ||
40 | ·22{ | ||
41 | ·23·using·std::get; | ||
42 | ·24 | ||
43 | ·25·std::vector<std::array<LocalCoords,2>·>·polytopeCorners; | ||
44 | ·26 | ||
45 | ·27·//·Initialize | ||
46 | ·28·neighborIntersects1.reset(); | ||
47 | ·29·neighborIntersects2.reset(); | ||
48 | ·30 | ||
49 | ·31·const·int·nCorners1·=·grid1ElementCorners.size(); | ||
50 | ·32·const·int·nCorners2·=·grid2ElementCorners.size(); | ||
51 | ·33 | ||
52 | ·34·if·(nCorners1·!=·dimworld) | ||
53 | ·35·DUNE_THROW(Dune::Exception,·"element1·must·have·"·<<·dimworld·<<·"·corners, | ||
54 | but·has·"·<<·nCorners1); | ||
55 | ·36·if·(nCorners2·!=·dimworld) | ||
56 | ·37·DUNE_THROW(Dune::Exception,·"element2·must·have·"·<<·dimworld·<<·"·corners, | ||
57 | but·has·"·<<·nCorners2); | ||
58 | ·38 | ||
59 | ·39·//·The·grid1·projection·directions | ||
60 | ·40·std::vector<WorldCoords>·directions1(nCorners1); | ||
61 | ·41·for·(size_t·i=0;·i<directions1.size();·i++) | ||
62 | ·42·directions1[i]·=·nodalDomainDirections_[this->grid1ElementCorners_ | ||
63 | [grid1Index][i]]; | ||
64 | ·43 | ||
65 | ·44·//·The·grid2·projection·directions | ||
66 | ·45·std::vector<WorldCoords>·directions2(nCorners2); | ||
67 | ·46·for·(size_t·i=0;·i<directions2.size();·i++) | ||
68 | ·47·directions2[i]·=·nodalTargetDirections_[this->grid2ElementCorners_ | ||
69 | [grid2Index][i]]; | ||
70 | ·48 | ||
71 | ·49·//·The·difference·between·the·closest·point·projection·and·the·normal | ||
72 | projection·is·just·the·ordering | ||
73 | ·50·//·of·the·involved·surfaces.·The·closest·point·projection·is·done·along·the | ||
74 | outer·normal·field·of·grid2 | ||
75 | ·51·//·(due·to·being·a·best·approximation)·and·the·outer·normal·projection·is | ||
76 | using·the·outer·normal·field | ||
77 | ·52·//·of·grid1·instead. | ||
78 | ·53·std::array<decltype(std::cref(grid1ElementCorners)),2>·cornersRef·={std:: | ||
79 | cref(grid1ElementCorners),·std::cref(grid2ElementCorners)}; | ||
80 | ·54·std::array<decltype(std::cref(directions1)),2>·directionsRef·={std::cref | ||
81 | (directions1),·std::cref(directions2)}; | ||
82 | ·55·std::array<Dune::GeometryType,2>·elementTypes·=·{grid1ElementType, | ||
83 | grid2ElementType}; | ||
84 | ·56 | ||
85 | ·57·//·Determine·which·is·the·grid·we·use·for·outer·normal·projection | ||
86 | ·58·const·size_t·domGrid·=·(type_==ProjectionType::OUTER_NORMAL)·?·0·:·1; | ||
87 | ·59·const·size_t·tarGrid·=·(type_==ProjectionType::OUTER_NORMAL)·?·1·:·0; | ||
88 | ·60 | 65 | ·60 |
66 | 62·typedef·Dune::FieldVector<T,·dim>·LocalCoords; | ||
67 | ·63 | ||
68 | 65·enum·ProjectionType·{OUTER_NORMAL,·CLOSEST_POINT}; | ||
69 | 73·ContactMerge(const·T·allowedOverlap=T(0), | ||
70 | ·74·std::function<WorldCoords(WorldCoords)>·domainDirections=nullptr, | ||
71 | ·75·std::function<WorldCoords(WorldCoords)>·targetDirections=nullptr, | ||
72 | ·76·ProjectionType·type·=·OUTER_NORMAL) | ||
73 | ·77·:·domainDirections_(domainDirections),·targetDirections_(targetDirections), | ||
74 | ·78·overlap_(allowedOverlap),·type_(type) | ||
Max diff block lines reached; 16595/24501 bytes (67.73%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-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="a00092_source.html">dune/grid-glue/merging/standardmerge.hh</a>></code><br·/> | ||
92 | <code>#include·<<a·class="el"·href="a00068_source.html">dune/grid-glue/merging/computeintersection.hh</a>></code><br·/> | ||
93 | <code>#include·"<a·class="el"·href="a00065_source.html">overlappingmerge.cc</a>"</code><br·/> | ||
94 | </div> | ||
95 | <p><a·href="a00089_source.html">Go·to·the·source·code·of·this·file.</a></p> | 82 | <p><a·href="a00089_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="a00089.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 7, 35 lines modified | Offset 7, 24 lines modified | ||
7 | Loading... | 7 | Loading... |
8 | Searching... | 8 | Searching... |
9 | No·Matches | 9 | No·Matches |
10 | ····*·dune | 10 | ····*·dune |
11 | ····*·grid-glue | 11 | ····*·grid-glue |
12 | ····*·merging | 12 | ····*·merging |
13 | 13 | Namespaces·|·Macros | |
14 | overlappingmerge. | 14 | overlappingmerge.cc·File·Reference |
15 | #include·<iostream> | ||
16 | #include·<iomanip> | ||
17 | #include·<vector> | ||
18 | #include·<algorithm> | ||
19 | #include·<dune/common/fmatrix.hh> | ||
20 | #include·<dune/common/fvector.hh> | ||
21 | #include·<dune/geometry/referenceelements.hh> | ||
22 | #include·<dune/geometry/multilineargeometry.hh> | ||
23 | #include·<dune/grid/common/grid.hh> | ||
24 | #include·<dune/grid-glue/merging/standardmerge.hh> | ||
25 | #include·<dune/grid-glue/merging/computeintersection.hh> | ||
26 | #include·"overlappingmerge.cc" | ||
27 | Go_to_the_source_code_of_this_file. | 15 | Go_to_the_source_code_of_this_file. |
28 | ·Classes | ||
29 | class· Dune::GridGlue::OverlappingMerge<_dim1,_dim2,_dimworld,_T_> | ||
30 | ······Computing·overlapping·grid·intersections·for·grids·of·different | ||
31 | ········dimensions.·More... | ||
32 | |||
33 | ·Namespaces | 16 | ·Namespaces |
34 | namespace· Dune | 17 | namespace· Dune |
35 | 18 | ||
36 | namespace· Dune::GridGlue | 19 | namespace· Dune::GridGlue |
37 | 20 | ||
21 | ·Macros | ||
22 | #define DUNE_GRIDGLUE_OVERLAPPINGMERGE_CC | ||
23 | |||
24 | *****·Macro·Definition·Documentation·***** | ||
25 | *****·◆ DUNE_GRIDGLUE_OVERLAPPINGMERGE_CC·***** | ||
26 | #define·DUNE_GRIDGLUE_OVERLAPPINGMERGE_CC | ||
38 | =============================================================================== | 27 | =============================================================================== |
39 | ·····Generated·by [doxygen]·1.9.8 | 28 | ·····Generated·by [doxygen]·1.9.8 |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-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="a00089.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 83 | <a·href="a00089.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><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="a00089.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="a00092.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 8, 128 lines modified | Offset 8, 246 lines modified | ||
8 | Loading... | 8 | Loading... |
9 | Searching... | 9 | Searching... |
10 | No·Matches | 10 | No·Matches |
11 | ····*·dune | 11 | ····*·dune |
12 | ····*·grid-glue | 12 | ····*·grid-glue |
13 | ····*·merging | 13 | ····*·merging |
14 | overlappingmerge. | 14 | overlappingmerge.cc |
15 | Go_to_the_documentation_of_this_file. | 15 | Go_to_the_documentation_of_this_file. |
16 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 16 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
17 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: | 17 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: |
18 | ·3//·SPDX-FileCopyrightInfo:·Copyright·©·DUNE·Project·contributors,·see·file | 18 | ·3//·SPDX-FileCopyrightInfo:·Copyright·©·DUNE·Project·contributors,·see·file |
19 | LICENSE.md·in·module·root | 19 | LICENSE.md·in·module·root |
20 | ·4//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only- | 20 | ·4//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only- |
21 | with-dune-grid-glue-exception | 21 | with-dune-grid-glue-exception |
22 | ·5 | ||
22 | · | 23 | ·6#ifndef·DUNE_GRIDGLUE_OVERLAPPINGMERGE_CC |
23 | 24 | 7#define·DUNE_GRIDGLUE_OVERLAPPINGMERGE_CC | |
24 | ·7 | ||
25 | ·8#include·<iostream> | ||
26 | ·9#include·<iomanip> | ||
27 | ·10#include·<vector> | ||
28 | · | 25 | ·8//#include·<algorithm> |
26 | ·9 | ||
27 | ·10namespace·Dune·{ | ||
28 | ·11namespace·GridGlue·{ | ||
29 | ·12 | 29 | ·12 |
30 | ·13#include·<dune/common/fmatrix.hh> | ||
31 | ·1 | 30 | ·13template<int·dim1,·int·dim2,·int·dimworld,·typename·T> |
31 | ·14bool·OverlappingMerge<dim1,dim2,dimworld,·T>::inPlane(std:: | ||
32 | vector<FieldVector<T,dimworld>·>&·points)·{ | ||
32 | ·15 | 33 | ·15 |
33 | ·16#include·<dune/geometry/referenceelements.hh> | ||
34 | ·17#include·<dune/geometry/multilineargeometry.hh> | ||
35 | ·18 | ||
36 | ·1 | 34 | ·16·T·eps·=·1e-8; |
35 | ·17 | ||
36 | ·18·assert(dim1·==·3·&&·dim2·==·3·&&·dimworld·==·3); | ||
37 | ·19·assert(points.size()·==·4); | ||
37 | ·20 | 38 | ·20 |
38 | ·21#include·<dune/grid-glue/merging/standardmerge.hh> | ||
39 | ·22#include·<dune/grid-glue/merging/computeintersection.hh> | ||
40 | ·23 | ||
41 | ·24namespace·Dune·{ | ||
42 | ·25namespace·GridGlue·{ | ||
43 | ·2 | 39 | ·21·FieldVector<T,dimworld>·v1·=·points[1]-points[0]; |
40 | ·22·FieldVector<T,dimworld>·v2·=·points[2]-points[0]; | ||
41 | ·23·FieldVector<T,dimworld>·v3·=·points[3]-points[0]; | ||
42 | ·24 | ||
43 | ·25·FieldVector<T,dimworld>·v1xv2; | ||
44 | ·26·v1xv2[0]·=·v1[1]*v2[2]·-·v1[2]*v2[1]; | ||
45 | ·27·v1xv2[1]·=·v1[2]*v2[0]·-·v1[0]*v2[2]; | ||
46 | ·28·v1xv2[2]·=·v1[0]*v2[1]·-·v1[1]*v2[0]; | ||
47 | ·29 | ||
48 | ·30·return·(std::abs(v3.dot(v1xv2))·<·eps); | ||
49 | ·31} | ||
50 | ·32 | ||
44 | ·3 | 51 | ·33template<int·dim1,·int·dim2,·int·dimworld,·typename·T> |
45 | 35class·OverlappingMerge | ||
46 | 52 | 34void·OverlappingMerge<dim1,dim2,dimworld,_T>::computeIntersections(const | |
53 | Dune::GeometryType&·grid1ElementType, | ||
54 | ·35·const·std::vector<Dune::FieldVector<T,dimworld>·>&·grid1ElementCorners, | ||
55 | ·36·std::bitset<(1<<dim1)>&·neighborIntersects1, | ||
56 | ·37·unsigned·int·grid1Index, | ||
57 | ·38·const·Dune::GeometryType&·grid2ElementType, | ||
58 | ·39·const·std::vector<Dune::FieldVector<T,dimworld>·>&·grid2ElementCorners, | ||
59 | ·40·std::bitset<(1<<dim2)>&·neighborIntersects2, | ||
60 | ·41·unsigned·int·grid2Index, | ||
61 | ·42·std::vector<SimplicialIntersection>&·intersections) | ||
47 | · | 62 | ·43{ |
63 | ·44·using·std::min; | ||
48 | ·38 | ||
49 | ·39public: | ||
50 | ·40 | ||
51 | ·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·*/ | ||
52 | ·42 | ||
53 | 44·typedef·T·ctype; | ||
54 | ·45 | 64 | ·45 |
55 | 65 | ·46·this->counter++; | |
66 | ·47·intersections.clear(); | ||
56 | ·48 | 67 | ·48 |
57 | ·50·//typedef·Dune::FieldVector<T,·dim>·LocalCoords; | ||
58 | ·51 | ||
59 | 52·OverlappingMerge() | ||
60 | · | 68 | ·49·typedef·SimplexMethod<dimworld,dim1,dim2,T>·CM; |
69 | ·50 | ||
70 | ·51#ifndef·NDEBUG | ||
71 | ·52·const·auto&·refElement1·=·Dune::ReferenceElements<T,dim1>::general | ||
72 | (grid1ElementType); | ||
73 | ·53·const·auto&·refElement2·=·Dune::ReferenceElements<T,dim2>::general | ||
74 | (grid2ElementType); | ||
61 | ·54 | 75 | ·54 |
62 | ·55protected: | ||
63 | 56·typedef·typename·StandardMerge<T,dim1,dim2,dimworld>::SimplicialIntersection | ||
64 | SimplicialIntersection; | ||
65 | ·57 | ||
66 | · | 76 | ·55·//·A·few·consistency·checks |
77 | ·56·assert((unsigned·int)(refElement1.size(dim1))·==·grid1ElementCorners.size | ||
78 | ()); | ||
79 | ·57·assert((unsigned·int)(refElement2.size(dim2))·==·grid2ElementCorners.size | ||
80 | ()); | ||
81 | ·58#endif | ||
82 | ·59 | ||
83 | ·60·//·Make·generic·geometries·representing·the·grid1-·and·grid2·element. | ||
84 | ·61·//·this·eases·computation·of·local·coordinates. | ||
85 | ·62·typedef·MultiLinearGeometry<T,dim1,dimworld>·Geometry1; | ||
86 | ·63·typedef·MultiLinearGeometry<T,dim2,dimworld>·Geometry2; | ||
87 | ·64 | ||
88 | ·65·Geometry1·grid1Geometry(grid1ElementType,·grid1ElementCorners); | ||
89 | ·66·Geometry2·grid2Geometry(grid2ElementType,·grid2ElementCorners); | ||
90 | ·67 | ||
91 | ·68·//·Dirty·workaround·for·the·intersection·computation·scaling·problem·(part | ||
92 | 1/2) | ||
93 | ·69·std::vector<Dune::FieldVector<T,dimworld>·>·scaledGrid1ElementCorners | ||
94 | (grid1ElementCorners.size()); | ||
67 | ·70· | 95 | ·70·std::vector<Dune::FieldVector<T,dimworld>·>·scaledGrid2ElementCorners |
68 | ·71·std::bitset<(1<<dim1)>&·neighborIntersects1, | ||
69 | ·72·unsigned·int·grid1Index, | ||
70 | ·73·const·Dune::GeometryType&·grid2ElementType, | ||
71 | ·74·const·std::vector<Dune::FieldVector<T,dimworld>·>&·grid2ElementCorners, | ||
72 | ·75·std::bitset<(1<<dim2)>&·neighborIntersects2, | ||
73 | ·76·unsigned·int·grid2Index, | ||
74 | ·77·std::vector<SimplicialIntersection>&·intersections); | ||
75 | ·78 | ||
76 | ·79private: | ||
77 | 96 | (grid2ElementCorners.size()); | |
97 | ·71 | ||
Max diff block lines reached; 6570/12345 bytes (53.22%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-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="a00083_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="a00029_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="a00041_source.html">dune/grid-glue/common/projection.hh</a>></code><br·/> |
104 | </div> | 83 | </div> |
105 | <p><a·href="a00092_source.html">Go·to·the·source·code·of·this·file.</a></p> | 84 | <p><a·href="a00092_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="a00092.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="a00092.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 7, 80 lines modified | Offset 7, 20 lines modified | ||
7 | Loading... | 7 | Loading... |
8 | Searching... | 8 | Searching... |
9 | No·Matches | 9 | No·Matches |
10 | ····*·dune | 10 | ····*·dune |
11 | ····*·grid-glue | 11 | ····*·grid-glue |
12 | ····*·merging | 12 | ····*·merging |
13 | 13 | Namespaces | |
14 | 14 | contactmerge.cc·File·Reference | |
15 | #include·<dune/grid-glue/common/crossproduct.hh> | ||
15 | Common·base·class·for·many·merger·implementations:·produce·pairs·of·entities | ||
16 | that·may·intersect.·More... | ||
17 | #include·<iostream> | ||
18 | #include·<iomanip> | ||
19 | #include·<vector> | ||
20 | #include·<stack> | ||
21 | #include·<set> | ||
22 | #include·<utility> | ||
23 | #include·<map> | ||
24 | #include·<memory> | ||
25 | #include·<algorithm> | ||
26 | #include·<dune/common/fvector.hh> | ||
27 | #include·<dune/common/bitsetvector.hh> | ||
28 | #include·<dune/common/stdstreams.hh> | ||
29 | #include·<dune/common/timer.hh> | ||
30 | #include·<dune/geometry/referenceelements.hh> | ||
31 | #include·<dune/grid/common/ | 16 | #include·<dune/grid-glue/common/projection.hh> |
32 | #include·<dune/grid-glue/merging/intersectionlist.hh> | ||
33 | #include·<dune/grid-glue/merging/merger.hh> | ||
34 | #include·<dune/grid-glue/merging/computeintersection.hh> | ||
35 | Go_to_the_source_code_of_this_file. | 17 | Go_to_the_source_code_of_this_file. |
36 | ·Classes | ||
37 | class· Dune::GridGlue::StandardMerge<_T,_grid1Dim,_grid2Dim,_dimworld_> | ||
38 | ······Common·base·class·for·many·merger·implementations:·produce·pairs·of | ||
39 | ········entities·that·may·intersect.·More... | ||
40 | |||
41 | ·Namespaces | 18 | ·Namespaces |
42 | namespace· Dune | 19 | namespace· Dune |
43 | 20 | ||
44 | namespace· Dune::GridGlue | 21 | namespace· Dune::GridGlue |
45 | 22 | ||
46 | ·Macros | ||
47 | #define DECL extern | ||
48 | |||
49 | #define STANDARD_MERGE_INSTANTIATE(T,·A,·B,·C) | ||
50 | |||
51 | ·Functions | ||
52 | Dune::GridGlue::STANDARD_MERGE_INSTANTIATE·(double,·1,·1,·1) | ||
53 | |||
54 | Dune::GridGlue::STANDARD_MERGE_INSTANTIATE·(double,·2,·2,·2) | ||
55 | |||
56 | Dune::GridGlue::STANDARD_MERGE_INSTANTIATE·(double,·3,·3,·3) | ||
57 | |||
58 | *****·Detailed·Description·***** | ||
59 | Common·base·class·for·many·merger·implementations:·produce·pairs·of·entities | ||
60 | that·may·intersect. | ||
61 | *****·Macro·Definition·Documentation·***** | ||
62 | *****·◆ DECL·***** | ||
63 | #define·DECL extern | ||
64 | *****·◆ STANDARD_MERGE_INSTANTIATE·***** | ||
65 | #define·STANDARD_MERGE_INSTANTIATE·(· T, | ||
66 | ····································· A, | ||
67 | ····································· B, | ||
68 | ····································· C | ||
69 | ···································) | ||
70 | Value: | ||
71 | DECL·template·\ | ||
72 | void·StandardMerge<T,A,B,C>::build(const·std::vector<Dune::FieldVector<T,C>·>& | ||
73 | grid1Coords,·\ | ||
74 | const·std::vector<unsigned·int>&·grid1_elements,·\ | ||
75 | const·std::vector<Dune::GeometryType>&·grid1_element_types,·\ | ||
76 | const·std::vector<Dune::FieldVector<T,C>·>&·grid2Coords,·\ | ||
77 | const·std::vector<unsigned·int>&·grid2_elements,·\ | ||
78 | const·std::vector<Dune::GeometryType>&·grid2_element_types·\ | ||
79 | ) | ||
80 | DECL | ||
81 | #define·DECL | ||
82 | Definition·standardmerge.hh:827 | ||
83 | =============================================================================== | 23 | =============================================================================== |
84 | ·····Generated·by [doxygen]·1.9.8 | 24 | ·····Generated·by [doxygen]·1.9.8 |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-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="a00092.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 83 | <a·href="a00092.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><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="a00083.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="a00095.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="a00068.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="a00029.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="a00041.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 8, 994 lines modified | Offset 8, 441 lines modified | ||
8 | Loading... | 8 | Loading... |
9 | Searching... | 9 | Searching... |
10 | No·Matches | 10 | No·Matches |
11 | ····*·dune | 11 | ····*·dune |
12 | ····*·grid-glue | 12 | ····*·grid-glue |
13 | ····*·merging | 13 | ····*·merging |
14 | 14 | contactmerge.cc | |
15 | Go_to_the_documentation_of_this_file. | 15 | Go_to_the_documentation_of_this_file. |
16 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 16 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
17 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: | 17 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: |
18 | ·3//·SPDX-FileCopyrightInfo:·Copyright·©·DUNE·Project·contributors,·see·file | 18 | ·3//·SPDX-FileCopyrightInfo:·Copyright·©·DUNE·Project·contributors,·see·file |
19 | LICENSE.md·in·module·root | 19 | LICENSE.md·in·module·root |
20 | ·4//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only- | 20 | ·4//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only- |
21 | with-dune-grid-glue-exception | 21 | with-dune-grid-glue-exception |
22 | ·10#ifndef·DUNE_GRIDGLUE_MERGING_STANDARDMERGE_HH | ||
23 | ·11#define·DUNE_GRIDGLUE_MERGING_STANDARDMERGE_HH | ||
24 | ·12 | ||
25 | ·13 | ||
26 | ·14#include·<iostream> | ||
27 | ·15#include·<iomanip> | ||
28 | ·16#include·<vector> | ||
29 | ·17#include·<stack> | ||
30 | ·18#include·<set> | ||
31 | ·19#include·<utility> | ||
32 | ·20#include·<map> | ||
33 | ·21#include·<memory> | ||
34 | ·22#include·<algorithm> | ||
35 | ·23 | ||
36 | ·24#include·<dune/common/fvector.hh> | ||
37 | ·25#include·<dune/common/bitsetvector.hh> | ||
38 | ·26#include·<dune/common/stdstreams.hh> | ||
39 | ·27#include·<dune/common/timer.hh> | ||
40 | ·28 | ||
41 | ·29#include·<dune/geometry/referenceelements.hh> | ||
42 | ·30#include·<dune/grid/common/grid.hh> | ||
43 | ·31 | ||
44 | ·32#include·<dune/grid-glue/merging/intersectionlist.hh> | ||
45 | ·33#include·<dune/grid-glue/merging/merger.hh> | ||
46 | ·34#include·<dune/grid-glue/merging/computeintersection.hh> | ||
47 | · | 22 | ·5 |
23 | ·6#include·<dune/grid-glue/common/crossproduct.hh> | ||
24 | ·7#include·<dune/grid-glue/common/projection.hh> | ||
25 | ·8 | ||
48 | · | 26 | ·9namespace·Dune·{ |
49 | · | 27 | ·10namespace·GridGlue·{ |
28 | ·11 | ||
29 | ·12template<int·dimworld,·typename·T> | ||
30 | ·13void·ContactMerge<dimworld,·T>::computeIntersections(const·Dune:: | ||
31 | GeometryType&·grid1ElementType, | ||
32 | ·14·const·std::vector<Dune::FieldVector<T,dimworld>·>&·grid1ElementCorners, | ||
33 | ·15·std::bitset<(1<<dim)>&·neighborIntersects1, | ||
34 | ·16·unsigned·int·grid1Index, | ||
35 | ·17·const·Dune::GeometryType&·grid2ElementType, | ||
36 | ·18·const·std::vector<Dune::FieldVector<T,dimworld>·>&·grid2ElementCorners, | ||
37 | ·19·std::bitset<(1<<dim)>&·neighborIntersects2, | ||
38 | ·20·unsigned·int·grid2Index, | ||
39 | ·21·std::vector<SimplicialIntersection>&·intersections) | ||
40 | ·22{ | ||
41 | ·23·using·std::get; | ||
42 | ·24 | ||
43 | ·25·std::vector<std::array<LocalCoords,2>·>·polytopeCorners; | ||
44 | ·26 | ||
45 | ·27·//·Initialize | ||
46 | ·28·neighborIntersects1.reset(); | ||
47 | ·29·neighborIntersects2.reset(); | ||
48 | ·30 | ||
49 | ·31·const·int·nCorners1·=·grid1ElementCorners.size(); | ||
50 | ·32·const·int·nCorners2·=·grid2ElementCorners.size(); | ||
51 | ·33 | ||
52 | ·34·if·(nCorners1·!=·dimworld) | ||
53 | ·35·DUNE_THROW(Dune::Exception,·"element1·must·have·"·<<·dimworld·<<·"·corners, | ||
54 | but·has·"·<<·nCorners1); | ||
55 | ·36·if·(nCorners2·!=·dimworld) | ||
56 | ·37·DUNE_THROW(Dune::Exception,·"element2·must·have·"·<<·dimworld·<<·"·corners, | ||
57 | but·has·"·<<·nCorners2); | ||
50 | ·38 | 58 | ·38 |
51 | ·55template<class·T,·int·grid1Dim,·int·grid2Dim,·int·dimworld> | ||
52 | 56class·StandardMerge | ||
53 | ·57·:·public·Merger<T,grid1Dim,grid2Dim,dimworld> | ||
54 | ·58{ | ||
55 | · | 59 | ·39·//·The·grid1·projection·directions |
60 | ·40·std::vector<WorldCoords>·directions1(nCorners1); | ||
61 | ·41·for·(size_t·i=0;·i<directions1.size();·i++) | ||
62 | ·42·directions1[i]·=·nodalDomainDirections_[this->grid1ElementCorners_ | ||
63 | [grid1Index][i]]; | ||
64 | ·43 | ||
65 | ·44·//·The·grid2·projection·directions | ||
66 | ·45·std::vector<WorldCoords>·directions2(nCorners2); | ||
67 | ·46·for·(size_t·i=0;·i<directions2.size();·i++) | ||
68 | ·47·directions2[i]·=·nodalTargetDirections_[this->grid2ElementCorners_ | ||
69 | [grid2Index][i]]; | ||
70 | ·48 | ||
71 | ·49·//·The·difference·between·the·closest·point·projection·and·the·normal | ||
72 | projection·is·just·the·ordering | ||
73 | ·50·//·of·the·involved·surfaces.·The·closest·point·projection·is·done·along·the | ||
74 | outer·normal·field·of·grid2 | ||
75 | ·51·//·(due·to·being·a·best·approximation)·and·the·outer·normal·projection·is | ||
76 | using·the·outer·normal·field | ||
77 | ·52·//·of·grid1·instead. | ||
78 | ·53·std::array<decltype(std::cref(grid1ElementCorners)),2>·cornersRef·={std:: | ||
79 | cref(grid1ElementCorners),·std::cref(grid2ElementCorners)}; | ||
80 | ·54·std::array<decltype(std::cref(directions1)),2>·directionsRef·={std::cref | ||
81 | (directions1),·std::cref(directions2)}; | ||
82 | ·55·std::array<Dune::GeometryType,2>·elementTypes·=·{grid1ElementType, | ||
83 | grid2ElementType}; | ||
84 | ·56 | ||
85 | ·57·//·Determine·which·is·the·grid·we·use·for·outer·normal·projection | ||
86 | ·58·const·size_t·domGrid·=·(type_==ProjectionType::OUTER_NORMAL)·?·0·:·1; | ||
87 | ·59·const·size_t·tarGrid·=·(type_==ProjectionType::OUTER_NORMAL)·?·1·:·0; | ||
56 | ·60 | 88 | ·60 |
89 | ·62·//·Compute·all·corners·of·the·intersection·polytope | ||
57 | ·61public: | ||
58 | ·62 | ||
59 | ·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·*/ | ||
60 | ·64 | 90 | ·64 |
61 | 66·typedef·T·ctype; | ||
62 | ·67 | ||
63 | 69·using·Grid1Coords·=·typename·Base::Grid1Coords; | ||
64 | ·70 | ||
65 | 72·using·Grid2Coords·=·typename·Base::Grid2Coords; | ||
66 | ·73 | ||
67 | 75·using·WorldCoords·=·typename·Base::WorldCoords; | ||
68 | ·76 | ||
69 | 77·using·IntersectionList·=·typename·Base::IntersectionList; | ||
70 | ·78 | ||
71 | ·79protected: | ||
Max diff block lines reached; 43340/51579 bytes (84.03%) 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="a00098_source.html">standardmerge.hh</a>"</code><br·/> |
86 | </div> | ||
87 | <p><a·href="a00095_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="a00095.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="a00095.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="a00095.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="aa00095_html_ad5c7ca0181fea7823b37d06d5f61e9cd"><div·class="ttname"><a·href="a00095.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 7, 27 lines modified | Offset 7, 53 lines modified | ||
7 | Loading... | 7 | Loading... |
8 | Searching... | 8 | Searching... |
9 | No·Matches | 9 | No·Matches |
10 | ····*·dune | 10 | ····*·dune |
11 | ····*·grid-glue | 11 | ····*·grid-glue |
12 | ····*·merging | 12 | ····*·merging |
13 | 13 | Namespaces·|·Macros·|·Functions | |
14 | merge | 14 | standardmerge.cc·File·Reference |
15 | #include·"config.h" | ||
16 | #include·"standardmerge.hh" | ||
15 | #include·<vector> | ||
16 | #include·<dune/common/fvector.hh> | ||
17 | #include·<dune/geometry/type.hh> | ||
18 | #include·<dune/grid-glue/merging/intersectionlist.hh> | ||
19 | Go_to_the_source_code_of_this_file. | ||
20 | ·Classes | ||
21 | class· Dune::GridGlue::Merger<_ctype,_grid1Dim,_grid2Dim,_dimworld_> | ||
22 | ······Abstract·base·for·all·classes·that·take·extracted·grids·and·build·sets | ||
23 | ········of·intersections.·More... | ||
24 | |||
25 | ·Namespaces | 17 | ·Namespaces |
26 | namespace· Dune | 18 | namespace· Dune |
27 | 19 | ||
28 | namespace· Dune::GridGlue | 20 | namespace· Dune::GridGlue |
29 | 21 | ||
22 | ·Macros | ||
23 | #define DECL | ||
24 | |||
25 | #define STANDARD_MERGE_INSTANTIATE(T,·A,·B,·C) | ||
26 | |||
27 | ·Functions | ||
28 | Dune::GridGlue::STANDARD_MERGE_INSTANTIATE·(double,·1,·1,·1) | ||
29 | |||
30 | Dune::GridGlue::STANDARD_MERGE_INSTANTIATE·(double,·2,·2,·2) | ||
31 | |||
32 | Dune::GridGlue::STANDARD_MERGE_INSTANTIATE·(double,·3,·3,·3) | ||
33 | |||
34 | *****·Macro·Definition·Documentation·***** | ||
35 | *****·◆ DECL·***** | ||
36 | #define·DECL | ||
37 | *****·◆ STANDARD_MERGE_INSTANTIATE·***** | ||
38 | #define·STANDARD_MERGE_INSTANTIATE·(· T, | ||
39 | ····································· A, | ||
40 | ····································· B, | ||
41 | ····································· C | ||
42 | ···································) | ||
43 | Value: | ||
44 | DECL·template·\ | ||
45 | void·StandardMerge<T,A,B,C>::build(const·std::vector<Dune::FieldVector<T,C>·>& | ||
46 | grid1_coords,·\ | ||
47 | const·std::vector<unsigned·int>&·grid1_elements,·\ | ||
48 | const·std::vector<Dune::GeometryType>&·grid1_element_types,·\ | ||
49 | const·std::vector<Dune::FieldVector<T,C>·>&·grid2_coords,·\ | ||
50 | const·std::vector<unsigned·int>&·grid2_elements,·\ | ||
51 | const·std::vector<Dune::GeometryType>&·grid2_element_types·\ | ||
52 | ) | ||
53 | DECL | ||
54 | #define·DECL | ||
55 | Definition·standardmerge.cc:12 | ||
30 | =============================================================================== | 56 | =============================================================================== |
31 | ·····Generated·by [doxygen]·1.9.8 | 57 | ·····Generated·by [doxygen]·1.9.8 |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-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, 55 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"> |
82 | <p> | 84 | <p>Common·base·class·for·many·merger·implementations:·produce·pairs·of·entities·that·<em>may</em>·intersect.·· |
83 | <a·href="#details">More...</a></p> | 85 | <a·href="#details">More...</a></p> |
84 | <div·class="textblock"><code>#include·<iostream></code><br·/> | 86 | <div·class="textblock"><code>#include·<iostream></code><br·/> |
85 | <code>#include·<fstream></code><br·/> | ||
86 | <code>#include·<iomanip></code><br·/> | 87 | <code>#include·<iomanip></code><br·/> |
87 | <code>#include·<vector></code><br·/> | 88 | <code>#include·<vector></code><br·/> |
89 | <code>#include·<stack></code><br·/> | ||
88 | <code>#include·< | 90 | <code>#include·<set></code><br·/> |
89 | <code>#include·< | 91 | <code>#include·<utility></code><br·/> |
92 | <code>#include·<map></code><br·/> | ||
90 | <code>#include·<memory></code><br·/> | 93 | <code>#include·<memory></code><br·/> |
91 | <code>#include·< | 94 | <code>#include·<algorithm></code><br·/> |
92 | <code>#include·<dune/common/fvector.hh></code><br·/> | 95 | <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·/> | 96 | <code>#include·<dune/common/bitsetvector.hh></code><br·/> |
97 | <code>#include·<dune/common/stdstreams.hh></code><br·/> | ||
95 | <code>#include·<dune/common/ | 98 | <code>#include·<dune/common/timer.hh></code><br·/> |
99 | <code>#include·<dune/geometry/referenceelements.hh></code><br·/> | ||
96 | <code>#include·<dune/grid/common/grid.hh></code><br·/> | 100 | <code>#include·<dune/grid/common/grid.hh></code><br·/> |
101 | <code>#include·<<a·class="el"·href="a00083_source.html">dune/grid-glue/merging/intersectionlist.hh</a>></code><br·/> | ||
97 | <code>#include·<<a·class="el"·href="a000 | 102 | <code>#include·<<a·class="el"·href="a00071_source.html">dune/grid-glue/merging/merger.hh</a>></code><br·/> |
98 | <code>#include·<<a·class="el"·href="a000 | 103 | <code>#include·<<a·class="el"·href="a00077_source.html">dune/grid-glue/merging/computeintersection.hh</a>></code><br·/> |
99 | <code>#include·"<a·class="el"·href="a00086_source.html">contactmerge.cc</a>"</code><br·/> | ||
100 | </div> | 104 | </div> |
101 | <p><a·href="a00098_source.html">Go·to·the·source·code·of·this·file.</a></p> | 105 | <p><a·href="a00098_source.html">Go·to·the·source·code·of·this·file.</a></p> |
102 | <table·class="memberdecls"> | 106 | <table·class="memberdecls"> |
103 | <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> |
104 | Classes</h2></td></tr> | 108 | 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="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> |
106 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight"> | 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> |
107 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 111 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
108 | </table><table·class="memberdecls"> | 112 | </table><table·class="memberdecls"> |
109 | <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> |
110 | Namespaces</h2></td></tr> | 114 | 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> | 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> |
112 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 116 | <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> | 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> |
114 | <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="a00098.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="a00098.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> | ||
115 | </table> | 135 | </table> |
116 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> | 136 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> |
117 | <div·class="textblock"><p> | 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> | ||
Max diff block lines reached; 243/12376 bytes (1.96%) of diff not shown. |
Offset 7, 42 lines modified | Offset 7, 80 lines modified | ||
7 | Loading... | 7 | Loading... |
8 | Searching... | 8 | Searching... |
9 | No·Matches | 9 | No·Matches |
10 | ····*·dune | 10 | ····*·dune |
11 | ····*·grid-glue | 11 | ····*·grid-glue |
12 | ····*·merging | 12 | ····*·merging |
13 | Classes·|·Namespaces | 13 | Classes·|·Namespaces·|·Macros·|·Functions |
14 | 14 | standardmerge.hh·File·Reference | |
15 | 15 | Common·base·class·for·many·merger·implementations:·produce·pairs·of·entities | |
16 | that·may·intersect.·More... | ||
16 | #include·<iostream> | 17 | #include·<iostream> |
17 | #include·<fstream> | ||
18 | #include·<iomanip> | 18 | #include·<iomanip> |
19 | #include·<vector> | 19 | #include·<vector> |
20 | #include·< | 20 | #include·<stack> |
21 | #include·<set> | ||
21 | #include·< | 22 | #include·<utility> |
23 | #include·<map> | ||
22 | #include·<memory> | 24 | #include·<memory> |
23 | #include·< | 25 | #include·<algorithm> |
24 | #include·<dune/common/fvector.hh> | 26 | #include·<dune/common/fvector.hh> |
25 | #include·<dune/common/exceptions.hh> | ||
26 | #include·<dune/common/bitsetvector.hh> | 27 | #include·<dune/common/bitsetvector.hh> |
28 | #include·<dune/common/stdstreams.hh> | ||
27 | #include·<dune/common/ | 29 | #include·<dune/common/timer.hh> |
30 | #include·<dune/geometry/referenceelements.hh> | ||
28 | #include·<dune/grid/common/grid.hh> | 31 | #include·<dune/grid/common/grid.hh> |
32 | #include·<dune/grid-glue/merging/intersectionlist.hh> | ||
29 | #include·<dune/grid-glue/merging/ | 33 | #include·<dune/grid-glue/merging/merger.hh> |
34 | #include·<dune/grid-glue/merging/computeintersection.hh> | ||
30 | #include·<dune/grid-glue/gridglue.hh> | ||
31 | #include·"contactmerge.cc" | ||
32 | Go_to_the_source_code_of_this_file. | 35 | Go_to_the_source_code_of_this_file. |
33 | ·Classes | 36 | ·Classes |
34 | class· Dune::GridGlue::ContactMerge<_dimworld,_T_> | ||
35 | ······Merge·two·codimension-1·surfaces·that·may·be·a·positive·distance·apart. | ||
36 | · | 37 | class· Dune::GridGlue::StandardMerge<_T,_grid1Dim,_grid2Dim,_dimworld_> |
38 | ······Common·base·class·for·many·merger·implementations:·produce·pairs·of | ||
39 | ········entities·that·may·intersect.·More... | ||
37 | 40 | ||
38 | ·Namespaces | 41 | ·Namespaces |
39 | namespace· Dune | 42 | namespace· Dune |
40 | 43 | ||
41 | namespace· Dune::GridGlue | 44 | namespace· Dune::GridGlue |
42 | 45 | ||
46 | ·Macros | ||
47 | #define DECL extern | ||
48 | |||
49 | #define STANDARD_MERGE_INSTANTIATE(T,·A,·B,·C) | ||
50 | |||
51 | ·Functions | ||
52 | Dune::GridGlue::STANDARD_MERGE_INSTANTIATE·(double,·1,·1,·1) | ||
53 | |||
54 | Dune::GridGlue::STANDARD_MERGE_INSTANTIATE·(double,·2,·2,·2) | ||
55 | |||
56 | Dune::GridGlue::STANDARD_MERGE_INSTANTIATE·(double,·3,·3,·3) | ||
57 | |||
43 | *****·Detailed·Description·***** | 58 | *****·Detailed·Description·***** |
44 | 59 | Common·base·class·for·many·merger·implementations:·produce·pairs·of·entities | |
60 | that·may·intersect. | ||
61 | *****·Macro·Definition·Documentation·***** | ||
62 | *****·◆ DECL·***** | ||
63 | #define·DECL extern | ||
64 | *****·◆ STANDARD_MERGE_INSTANTIATE·***** | ||
65 | #define·STANDARD_MERGE_INSTANTIATE·(· T, | ||
66 | ····································· A, | ||
67 | ····································· B, | ||
68 | ····································· C | ||
69 | ···································) | ||
70 | Value: | ||
71 | DECL·template·\ | ||
72 | void·StandardMerge<T,A,B,C>::build(const·std::vector<Dune::FieldVector<T,C>·>& | ||
73 | grid1Coords,·\ | ||
74 | const·std::vector<unsigned·int>&·grid1_elements,·\ | ||
75 | const·std::vector<Dune::GeometryType>&·grid1_element_types,·\ | ||
76 | const·std::vector<Dune::FieldVector<T,C>·>&·grid2Coords,·\ | ||
77 | const·std::vector<unsigned·int>&·grid2_elements,·\ | ||
78 | const·std::vector<Dune::GeometryType>&·grid2_element_types·\ | ||
79 | ) | ||
80 | DECL | ||
81 | #define·DECL | ||
82 | Definition·standardmerge.hh:827 | ||
45 | =============================================================================== | 83 | =============================================================================== |
46 | ·····Generated·by [doxygen]·1.9.8 | 84 | ·····Generated·by [doxygen]·1.9.8 |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-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, 235 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="a00098.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 83 | <a·href="a00098.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····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_ | 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_ | 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> | 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> | 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> | 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="l0001 | 92 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·<iomanip></span></div> |
94 | <div·class="line"><a·id="l0001 | 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·< | 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·< | 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> | ||
97 | <div·class="line"><a·id="l0002 | 98 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·<memory></span></div> |
98 | <div·class="line"><a·id="l0002 | 99 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·<algorithm></span></div> |
99 | <div·class="line"><a·id="l0002 | 100 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div> |
100 | <div·class="line"><a·id="l0002 | 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> |
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> | 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/d | 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> | ||
104 | <div·class="line"><a·id="l0002 | 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> | ||
105 | <div·class="line"><a·id="l000 | 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> |
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="a00092.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="l0003 | 108 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</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 | 109 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">#include·<<a·class="code"·href="a00083.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="a00071.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="a00077.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> | 112 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div> |
113 | <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> |
114 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="keyword">namespace·</span>GridGlue·{</div> | ||
115 | <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> | ||
114 | <div·class="foldopen"·id="foldopen000 | 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="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> | ||
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> | ||
119 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div> | ||
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> | ||
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> | ||
125 | <div·class="line"><a·id="l0005 | 120 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>{</div> |
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> | ||
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> | ||
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> | 122 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div> |
132 | <div·class="line"><a·id="l0006 | 123 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span><span·class="keyword">public</span>:</div> |
133 | <div·class="line"><a·id="l0006 | 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> | ||
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</a>;</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="l000 | 128 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div> |
143 | </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#a08e3749b28fa4f6db[·...·truncated·by·diffoscope;·len:·176,·SHA:·e8647fa700034c562e1683b8784344f37ee59395f9ad24ffb347cf278806f98d·...·]/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> | ||
132 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</div> | ||
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</a>·=·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a01110.html#a188d6a829994e6552b894a99dc53a944">Base::WorldCoords</a>;</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> | ||
144 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</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="foldopen0008 | 145 | <div·class="foldopen"·id="foldopen00088"·data-start="{"·data-end="}"> |
146 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno"><a·class="line"·href="a01078.html#ade2e75dce9c45a21d4c6f99e33f7c7b4">···86</a></span>····<a·class="code·hl_function"·href="a01078.html#ade2e75dce9c45a21d4c6f99e33f7c7b4">ContactMerge</a>(<span·class="keyword">const</span>·T·allowedOverlap,·<a·class="code·hl_enumeration"·href="a01078.html#a64b00dbd05b81c313858487b68d90601">ProjectionType</a>·type)</div> | ||
147 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>········:·overlap_(allowedOverlap),</div> | ||
148 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>····· | 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> | ||
149 | <div·class="line"><a·id="l000 | 149 | <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>····{}</div> |
150 | </div> | 150 | </div> |
151 | <div·class="line"><a·id="l0009 | 151 | <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>·</div> |
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">~StandardMerge</a>()·=·<span·class="keywordflow">default</span>;</div> | ||
Max diff block lines reached; 146848/187968 bytes (78.12%) of diff not shown. |
Offset 8, 305 lines modified | Offset 8, 994 lines modified | ||
8 | Loading... | 8 | Loading... |
9 | Searching... | 9 | Searching... |
10 | No·Matches | 10 | No·Matches |
11 | ····*·dune | 11 | ····*·dune |
12 | ····*·grid-glue | 12 | ····*·grid-glue |
13 | ····*·merging | 13 | ····*·merging |
14 | 14 | standardmerge.hh | |
15 | Go_to_the_documentation_of_this_file. | 15 | Go_to_the_documentation_of_this_file. |
16 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 16 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
17 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: | 17 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: |
18 | ·3//·SPDX-FileCopyrightInfo:·Copyright·©·DUNE·Project·contributors,·see·file | 18 | ·3//·SPDX-FileCopyrightInfo:·Copyright·©·DUNE·Project·contributors,·see·file |
19 | LICENSE.md·in·module·root | 19 | LICENSE.md·in·module·root |
20 | ·4//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only- | 20 | ·4//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only- |
21 | with-dune-grid-glue-exception | 21 | with-dune-grid-glue-exception |
22 | ·10#ifndef·DUNE_GRIDGLUE_MERGING_ | 22 | ·10#ifndef·DUNE_GRIDGLUE_MERGING_STANDARDMERGE_HH |
23 | ·11#define·DUNE_GRIDGLUE_MERGING_ | 23 | ·11#define·DUNE_GRIDGLUE_MERGING_STANDARDMERGE_HH |
24 | ·12 | 24 | ·12 |
25 | ·13 | 25 | ·13 |
26 | ·14#include·<iostream> | 26 | ·14#include·<iostream> |
27 | ·15#include·<fstream> | ||
28 | ·1 | 27 | ·15#include·<iomanip> |
29 | ·1 | 28 | ·16#include·<vector> |
29 | ·17#include·<stack> | ||
30 | ·18#include·< | 30 | ·18#include·<set> |
31 | ·19#include·< | 31 | ·19#include·<utility> |
32 | ·20#include·<map> | ||
32 | ·2 | 33 | ·21#include·<memory> |
33 | ·21#include·<functional> | ||
34 | ·22 | 34 | ·22#include·<algorithm> |
35 | ·23 | ||
35 | ·2 | 36 | ·24#include·<dune/common/fvector.hh> |
36 | ·24#include·<dune/common/exceptions.hh> | ||
37 | ·25#include·<dune/common/bitsetvector.hh> | 37 | ·25#include·<dune/common/bitsetvector.hh> |
38 | ·26#include·<dune/common/d | 38 | ·26#include·<dune/common/stdstreams.hh> |
39 | ·27 | 39 | ·27#include·<dune/common/timer.hh> |
40 | ·28 | ||
41 | ·29#include·<dune/geometry/referenceelements.hh> | ||
40 | · | 42 | ·30#include·<dune/grid/common/grid.hh> |
41 | · | 43 | ·31 |
44 | ·32#include·<dune/grid-glue/merging/intersectionlist.hh> | ||
42 | ·3 | 45 | ·33#include·<dune/grid-glue/merging/merger.hh> |
46 | ·34#include·<dune/grid-glue/merging/computeintersection.hh> | ||
43 | ·31#include·<dune/grid-glue/gridglue.hh> | ||
44 | ·32 | ||
45 | ·33namespace·Dune·{ | ||
46 | ·34namespace·GridGlue·{ | ||
47 | ·35 | 47 | ·35 |
48 | ·36namespace·Dune·{ | ||
49 | ·37namespace·GridGlue·{ | ||
50 | ·38 | ||
51 | ·55template<class·T,·int·grid1Dim,·int·grid2Dim,·int·dimworld> | ||
52 | 56class·StandardMerge | ||
53 | ·57·:·public·Merger<T,grid1Dim,grid2Dim,dimworld> | ||
54 | ·58{ | ||
55 | ·59·using·Base·=·Merger<T,_grid1Dim,_grid2Dim,_dimworld>; | ||
48 | ·41template<int·dimworld,·typename·T·=·double> | ||
49 | 42class·ContactMerge | ||
50 | ·43:·public·StandardMerge<T,dimworld-1,dimworld-1,dimworld> | ||
51 | ·44{ | ||
52 | ·45·static·constexpr·int·dim·=·dimworld-1; | ||
53 | ·46 | ||
54 | ·47·static_assert(·dim==1·||·dim==2, | ||
55 | ·48·"ContactMerge·yet·only·handles·the·cases·dim==1·and·dim==2!"); | ||
56 | ·49 | ||
57 | ·50·typedef·StandardMerge<T,dim,dim,dimworld>·Base; | ||
58 | ·51public: | ||
59 | ·52 | ||
60 | ·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·*/ | ||
61 | ·54 | ||
62 | 56·typedef·T·ctype; | ||
63 | ·57 | ||
64 | 59·typedef·Dune::FieldVector<T,·dimworld>·WorldCoords; | ||
65 | ·60 | 56 | ·60 |
66 | 62·typedef·Dune::FieldVector<T,·dim>·LocalCoords; | ||
67 | ·63 | ||
68 | 65·enum·ProjectionType·{OUTER_NORMAL,·CLOSEST_POINT}; | ||
69 | 73·ContactMerge(const·T·allowedOverlap=T(0), | ||
70 | ·74·std::function<WorldCoords(WorldCoords)>·domainDirections=nullptr, | ||
71 | ·75·std::function<WorldCoords(WorldCoords)>·targetDirections=nullptr, | ||
72 | ·76·ProjectionType·type·=·OUTER_NORMAL) | ||
73 | ·77·:·domainDirections_(domainDirections),·targetDirections_(targetDirections), | ||
74 | ·78·overlap_(allowedOverlap),·type_(type) | ||
75 | · | 57 | ·61public: |
58 | ·62 | ||
59 | ·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·*/ | ||
60 | ·64 | ||
61 | 66·typedef·T·ctype; | ||
62 | ·67 | ||
63 | 69·using·Grid1Coords·=·typename·Base::Grid1Coords; | ||
64 | ·70 | ||
65 | 72·using·Grid2Coords·=·typename·Base::Grid2Coords; | ||
66 | ·73 | ||
67 | 75·using·WorldCoords·=·typename·Base::WorldCoords; | ||
68 | ·76 | ||
69 | 77·using·IntersectionList·=·typename·Base::IntersectionList; | ||
70 | ·78 | ||
71 | ·79protected: | ||
76 | ·80 | 72 | ·80 |
73 | 82·using·IntersectionListProvider·= | ||
74 | SimplicialIntersectionListProvider<grid1Dim,_grid2Dim>; | ||
75 | 83·using·SimplicialIntersection·=·typename·IntersectionListProvider:: | ||
76 | SimplicialIntersection; | ||
77 | 86·ContactMerge(const·T·allowedOverlap,·ProjectionType·type) | ||
78 | ·87·:·overlap_(allowedOverlap), | ||
79 | ·88·type_(type) | ||
80 | ·89·{} | ||
81 | ·90 | ||
82 | ·99·inline | ||
83 | 100·void·setSurfaceDirections(std::function<WorldCoords(WorldCoords)> | ||
84 | domainDirections, | ||
85 | ·101·std::function<WorldCoords(WorldCoords)>·targetDirections) | ||
86 | ·102·{ | ||
87 | ·103·domainDirections_·=·domainDirections; | ||
88 | ·104·targetDirections_·=·targetDirections; | ||
89 | ·105·this->valid·=·false; | ||
90 | ·106·} | ||
91 | ·107 | ||
92 | 109·void·setOverlap(T·overlap) | ||
93 | ·110·{ | ||
94 | ·111·overlap_·=·overlap; | ||
95 | ·112·} | ||
96 | ·113 | ||
97 | 115·T·getOverlap()·const | ||
98 | ·116·{ | ||
99 | ·117·return·overlap_; | ||
100 | ·118·} | ||
Max diff block lines reached; 40058/47094 bytes (85.06%) of diff not shown. |
Offset 69, 15 lines modified | Offset 69, 15 lines modified | ||
69 | </div><!--·top·--> | 69 | </div><!--·top·--> |
70 | <div><div·class="header"> | 70 | <div><div·class="header"> |
71 | ··<div·class="headertitle"><div·class="title">Todo·List</div></div> | 71 | ··<div·class="headertitle"><div·class="title">Todo·List</div></div> |
72 | </div><!--header--> | 72 | </div><!--header--> |
73 | <div·class="contents"> | 73 | <div·class="contents"> |
74 | <div·class="textblock"><dl·class="reflist"> | 74 | <div·class="textblock"><dl·class="reflist"> |
75 | <dt>Member·<a·class="el"·href="a000 | 75 | <dt>Member·<a·class="el"·href="a00035.html#a1a95f4074572a7a9e13bcb072afef070">CheckMPIStatus</a>··(A,·B)</dt> |
76 | <dd><a·class="anchor"·id="_todo000011"></a>Implement·MPI·Status·check·with·exception·handling··</dd> | 76 | <dd><a·class="anchor"·id="_todo000011"></a>Implement·MPI·Status·check·with·exception·handling··</dd> |
77 | <dt>Class·<a·class="el"·href="a00926.html">Dune::GridGlue::GridGlue<·P0,·P1·></a>··</dt> | 77 | <dt>Class·<a·class="el"·href="a00926.html">Dune::GridGlue::GridGlue<·P0,·P1·></a>··</dt> |
78 | <dd><a·class="anchor"·id="_todo000001"></a>adapt·member·names·according·to·style·guide··</dd> | 78 | <dd><a·class="anchor"·id="_todo000001"></a>adapt·member·names·according·to·style·guide··</dd> |
79 | <dt>Member·<a·class="el"·href="a00926.html#a2512ddf80706911fb851b4cda0bf74c5">Dune::GridGlue::GridGlue<·P0,·P1·>::communicate</a>··(Dune::GridGlue::CommDataHandle<·DataHandleImp,·DataTypeImp·>·&data,·Dune::InterfaceType·iftype,·Dune::CommunicationDirection·dir)·const</dt> | 79 | <dt>Member·<a·class="el"·href="a00926.html#a2512ddf80706911fb851b4cda0bf74c5">Dune::GridGlue::GridGlue<·P0,·P1·>::communicate</a>··(Dune::GridGlue::CommDataHandle<·DataHandleImp,·DataTypeImp·>·&data,·Dune::InterfaceType·iftype,·Dune::CommunicationDirection·dir)·const</dt> |
80 | <dd><p·class="startdd"><a·class="anchor"·id="_todo000007"></a>fix·mixed·communication:·seq->par·use·commSeq,·par->seq·use·commPar·</p> | 80 | <dd><p·class="startdd"><a·class="anchor"·id="_todo000007"></a>fix·mixed·communication:·seq->par·use·commSeq,·par->seq·use·commPar·</p> |
81 | <p·class="interdd"></p> | 81 | <p·class="interdd"></p> |
82 | <p·class="enddd">add·directed·version·communicate<FROM,TO,·DH,DT>(data,iftype,dir)··</p> | 82 | <p·class="enddd">add·directed·version·communicate<FROM,TO,·DH,DT>(data,iftype,dir)··</p> |
Offset 1530, 16 lines modified | Offset 1530, 16 lines modified | ||
1530 | </table> | 1530 | </table> |
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="a000 | 1536 | <li><a·class="el"·href="a00026_source.html">gridglue.cc</a></li> |
1537 | <li><a·class="el"·href="a000 | 1537 | <li><a·class="el"·href="a00008_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 83, 15 lines modified | Offset 83, 15 lines modified | ||
83 | ··<div·class="headertitle"><div·class="title">Dune::GridGlue::IntersectionData<·P0,·P1·>·Class·Template·Reference</div></div> | 83 | ··<div·class="headertitle"><div·class="title">Dune::GridGlue::IntersectionData<·P0,·P1·>·Class·Template·Reference</div></div> |
84 | </div><!--header--> | 84 | </div><!--header--> |
85 | <div·class="contents"> | 85 | <div·class="contents"> |
86 | <p>storage·class·for·<a·class="el"·href="a00934.html"·title="The·intersection·of·two·entities·of·the·two·patches·of·a·GridGlue.">Dune::GridGlue::Intersection</a>·related·data·· | 86 | <p>storage·class·for·<a·class="el"·href="a00934.html"·title="The·intersection·of·two·entities·of·the·two·patches·of·a·GridGlue.">Dune::GridGlue::Intersection</a>·related·data·· |
87 | ·<a·href="a00930.html#details">More...</a></p> | 87 | ·<a·href="a00930.html#details">More...</a></p> |
88 | <p><code>#include·<<a·class="el"·href="a000 | 88 | <p><code>#include·<<a·class="el"·href="a00020_source.html">dune/grid-glue/adapter/intersection.hh</a>></code></p> |
89 | <table·class="memberdecls"> | 89 | <table·class="memberdecls"> |
90 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> | 90 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> |
91 | Public·Types</h2></td></tr> | 91 | Public·Types</h2></td></tr> |
92 | <tr·class="memitem:a8d1653323f35e2260a07a3da83c3ceb7"·id="r_a8d1653323f35e2260a07a3da83c3ceb7"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a00926.html">::Dune::GridGlue::GridGlue</a><·P0,·P1·> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00930.html#a8d1653323f35e2260a07a3da83c3ceb7">GridGlue</a></td></tr> | 92 | <tr·class="memitem:a8d1653323f35e2260a07a3da83c3ceb7"·id="r_a8d1653323f35e2260a07a3da83c3ceb7"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a00926.html">::Dune::GridGlue::GridGlue</a><·P0,·P1·> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00930.html#a8d1653323f35e2260a07a3da83c3ceb7">GridGlue</a></td></tr> |
93 | <tr·class="separator:a8d1653323f35e2260a07a3da83c3ceb7"><td·class="memSeparator"·colspan="2"> </td></tr> | 93 | <tr·class="separator:a8d1653323f35e2260a07a3da83c3ceb7"><td·class="memSeparator"·colspan="2"> </td></tr> |
94 | <tr·class="memitem:a0549e226272a2f522a7ed456764d6d17"·id="r_a0549e226272a2f522a7ed456764d6d17"><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="a00930.html#a0549e226272a2f522a7ed456764d6d17">IndexType</a></td></tr> | 94 | <tr·class="memitem:a0549e226272a2f522a7ed456764d6d17"·id="r_a0549e226272a2f522a7ed456764d6d17"><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="a00930.html#a0549e226272a2f522a7ed456764d6d17">IndexType</a></td></tr> |
95 | <tr·class="separator:a0549e226272a2f522a7ed456764d6d17"><td·class="memSeparator"·colspan="2"> </td></tr> | 95 | <tr·class="separator:a0549e226272a2f522a7ed456764d6d17"><td·class="memSeparator"·colspan="2"> </td></tr> |
Offset 640, 15 lines modified | Offset 640, 15 lines modified | ||
640 | <p>Dimension·of·the·intersection.·</p> | 640 | <p>Dimension·of·the·intersection.·</p> |
641 | </div> | 641 | </div> |
642 | </div> | 642 | </div> |
643 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul> | 643 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul> |
644 | <li><a·class="el"·href="a00002_source.html">gridglue.hh</a></li> | 644 | <li><a·class="el"·href="a00002_source.html">gridglue.hh</a></li> |
645 | <li><a·class="el"·href="a000 | 645 | <li><a·class="el"·href="a00020_source.html">intersection.hh</a></li> |
646 | </ul> | 646 | </ul> |
647 | </div><!--·contents·--> | 647 | </div><!--·contents·--> |
648 | <!--·start·footer·part·--> | 648 | <!--·start·footer·part·--> |
649 | <hr·class="footer"/><address·class="footer"><small> | 649 | <hr·class="footer"/><address·class="footer"><small> |
650 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 650 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
651 | </small></address> | 651 | </small></address> |
652 | </body> | 652 | </body> |
Offset 81, 15 lines modified | Offset 81, 15 lines modified | ||
81 | ··<div·class="headertitle"><div·class="title">Dune::GridGlue::Intersection<·P0,·P1,·I,·O·>·Class·Template·Reference</div></div> | 81 | ··<div·class="headertitle"><div·class="title">Dune::GridGlue::Intersection<·P0,·P1,·I,·O·>·Class·Template·Reference</div></div> |
82 | </div><!--header--> | 82 | </div><!--header--> |
83 | <div·class="contents"> | 83 | <div·class="contents"> |
84 | <p>The·intersection·of·two·entities·of·the·two·patches·of·a·<a·class="el"·href="a00926.html"·title="sequential·adapter·to·couple·two·grids·at·specified·close·together·boundaries">GridGlue</a>.·· | 84 | <p>The·intersection·of·two·entities·of·the·two·patches·of·a·<a·class="el"·href="a00926.html"·title="sequential·adapter·to·couple·two·grids·at·specified·close·together·boundaries">GridGlue</a>.·· |
85 | ·<a·href="a00934.html#details">More...</a></p> | 85 | ·<a·href="a00934.html#details">More...</a></p> |
86 | <p><code>#include·<<a·class="el"·href="a000 | 86 | <p><code>#include·<<a·class="el"·href="a00020_source.html">dune/grid-glue/adapter/intersection.hh</a>></code></p> |
87 | <div·class="dynheader"> | 87 | <div·class="dynheader"> |
88 | Inheritance·diagram·for·Dune::GridGlue::Intersection<·P0,·P1,·I,·O·>:</div> | 88 | Inheritance·diagram·for·Dune::GridGlue::Intersection<·P0,·P1,·I,·O·>:</div> |
89 | <div·class="dyncontent"> | 89 | <div·class="dyncontent"> |
90 | <div·class="center"><img·src="a00933.png"·border="0"·usemap="#a_dune_1_1_grid_glue_1_1_intersection_3_01_p0_00_01_p1_00_01_i_00_01_o_01_4_inherit__map"·alt="Inheritance·graph"/></div> | 90 | <div·class="center"><img·src="a00933.png"·border="0"·usemap="#a_dune_1_1_grid_glue_1_1_intersection_3_01_p0_00_01_p1_00_01_i_00_01_o_01_4_inherit__map"·alt="Inheritance·graph"/></div> |
91 | <map·name="a_dune_1_1_grid_glue_1_1_intersection_3_01_p0_00_01_p1_00_01_i_00_01_o_01_4_inherit__map"·id="a_dune_1_1_grid_glue_1_1_intersection_3_01_p0_00_01_p1_00_01_i_00_01_o_01_4_inherit__map"> | 91 | <map·name="a_dune_1_1_grid_glue_1_1_intersection_3_01_p0_00_01_p1_00_01_i_00_01_o_01_4_inherit__map"·id="a_dune_1_1_grid_glue_1_1_intersection_3_01_p0_00_01_p1_00_01_i_00_01_o_01_4_inherit__map"> |
92 | <area·shape="rect"·title="The·intersection·of·two·entities·of·the·two·patches·of·a·GridGlue."·alt=""·coords="5,5,212,45"/> | 92 | <area·shape="rect"·title="The·intersection·of·two·entities·of·the·two·patches·of·a·GridGlue."·alt=""·coords="5,5,212,45"/> |
93 | <area·shape="rect"·href="a00934.html"·title="·"·alt=""·coords="5,108,212,148"/> | 93 | <area·shape="rect"·href="a00934.html"·title="·"·alt=""·coords="5,108,212,148"/> |
Offset 1082, 15 lines modified | Offset 1082, 15 lines modified | ||
1082 | <p>outside·patch·</p> | 1082 | <p>outside·patch·</p> |
1083 | </div> | 1083 | </div> |
1084 | </div> | 1084 | </div> |
1085 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul> | 1085 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul> |
1086 | <li><a·class="el"·href="a00002_source.html">gridglue.hh</a></li> | 1086 | <li><a·class="el"·href="a00002_source.html">gridglue.hh</a></li> |
1087 | <li><a·class="el"·href="a000 | 1087 | <li><a·class="el"·href="a00020_source.html">intersection.hh</a></li> |
1088 | </ul> | 1088 | </ul> |
1089 | </div><!--·contents·--> | 1089 | </div><!--·contents·--> |
1090 | <!--·start·footer·part·--> | 1090 | <!--·start·footer·part·--> |
1091 | <hr·class="footer"/><address·class="footer"><small> | 1091 | <hr·class="footer"/><address·class="footer"><small> |
1092 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 1092 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
1093 | </small></address> | 1093 | </small></address> |
1094 | </body> | 1094 | </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="a00935.html">List·of·all·members</a>··</div> | 79 | <a·href="a00935.html">List·of·all·members</a>··</div> |
80 | ··<div·class="headertitle"><div·class="title">Dune::GridGlue::IntersectionIterator<·P0,·P1,·inside,·outside·>·Class·Template·Reference</div></div> | 80 | ··<div·class="headertitle"><div·class="title">Dune::GridGlue::IntersectionIterator<·P0,·P1,·inside,·outside·>·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="a00017_source.html">dune/grid-glue/adapter/intersectioniterator.hh</a>></code></p> |
84 | <div·class="dynheader"> | 84 | <div·class="dynheader"> |
85 | Inheritance·diagram·for·Dune::GridGlue::IntersectionIterator<·P0,·P1,·inside,·outside·>:</div> | 85 | Inheritance·diagram·for·Dune::GridGlue::IntersectionIterator<·P0,·P1,·inside,·outside·>:</div> |
86 | <div·class="dyncontent"> | 86 | <div·class="dyncontent"> |
87 | <div·class="center"><img·src="a00937.png"·border="0"·usemap="#a_dune_1_1_grid_glue_1_1_intersection_iterator_3_01_p0_00_01_p1_00_01inside_00_01outside_01_4_inherit__map"·alt="Inheritance·graph"/></div> | 87 | <div·class="center"><img·src="a00937.png"·border="0"·usemap="#a_dune_1_1_grid_glue_1_1_intersection_iterator_3_01_p0_00_01_p1_00_01inside_00_01outside_01_4_inherit__map"·alt="Inheritance·graph"/></div> |
88 | <map·name="a_dune_1_1_grid_glue_1_1_intersection_iterator_3_01_p0_00_01_p1_00_01inside_00_01outside_01_4_inherit__map"·id="a_dune_1_1_grid_glue_1_1_intersection_iterator_3_01_p0_00_01_p1_00_01inside_00_01outside_01_4_inherit__map"> | 88 | <map·name="a_dune_1_1_grid_glue_1_1_intersection_iterator_3_01_p0_00_01_p1_00_01inside_00_01outside_01_4_inherit__map"·id="a_dune_1_1_grid_glue_1_1_intersection_iterator_3_01_p0_00_01_p1_00_01inside_00_01outside_01_4_inherit__map"> |
89 | <area·shape="rect"·title="·"·alt=""·coords="263,20,469,75"/> | 89 | <area·shape="rect"·title="·"·alt=""·coords="263,20,469,75"/> |
90 | <area·shape="rect"·title="·"·alt=""·coords="5,5,215,89"/> | 90 | <area·shape="rect"·title="·"·alt=""·coords="5,5,215,89"/> |
Offset 267, 15 lines modified | Offset 267, 15 lines modified | ||
267 | </table> | 267 | </table> |
268 | </div><div·class="memdoc"> | 268 | </div><div·class="memdoc"> |
269 | </div> | 269 | </div> |
270 | </div> | 270 | </div> |
271 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul> | 271 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul> |
272 | <li><a·class="el"·href="a00002_source.html">gridglue.hh</a></li> | 272 | <li><a·class="el"·href="a00002_source.html">gridglue.hh</a></li> |
273 | <li><a·class="el"·href="a000 | 273 | <li><a·class="el"·href="a00017_source.html">intersectioniterator.hh</a></li> |
274 | </ul> | 274 | </ul> |
275 | </div><!--·contents·--> | 275 | </div><!--·contents·--> |
276 | <!--·start·footer·part·--> | 276 | <!--·start·footer·part·--> |
277 | <hr·class="footer"/><address·class="footer"><small> | 277 | <hr·class="footer"/><address·class="footer"><small> |
278 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 278 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
279 | </small></address> | 279 | </small></address> |
280 | </body> | 280 | </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="a00011_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="a00011_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="a00023_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="a00023_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="a0000 | 82 | <p><code>#include·<<a·class="el"·href="a00005_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="a0000 | 208 | <li><a·class="el"·href="a00005_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="a0000 | 86 | <p><code>#include·<<a·class="el"·href="a00005_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="a0000 | 321 | <li><a·class="el"·href="a00005_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="a0000 | 84 | <p><code>#include·<<a·class="el"·href="a00005_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="a0000 | 347 | <li><a·class="el"·href="a00005_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="a0000 | 84 | <p><code>#include·<<a·class="el"·href="a00005_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="a0000 | 203 | <li><a·class="el"·href="a00005_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="a0000 | 86 | <p><code>#include·<<a·class="el"·href="a00005_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="a0000 | 296 | <li><a·class="el"·href="a00005_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="a0000 | 85 | <p><code>#include·<<a·class="el"·href="a00005_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="a0000 | 205 | <li><a·class="el"·href="a00005_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="a00014_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="a00014_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 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-static-attribs">Static·Public·Attributes</a>·| | 78 | <a·href="#pub-static-attribs">Static·Public·Attributes</a>·| |
79 | <a·href="a00979.html">List·of·all·members</a>··</div> | 79 | <a·href="a00979.html">List·of·all·members</a>··</div> |
80 | ··<div·class="headertitle"><div·class="title">Dune::GridGlue::IntersectionTraits<·P0,·P1,·inside,·outside·>·Struct·Template·Reference</div></div> | 80 | ··<div·class="headertitle"><div·class="title">Dune::GridGlue::IntersectionTraits<·P0,·P1,·inside,·outside·>·Struct·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/intersection.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:ac936419519edf6390c8dcfc5054e0d6d"·id="r_ac936419519edf6390c8dcfc5054e0d6d"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00982.html#ac936419519edf6390c8dcfc5054e0d6d">GridGlue</a>·=·<a·class="el"·href="a00926.html">::Dune::GridGlue::GridGlue</a><·P0,·P1·></td></tr> | 87 | <tr·class="memitem:ac936419519edf6390c8dcfc5054e0d6d"·id="r_ac936419519edf6390c8dcfc5054e0d6d"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00982.html#ac936419519edf6390c8dcfc5054e0d6d">GridGlue</a>·=·<a·class="el"·href="a00926.html">::Dune::GridGlue::GridGlue</a><·P0,·P1·></td></tr> |
88 | <tr·class="separator:ac936419519edf6390c8dcfc5054e0d6d"><td·class="memSeparator"·colspan="2"> </td></tr> | 88 | <tr·class="separator:ac936419519edf6390c8dcfc5054e0d6d"><td·class="memSeparator"·colspan="2"> </td></tr> |
89 | <tr·class="memitem:a5eeb73ab3dc11208a726f022c9b871cf"·id="r_a5eeb73ab3dc11208a726f022c9b871cf"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00982.html#a5eeb73ab3dc11208a726f022c9b871cf">IntersectionData</a>·=·<a·class="el"·href="a00930.html">Dune::GridGlue::IntersectionData</a><·P0,·P1·></td></tr> | 89 | <tr·class="memitem:a5eeb73ab3dc11208a726f022c9b871cf"·id="r_a5eeb73ab3dc11208a726f022c9b871cf"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00982.html#a5eeb73ab3dc11208a726f022c9b871cf">IntersectionData</a>·=·<a·class="el"·href="a00930.html">Dune::GridGlue::IntersectionData</a><·P0,·P1·></td></tr> |
90 | <tr·class="separator:a5eeb73ab3dc11208a726f022c9b871cf"><td·class="memSeparator"·colspan="2"> </td></tr> | 90 | <tr·class="separator:a5eeb73ab3dc11208a726f022c9b871cf"><td·class="memSeparator"·colspan="2"> </td></tr> |
Offset 393, 15 lines modified | Offset 393, 15 lines modified | ||
393 | ··</tr> | 393 | ··</tr> |
394 | </table> | 394 | </table> |
395 | </div><div·class="memdoc"> | 395 | </div><div·class="memdoc"> |
396 | </div> | 396 | </div> |
397 | </div> | 397 | </div> |
398 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 398 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
399 | <li><a·class="el"·href="a000 | 399 | <li><a·class="el"·href="a00020_source.html">intersection.hh</a></li> |
400 | </ul> | 400 | </ul> |
401 | </div><!--·contents·--> | 401 | </div><!--·contents·--> |
402 | <!--·start·footer·part·--> | 402 | <!--·start·footer·part·--> |
403 | <hr·class="footer"/><address·class="footer"><small> | 403 | <hr·class="footer"/><address·class="footer"><small> |
404 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 404 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
405 | </small></address> | 405 | </small></address> |
406 | </body> | 406 | </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="a00008_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="a00008_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="a00032_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="a00032_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="a00041_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="a00041_source.html">projection.hh</a></li> |
498 | <li><a·class="el"·href="a00038_source.html">projection_impl.hh</a></li> | 498 | <li><a·class="el"·href="a00038_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="a00041_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="a00041_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="a01027.html">List·of·all·members</a>··</div> | 82 | <a·href="a01027.html">List·of·all·members</a>··</div> |
83 | ··<div·class="headertitle"><div·class="title">Dune::GridGlue::Codim0Extractor<·GV·>·Class·Template·Reference</div></div> | 83 | ··<div·class="headertitle"><div·class="title">Dune::GridGlue::Codim0Extractor<·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="a0005 | 86 | <p><code>#include·<<a·class="el"·href="a00059_source.html">dune/grid-glue/extractors/codim0extractor.hh</a>></code></p> |
87 | <div·class="dynheader"> | 87 | <div·class="dynheader"> |
88 | Inheritance·diagram·for·Dune::GridGlue::Codim0Extractor<·GV·>:</div> | 88 | Inheritance·diagram·for·Dune::GridGlue::Codim0Extractor<·GV·>:</div> |
89 | <div·class="dyncontent"> | 89 | <div·class="dyncontent"> |
90 | <div·class="center"><img·src="a01029.png"·border="0"·usemap="#a_dune_1_1_grid_glue_1_1_codim0_extractor_3_01_g_v_01_4_inherit__map"·alt="Inheritance·graph"/></div> | 90 | <div·class="center"><img·src="a01029.png"·border="0"·usemap="#a_dune_1_1_grid_glue_1_1_codim0_extractor_3_01_g_v_01_4_inherit__map"·alt="Inheritance·graph"/></div> |
91 | <map·name="a_dune_1_1_grid_glue_1_1_codim0_extractor_3_01_g_v_01_4_inherit__map"·id="a_dune_1_1_grid_glue_1_1_codim0_extractor_3_01_g_v_01_4_inherit__map"> | 91 | <map·name="a_dune_1_1_grid_glue_1_1_codim0_extractor_3_01_g_v_01_4_inherit__map"·id="a_dune_1_1_grid_glue_1_1_codim0_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 1403, 15 lines modified | Offset 1403, 15 lines modified | ||
1403 | <p>a·map·enabling·faster·access·to·vertices·and·coordinates·</p> | 1403 | <p>a·map·enabling·faster·access·to·vertices·and·coordinates·</p> |
1404 | <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> | 1404 | <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> |
1405 | </div> | 1405 | </div> |
1406 | </div> | 1406 | </div> |
1407 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 1407 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
1408 | <li><a·class="el"·href="a0005 | 1408 | <li><a·class="el"·href="a00059_source.html">codim0extractor.hh</a></li> |
1409 | </ul> | 1409 | </ul> |
1410 | </div><!--·contents·--> | 1410 | </div><!--·contents·--> |
1411 | <!--·start·footer·part·--> | 1411 | <!--·start·footer·part·--> |
1412 | <hr·class="footer"/><address·class="footer"><small> | 1412 | <hr·class="footer"/><address·class="footer"><small> |
1413 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 1413 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
1414 | </small></address> | 1414 | </small></address> |
1415 | </body> | 1415 | </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="a00056_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="a00056_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="a00077_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="a00077_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="a00077_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, 15 lines modified | Offset 248, 15 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="a00077_source.html">computeintersection.hh</a></li> |
255 | <li><a·class="el"·href="a00074_source.html">computeintersection.cc</a></li> | 255 | <li><a·class="el"·href="a00074_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> |
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="a000 | 90 | <p><code>#include·<<a·class="el"·href="a00068_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="a000 | 1153 | <li><a·class="el"·href="a00068_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="a00086_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="a00086_source.html">contactmerge.hh</a></li> |
1643 | <li><a·class="el"·href="a000 | 1643 | <li><a·class="el"·href="a00092_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 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="a00071_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="a00071_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="a000 | 89 | <p><code>#include·<<a·class="el"·href="a00065_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="a000 | 1226 | <li><a·class="el"·href="a00065_source.html">overlappingmerge.hh</a></li> |
1227 | <li><a·class="el"·href="a000 | 1227 | <li><a·class="el"·href="a00089_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 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="a0009 | 89 | <p><code>#include·<<a·class="el"·href="a00098_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="a0009 | 1144 | <li><a·class="el"·href="a00098_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_1b444a177590012656060e8a0bca20fc.html">adapter</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_1b444a177590012656060e8a0bca20fc.html">adapter</a></li>··</ul> |
72 | </div> | 72 | </div> |
73 | </div><!--·top·--> | 73 | </div><!--·top·--> |
74 | <div·class="contents"> | 74 | <div·class="contents"> |
75 | <h3>adapter·→·common·Relation</h3><table·class="dirtab"><tr·class="dirtab"><th·class="dirtab">File·in·dune/grid-glue/adapter</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>adapter·→·common·Relation</h3><table·class="dirtab"><tr·class="dirtab"><th·class="dirtab">File·in·dune/grid-glue/adapter</th><th·class="dirtab">Includes·file·in·dune/grid-glue/common</th></tr><tr·class="dirtab"><td·class="dirtab"><a·class="el"·href="a00026.html">gridglue.cc</a></td><td·class="dirtab"><a·class="el"·href="a00035.html">ringcomm.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·→·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="a00056.html">vtksurfacewriter.hh</a></td><td·class="dirtab"><a·class="el"·href="a00014.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·→·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="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="a00026.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="a00005.html">gridgluecommunicate.hh</a></td></tr><tr·class="dirtab"><td·class="dirtab"><a·cl[·...·truncated·by·diffoscope;·len:·898,·SHA:·c727b60443f483cb1065637696eaeb8454d2618304e66b3e42439e3112c5dd4a·...·].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="a00071.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="a00092.html">contactmerge.cc</a></td><td·class="dirtab"><a·class="el"·href="a00029.html">crossproduct.hh</a></td></tr><tr·class="dirtab"><td·class="dirtab"><a·class="el"·href="a00092.html">contactmerge.cc</a></td><td·class="dirtab"><a·class="el"·href="a00041.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 89, 38 lines modified | Offset 89, 38 lines modified | ||
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="a00074_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00074.html">computeintersection.cc</a></td></tr> | 94 | <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">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="a00077_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00077.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="a000 | 98 | <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">conformingmerge.hh</a></td></tr> |
99 | <tr·class="memdesc:a000 | 99 | <tr·class="memdesc:a00068"><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="a00092_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00092.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="a00086_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00086.html">contactmerge.hh</a></td></tr> |
104 | <tr·class="memdesc:a000 | 104 | <tr·class="memdesc:a00086"><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="a00083_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00083.html">intersectionlist.hh</a></td></tr> | 106 | <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">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="a00071_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00071.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="a00089_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00089.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="a000 | 112 | <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">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="a00080_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00080.html">simplexintersection.cc</a></td></tr> | 114 | <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">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="a00095.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="a0009 | 118 | <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">standardmerge.hh</a></td></tr> |
119 | <tr·class="memdesc:a0009 | 119 | <tr·class="memdesc:a00098"><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 87, 36 lines modified | Offset 87, 36 lines modified | ||
87 | <area·shape="rect"·href="dir_000000_000001.html"·title="1"·alt=""·coords="70,100,80,114"/> | 87 | <area·shape="rect"·href="dir_000000_000001.html"·title="1"·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="a00026_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00026.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="a00023_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00023.html">gridglueamirawriter.hh</a></td></tr> |
99 | <tr·class="memdesc:a000 | 99 | <tr·class="memdesc:a00023"><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="a0000 | 101 | <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">gridgluecommunicate.hh</a></td></tr> |
102 | <tr·class="memdesc:a0000 | 102 | <tr·class="memdesc:a00005"><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="a00014_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00014.html">gridgluevtkwriter.hh</a></td></tr> |
105 | <tr·class="memdesc:a000 | 105 | <tr·class="memdesc:a00014"><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="a000 | 107 | <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">intersection.hh</a></td></tr> |
108 | <tr·class="memdesc:a000 | 108 | <tr·class="memdesc:a00020"><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="a00011_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00011.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="a000 | 112 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00017_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00017.html">intersectioniterator.hh</a></td></tr> |
113 | <tr·class="memdesc:a000 | 113 | <tr·class="memdesc:a00017"><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="a00008_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00008.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, 29 lines modified | Offset 84, 29 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="a0004 | 91 | <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">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="a00032_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00032.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="a00029_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00029.html">crossproduct.hh</a></td></tr> | 95 | <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">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="a00041_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00041.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="a00038_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00038.html">projection_impl.hh</a></td></tr> | 99 | <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">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="a00044_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00044.html">projectionwriter.hh</a></td></tr> | 101 | <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">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="a000 | 103 | <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">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="a000 | 105 | <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">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> |
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 | 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 |
112 | </small></address> | 112 | </small></address> |
Offset 90, 25 lines modified | Offset 90, 25 lines modified | ||
90 | <area·shape="rect"·href="dir_000003_000001.html"·title="1"·alt=""·coords="147,98,156,113"/> | 90 | <area·shape="rect"·href="dir_000003_000001.html"·title="1"·alt=""·coords="147,98,156,113"/> |
91 | <area·shape="rect"·href="dir_68eff8a27dcb1cd0ff0ecf490070d3de.html"·title="grid-glue"·alt=""·coords="16,16,213,161"/> | 91 | <area·shape="rect"·href="dir_68eff8a27dcb1cd0ff0ecf490070d3de.html"·title="grid-glue"·alt=""·coords="16,16,213,161"/> |
92 | </map> | 92 | </map> |
93 | </div> | 93 | </div> |
94 | <table·class="memberdecls"> | 94 | <table·class="memberdecls"> |
95 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="files"·name="files"></a> | 95 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="files"·name="files"></a> |
96 | Files</h2></td></tr> | 96 | Files</h2></td></tr> |
97 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a0005 | 97 | <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">codim0extractor.hh</a></td></tr> |
98 | <tr·class="memdesc:a0005 | 98 | <tr·class="memdesc:a00059"><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="a00062_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00062.html">codim1extractor.hh</a></td></tr> | 100 | <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">codim1extractor.hh</a></td></tr> |
101 | <tr·class="memdesc:a00062"><td·class="mdescLeft"> </td><td·class="mdescRight">Grid·extractor·class·for·codim·1·subgrids.·<br·/></td></tr> | 101 | <tr·class="memdesc:a00062"><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="a00053_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00053.html">extractor.hh</a></td></tr> | 103 | <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">extractor.hh</a></td></tr> |
104 | <tr·class="memdesc:a00053"><td·class="mdescLeft"> </td><td·class="mdescRight">extractor·base·class·<br·/></td></tr> | 104 | <tr·class="memdesc:a00053"><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="a00056_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00056.html">vtksurfacewriter.hh</a></td></tr> |
107 | <tr·class="memdesc:a0005 | 107 | <tr·class="memdesc:a00056"><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 1, 106 lines modified | Offset 1, 106 lines modified | ||
1 | <?xml·version="1.0"·encoding="utf-8"?> | 1 | <?xml·version="1.0"·encoding="utf-8"?> |
2 | <tagfile·doxygen_version="1.9.8"> | 2 | <tagfile·doxygen_version="1.9.8"> |
3 | ··<compound·kind="file"> | 3 | ··<compound·kind="file"> |
4 | ····<name>gridglue.cc</name> | 4 | ····<name>gridglue.cc</name> |
5 | ····<path>/build/reproducible-path/dune-grid-glue-2.9.0/dune/grid-glue/adapter/</path> | 5 | ····<path>/build/reproducible-path/dune-grid-glue-2.9.0/dune/grid-glue/adapter/</path> |
6 | ····<filename>a000 | 6 | ····<filename>a00026.html</filename> |
7 | ····<includes·id="a000 | 7 | ····<includes·id="a00020"·name="intersection.hh"·local="yes"·import="no"·module="no"·objc="no">intersection.hh</includes> |
8 | ····<includes·id="a00002"·name="gridglue.hh"·local="yes"·import="no"·module="no"·objc="no">../gridglue.hh</includes> | 8 | ····<includes·id="a00002"·name="gridglue.hh"·local="yes"·import="no"·module="no"·objc="no">../gridglue.hh</includes> |
9 | ····<includes·id="a000 | 9 | ····<includes·id="a00035"·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>a00023.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>a0000 | 24 | ····<filename>a00005.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>a00014.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> |
45 | ····<path>/build/reproducible-path/dune-grid-glue-2.9.0/dune/grid-glue/adapter/</path> | 45 | ····<path>/build/reproducible-path/dune-grid-glue-2.9.0/dune/grid-glue/adapter/</path> |
46 | ····<filename>a000 | 46 | ····<filename>a00020.html</filename> |
47 | ····<includes·id="a00002"·name="gridglue.hh"·local="no"·import="no"·module="no"·objc="no">dune/grid-glue/gridglue.hh</includes> | 47 | ····<includes·id="a00002"·name="gridglue.hh"·local="no"·import="no"·module="no"·objc="no">dune/grid-glue/gridglue.hh</includes> |
48 | ····<class·kind="class">Dune::GridGlue::IntersectionData</class> | 48 | ····<class·kind="class">Dune::GridGlue::IntersectionData</class> |
49 | ····<class·kind="struct">Dune::GridGlue::IntersectionTraits</class> | 49 | ····<class·kind="struct">Dune::GridGlue::IntersectionTraits</class> |
50 | ····<class·kind="class">Dune::GridGlue::Intersection</class> | 50 | ····<class·kind="class">Dune::GridGlue::Intersection</class> |
51 | ····<namespace>Dune</namespace> | 51 | ····<namespace>Dune</namespace> |
52 | ····<namespace>Dune::GridGlue</namespace> | 52 | ····<namespace>Dune::GridGlue</namespace> |
53 | ····<member·kind="define"> | 53 | ····<member·kind="define"> |
54 | ······<type>#define</type> | 54 | ······<type>#define</type> |
55 | ······<name>ONLY_SIMPLEX_INTERSECTIONS</name> | 55 | ······<name>ONLY_SIMPLEX_INTERSECTIONS</name> |
56 | ······<anchorfile>a000 | 56 | ······<anchorfile>a00020.html</anchorfile> |
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>a00011.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="a000 | 66 | ····<includes·id="a00020"·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"> |
72 | ····<name>intersectioniterator.hh</name> | 72 | ····<name>intersectioniterator.hh</name> |
73 | ····<path>/build/reproducible-path/dune-grid-glue-2.9.0/dune/grid-glue/adapter/</path> | 73 | ····<path>/build/reproducible-path/dune-grid-glue-2.9.0/dune/grid-glue/adapter/</path> |
74 | ····<filename>a000 | 74 | ····<filename>a00017.html</filename> |
75 | ····<includes·id="a00002"·name="gridglue.hh"·local="no"·import="no"·module="no"·objc="no">dune/grid-glue/gridglue.hh</includes> | 75 | ····<includes·id="a00002"·name="gridglue.hh"·local="no"·import="no"·module="no"·objc="no">dune/grid-glue/gridglue.hh</includes> |
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>a00008.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>a0004 | 91 | ····<filename>a00047.html</filename> |
92 | ····<includes·id="a000 | 92 | ····<includes·id="a00032"·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>a00032.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> |
Offset 108, 15 lines modified | Offset 108, 15 lines modified | ||
108 | ····<filename>a00029.html</filename> | 108 | ····<filename>a00029.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>a00041.html</filename> |
116 | ····<includes·id="a00038"·name="projection_impl.hh"·local="yes"·import="no"·module="no"·objc="no">projection_impl.hh</includes> | 116 | ····<includes·id="a00038"·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 127, 45 lines modified | Offset 127, 45 lines modified | ||
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"> |
Max diff block lines reached; 15306/22714 bytes (67.39%) of diff not shown. |
Offset 73, 50 lines modified | Offset 73, 50 lines modified | ||
73 | </div><!--header--> | 73 | </div><!--header--> |
74 | <div·class="contents"> | 74 | <div·class="contents"> |
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="a000 | 80 | <tr·id="row_0_0_0_0_"·class="odd"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00026_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00026.html"·target="_self">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="a00023_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00023.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="a0000 | 83 | <tr·id="row_0_0_0_3_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00005_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00005.html"·target="_self">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="a00014_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00014.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="a000 | 85 | <tr·id="row_0_0_0_5_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00020_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00020.html"·target="_self">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="a00011_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00011.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="a000 | 87 | <tr·id="row_0_0_0_7_"·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">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="a00008_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00008.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="a0004 | 90 | <tr·id="row_0_0_1_0_"·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">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="a00032_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00032.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="a00029_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00029.html"·target="_self">crossproduct.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="a00029_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00029.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="a00041_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00041.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="a00038_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00038.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="a00038_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00038.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="a00044_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00044.html"·target="_self">projectionwriter.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="a00044_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00044.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="a000 | 96 | <tr·id="row_0_0_1_6_"·class="odd"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00050_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00050.html"·target="_self">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="a000 | 97 | <tr·id="row_0_0_1_7_"·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">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="a0005 | 99 | <tr·id="row_0_0_2_0_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00059_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00059.html"·target="_self">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="a00062_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00062.html"·target="_self">codim1extractor.hh</a></td><td·class="desc">Grid·extractor·class·for·codim·1·subgrids·</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="a00062_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00062.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="a00053_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00053.html"·target="_self">extractor.hh</a></td><td·class="desc">Extractor·base·class·</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="a00053_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00053.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="a00056_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00056.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="a00074_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00074.html"·target="_self">computeintersection.cc</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="a00074_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00074.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="a00077_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00077.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="a000 | 106 | <tr·id="row_0_0_3_2_"·class="odd"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00068_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00068.html"·target="_self">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="a00092_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00092.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="a00086_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00086.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="a00083_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00083.html"·target="_self">intersectionlist.hh</a></td><td·class="desc"></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="a00083_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00083.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="a00071_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00071.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="a00089_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00089.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="a000 | 112 | <tr·id="row_0_0_3_8_"·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">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="a00080_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00080.html"·target="_self">simplexintersection.cc</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="a00080_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00080.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="a00095.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="a0009 | 115 | <tr·id="row_0_0_3_11_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00098_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00098.html"·target="_self">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 66, 19 lines modified | Offset 66, 19 lines modified | ||
66 | </div> | 66 | </div> |
67 | </div> | 67 | </div> |
68 | </div> | 68 | </div> |
69 | </div> | 69 | </div> |
70 | <div·class="contents"> | 70 | <div·class="contents"> |
71 | <div·class="textblock">Here·is·a·list·of·all·file·members·with·links·to·the·files·they·belong·to:</div><ul> | 71 | <div·class="textblock">Here·is·a·list·of·all·file·members·with·links·to·the·files·they·belong·to:</div><ul> |
72 | <li>CheckMPIStatus : <a·class="el"·href="a000 | 72 | <li>CheckMPIStatus : <a·class="el"·href="a00035.html#a1a95f4074572a7a9e13bcb072afef070">ringcomm.hh</a></li> |
73 | <li>DECL : <a·class="el"·href="a000 | 73 | <li>DECL : <a·class="el"·href="a00095.html#ad5c7ca0181fea7823b37d06d5f61e9cd">standardmerge.cc</a>,·<a·class="el"·href="a00098.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="a00089.html#ad63267c6d27a8f09d98506419b206db8">overlappingmerge.cc</a></li> |
75 | <li>ONLY_SIMPLEX_INTERSECTIONS : <a·class="el"·href="a000 | 75 | <li>ONLY_SIMPLEX_INTERSECTIONS : <a·class="el"·href="a00020.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="a00095.html#a4a2b0f7fb92723749fc6d5cca82a4297">standardmerge.cc</a>,·<a·class="el"·href="a00098.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 66, 19 lines modified | Offset 66, 19 lines modified | ||
66 | </div> | 66 | </div> |
67 | </div> | 67 | </div> |
68 | </div> | 68 | </div> |
69 | </div> | 69 | </div> |
70 | <div·class="contents"> | 70 | <div·class="contents"> |
71 | <div·class="textblock">Here·is·a·list·of·all·macros·with·links·to·the·files·they·belong·to:</div><ul> | 71 | <div·class="textblock">Here·is·a·list·of·all·macros·with·links·to·the·files·they·belong·to:</div><ul> |
72 | <li>CheckMPIStatus : <a·class="el"·href="a000 | 72 | <li>CheckMPIStatus : <a·class="el"·href="a00035.html#a1a95f4074572a7a9e13bcb072afef070">ringcomm.hh</a></li> |
73 | <li>DECL : <a·class="el"·href="a000 | 73 | <li>DECL : <a·class="el"·href="a00095.html#ad5c7ca0181fea7823b37d06d5f61e9cd">standardmerge.cc</a>,·<a·class="el"·href="a00098.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="a00089.html#ad63267c6d27a8f09d98506419b206db8">overlappingmerge.cc</a></li> |
75 | <li>ONLY_SIMPLEX_INTERSECTIONS : <a·class="el"·href="a000 | 75 | <li>ONLY_SIMPLEX_INTERSECTIONS : <a·class="el"·href="a00020.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="a00095.html#a4a2b0f7fb92723749fc6d5cca82a4297">standardmerge.cc</a>,·<a·class="el"·href="a00098.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 77, 15 lines modified | Offset 77, 15 lines modified | ||
77 | <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 | <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> |
78 | </div> | 78 | </div> |
79 | </div><!--·top·--> | 79 | </div><!--·top·--> |
80 | <div·class="header"> | 80 | <div·class="header"> |
81 | ··<div·class="headertitle"><div·class="title">merger.hh</div></div> | 81 | ··<div·class="headertitle"><div·class="title">merger.hh</div></div> |
82 | </div><!--header--> | 82 | </div><!--header--> |
83 | <div·class="contents"> | 83 | <div·class="contents"> |
84 | <a·href="a000 | 84 | <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> |
85 | <div·class="line"><a·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="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
86 | <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="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> |
87 | <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="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> |
88 | <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="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_GRIDGLUE_MERGING_MERGER_HH</span></div> |
89 | <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> | 89 | <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> |
90 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div> | 90 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div> |
91 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·<vector></span></div> | 91 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·<vector></span></div> |