Offset 1, 4 lines modified | Offset 1, 4 lines modified | ||
1 | ·7c6ada1cca1b92f71abe63084044741d·901216·debug·optional·libdune-grid-glue-dev-dbgsym_2.10.0-1_armhf.deb | 1 | ·7c6ada1cca1b92f71abe63084044741d·901216·debug·optional·libdune-grid-glue-dev-dbgsym_2.10.0-1_armhf.deb |
2 | ·46adfddad8fb0f721788d5cc88be28da·101768·libdevel·optional·libdune-grid-glue-dev_2.10.0-1_armhf.deb | 2 | ·46adfddad8fb0f721788d5cc88be28da·101768·libdevel·optional·libdune-grid-glue-dev_2.10.0-1_armhf.deb |
3 | · | 3 | ·db2ead3de813f26a46d8ed731333c2b2·958724·doc·optional·libdune-grid-glue-doc_2.10.0-1_all.deb |
Offset 1, 3 lines modified | Offset 1, 3 lines modified | ||
1 | -rw-r--r--···0········0········0········4·2024-11-14·21:31:44.000000·debian-binary | 1 | -rw-r--r--···0········0········0········4·2024-11-14·21:31:44.000000·debian-binary |
2 | -rw-r--r--···0········0········0·····73 | 2 | -rw-r--r--···0········0········0·····7376·2024-11-14·21:31:44.000000·control.tar.xz |
3 | -rw-r--r--···0········0········0···951 | 3 | -rw-r--r--···0········0········0···951156·2024-11-14·21:31:44.000000·data.tar.xz |
Offset 50, 24 lines modified | Offset 50, 24 lines modified | ||
50 | usr/share/doc/libdune-grid-glue-doc/doxygen/a00071.html | 50 | usr/share/doc/libdune-grid-glue-doc/doxygen/a00071.html |
51 | usr/share/doc/libdune-grid-glue-doc/doxygen/a00071_source.html | 51 | usr/share/doc/libdune-grid-glue-doc/doxygen/a00071_source.html |
52 | usr/share/doc/libdune-grid-glue-doc/doxygen/a00074.html | 52 | usr/share/doc/libdune-grid-glue-doc/doxygen/a00074.html |
53 | usr/share/doc/libdune-grid-glue-doc/doxygen/a00074_source.html | 53 | usr/share/doc/libdune-grid-glue-doc/doxygen/a00074_source.html |
54 | usr/share/doc/libdune-grid-glue-doc/doxygen/a00077.html | 54 | usr/share/doc/libdune-grid-glue-doc/doxygen/a00077.html |
55 | usr/share/doc/libdune-grid-glue-doc/doxygen/a00077_source.html | 55 | usr/share/doc/libdune-grid-glue-doc/doxygen/a00077_source.html |
56 | usr/share/doc/libdune-grid-glue-doc/doxygen/a00080.html | 56 | usr/share/doc/libdune-grid-glue-doc/doxygen/a00080.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 |
58 | usr/share/doc/libdune-grid-glue-doc/doxygen/a00083_source.html | 59 | usr/share/doc/libdune-grid-glue-doc/doxygen/a00083_source.html |
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·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/ | 5 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/ |
6 | -rw-r--r--···0·root·········(0)·root·········(0)······945·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/changelog.Debian.gz | 6 | -rw-r--r--···0·root·········(0)·root·········(0)······945·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/changelog.Debian.gz |
7 | -rw-r--r--···0·root·········(0)·root·········(0)·····1193·2024-09-04·15:07:05.000000·./usr/share/doc/libdune-grid-glue-doc/changelog.gz | 7 | -rw-r--r--···0·root·········(0)·root·········(0)·····1193·2024-09-04·15:07:05.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·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/ | 9 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/ |
10 | -rw-r--r--···0·root·········(0)·root·········(0)·····7139·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00002.html | 10 | -rw-r--r--···0·root·········(0)·root·········(0)·····7139·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00002.html |
11 | -rw-r--r--···0·root·········(0)·root·········(0)····81666·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00002_source.html | 11 | -rw-r--r--···0·root·········(0)·root·········(0)····81666·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00002_source.html |
12 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 12 | -rw-r--r--···0·root·········(0)·root·········(0)····10872·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00005.html |
13 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 13 | -rw-r--r--···0·root·········(0)·root·········(0)····70889·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00005_source.html |
14 | -rw-r--r--···0·root·········(0)·root·········(0)·····6158·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00008.html | 14 | -rw-r--r--···0·root·········(0)·root·········(0)·····6158·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00008.html |
15 | -rw-r--r--···0·root·········(0)·root·········(0)····14374·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00008_source.html | 15 | -rw-r--r--···0·root·········(0)·root·········(0)····14374·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00008_source.html |
16 | -rw-r--r--···0·root·········(0)·root·········(0)·····5 | 16 | -rw-r--r--···0·root·········(0)·root·········(0)·····5089·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00011.html |
17 | -rw-r--r--···0·root·········(0)·root·········(0)····84448·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00011_source.html | ||
18 | -rw-r--r--···0·root·········(0)·root·········(0)·····8113·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00014.html | ||
19 | -rw-r--r--···0·root·········(0)·root·········(0)··· | 17 | -rw-r--r--···0·root·········(0)·root·········(0)····16769·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00011_source.html |
20 | -rw-r--r--···0·root·········(0)·root·········(0)·····5798·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a0001 | 18 | -rw-r--r--···0·root·········(0)·root·········(0)·····5798·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00014.html |
21 | -rw-r--r--···0·root·········(0)·root·········(0)····52528·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a0001 | 19 | -rw-r--r--···0·root·········(0)·root·········(0)····52528·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00014_source.html |
20 | -rw-r--r--···0·root·········(0)·root·········(0)·····5322·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00017.html | ||
21 | -rw-r--r--···0·root·········(0)·root·········(0)····16900·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00017_source.html | ||
22 | -rw-r--r--···0·root·········(0)·root·········(0)·····8113·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00020.html | ||
23 | -rw-r--r--···0·root·········(0)·root·········(0)···118079·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00020_source.html | ||
22 | -rw-r--r--···0·root·········(0)·root·········(0)·····5454·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a0002 | 24 | -rw-r--r--···0·root·········(0)·root·········(0)·····5454·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00023.html |
23 | -rw-r--r--···0·root·········(0)·root·········(0)····27384·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a0002 | 25 | -rw-r--r--···0·root·········(0)·root·········(0)····27384·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00023_source.html |
24 | -rw-r--r--···0·root·········(0)·root·········(0)····10872·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00023.html | ||
25 | -rw-r--r--···0·root·········(0)·root·········(0)····70889·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00023_source.html | ||
26 | -rw-r--r--···0·root·········(0)·root·········(0)·····5 | 26 | -rw-r--r--···0·root·········(0)·root·········(0)·····5610·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00026.html |
27 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 27 | -rw-r--r--···0·root·········(0)·root·········(0)····84448·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00026_source.html |
28 | -rw-r--r--···0·root·········(0)·root·········(0)·····6620·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00029.html | ||
29 | -rw-r--r--···0·root·········(0)·root·········(0)·····9139·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00029_source.html | ||
30 | -rw-r--r--···0·root·········(0)·root·········(0)·····5361·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a000 | 28 | -rw-r--r--···0·root·········(0)·root·········(0)·····5361·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00029.html |
31 | -rw-r--r--···0·root·········(0)·root·········(0)·····8501·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a000 | 29 | -rw-r--r--···0·root·········(0)·root·········(0)·····8501·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00029_source.html |
32 | -rw-r--r--···0·root·········(0)·root·········(0)·····7676·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00035.html | ||
33 | -rw-r--r--···0·root·········(0)·root·········(0)····11026·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00035_source.html | ||
34 | -rw-r--r--···0·root·········(0)·root·········(0)····11614·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00038.html | ||
35 | -rw-r--r--···0·root·········(0)·root·········(0)····39772·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00038_source.html | ||
36 | -rw-r--r--···0·root·········(0)·root·········(0)·····8223·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a000 | 30 | -rw-r--r--···0·root·········(0)·root·········(0)·····8223·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00032.html |
37 | -rw-r--r--···0·root·········(0)·root·········(0)····30067·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a000 | 31 | -rw-r--r--···0·root·········(0)·root·········(0)····30067·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00032_source.html |
38 | -rw-r--r--···0·root·········(0)·root·········(0)·····7371·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a000 | 32 | -rw-r--r--···0·root·········(0)·root·········(0)·····7371·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00035.html |
39 | -rw-r--r--···0·root·········(0)·root·········(0)····44831·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a000 | 33 | -rw-r--r--···0·root·········(0)·root·········(0)····44831·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00035_source.html |
40 | -rw-r--r--···0·root·········(0)·root·········(0)·····8137·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a000 | 34 | -rw-r--r--···0·root·········(0)·root·········(0)·····8137·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00038.html |
41 | -rw-r--r--···0·root·········(0)·root·········(0)····72682·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a000 | 35 | -rw-r--r--···0·root·········(0)·root·········(0)····72682·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00038_source.html |
42 | -rw-r--r--···0·root·········(0)·root·········(0)·····5981·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a000 | 36 | -rw-r--r--···0·root·········(0)·root·········(0)·····5981·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00041.html |
43 | -rw-r--r--···0·root·········(0)·root·········(0)····27622·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a000 | 37 | -rw-r--r--···0·root·········(0)·root·········(0)····27622·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00041_source.html |
38 | -rw-r--r--···0·root·········(0)·root·········(0)·····7676·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00044.html | ||
39 | -rw-r--r--···0·root·········(0)·root·········(0)····11026·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00044_source.html | ||
40 | -rw-r--r--···0·root·········(0)·root·········(0)·····6620·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00047.html | ||
41 | -rw-r--r--···0·root·········(0)·root·········(0)·····9139·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00047_source.html | ||
42 | -rw-r--r--···0·root·········(0)·root·········(0)····11614·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00050.html | ||
43 | -rw-r--r--···0·root·········(0)·root·········(0)····39772·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00050_source.html | ||
44 | -rw-r--r--···0·root·········(0)·root·········(0)·····8207·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00053.html | 44 | -rw-r--r--···0·root·········(0)·root·········(0)·····8207·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00053.html |
45 | -rw-r--r--···0·root·········(0)·root·········(0)····94036·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00053_source.html | 45 | -rw-r--r--···0·root·········(0)·root·········(0)····94036·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00053_source.html |
46 | -rw-r--r--···0·root·········(0)·root·········(0)·····5389·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00056.html | ||
47 | -rw-r--r--···0·root·········(0)·root·········(0)····50227·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00056_source.html | ||
48 | -rw-r--r--···0·root·········(0)·root·········(0)·····5430·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a0005 | 46 | -rw-r--r--···0·root·········(0)·root·········(0)·····5430·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00056.html |
49 | -rw-r--r--···0·root·········(0)·root·········(0)····44827·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a0005 | 47 | -rw-r--r--···0·root·········(0)·root·········(0)····44827·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00056_source.html |
48 | -rw-r--r--···0·root·········(0)·root·········(0)·····5389·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00059.html | ||
49 | -rw-r--r--···0·root·········(0)·root·········(0)····50227·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00059_source.html | ||
50 | -rw-r--r--···0·root·········(0)·root·········(0)·····5563·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00062.html | 50 | -rw-r--r--···0·root·········(0)·root·········(0)·····5563·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00062.html |
51 | -rw-r--r--···0·root·········(0)·root·········(0)····70754·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00062_source.html | 51 | -rw-r--r--···0·root·········(0)·root·········(0)····70754·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00062_source.html |
52 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 52 | -rw-r--r--···0·root·········(0)·root·········(0)·····5931·2024-11-14·21:31:44.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)····19311·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00065_source.html |
54 | -rw-r--r--···0·root·········(0)·root·········(0)····12400·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00068.html | ||
55 | -rw-r--r--···0·root·········(0)·root·········(0)···149555·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00068_source.html | ||
56 | -rw-r--r--···0·root·········(0)·root·········(0)·····4311·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00071.html | ||
57 | -rw-r--r--···0·root·········(0)·root·········(0)····55660·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00071_source.html | ||
58 | -rw-r--r--···0·root·········(0)·root·········(0)····· | 54 | -rw-r--r--···0·root·········(0)·root·········(0)·····5968·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00068.html |
59 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 55 | -rw-r--r--···0·root·········(0)·root·········(0)····37343·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00068_source.html |
60 | -rw-r--r--···0·root·········(0)·root·········(0)·····5358·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a0007 | 56 | -rw-r--r--···0·root·········(0)·root·········(0)·····5358·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00071.html |
61 | -rw-r--r--···0·root·········(0)·root·········(0)····22695·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a0007 | 57 | -rw-r--r--···0·root·········(0)·root·········(0)····22695·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00071_source.html |
58 | -rw-r--r--···0·root·········(0)·root·········(0)·····4311·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00074.html | ||
59 | -rw-r--r--···0·root·········(0)·root·········(0)····55660·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00074_source.html | ||
60 | -rw-r--r--···0·root·········(0)·root·········(0)·····6648·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00077.html | ||
61 | -rw-r--r--···0·root·········(0)·root·········(0)····36463·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00077_source.html | ||
62 | -rw-r--r--···0·root·········(0)·root·········(0)····1 | 62 | -rw-r--r--···0·root·········(0)·root·········(0)····11544·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00080.html |
63 | -rw-r--r--···0·root·········(0)·root·········(0)···239994·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00080_source.html | ||
63 | -rw-r--r--···0·root·········(0)·root·········(0)····· | 64 | -rw-r--r--···0·root·········(0)·root·········(0)·····6081·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00083.html |
64 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 65 | -rw-r--r--···0·root·········(0)·root·········(0)····59846·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00083_source.html |
65 | -rw-r--r--···0·root·········(0)·root·········(0)·····4560·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00086.html | ||
66 | -rw-r--r--···0·root·········(0)·root·········(0)····63706·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00086_source.html | ||
67 | -rw-r--r--···0·root·········(0)·root·········(0)·····6349·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a0008 | 66 | -rw-r--r--···0·root·········(0)·root·········(0)·····6349·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00086.html |
68 | -rw-r--r--···0·root·········(0)·root·········(0)····45999·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a0008 | 67 | -rw-r--r--···0·root·········(0)·root·········(0)····45999·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00086_source.html |
69 | -rw-r--r--···0·root·········(0)·root·········(0)·····5485·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a000 | 68 | -rw-r--r--···0·root·········(0)·root·········(0)·····5485·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00089.html |
70 | -rw-r--r--···0·root·········(0)·root·········(0)····36323·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a000 | 69 | -rw-r--r--···0·root·········(0)·root·········(0)····36323·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00089_source.html |
71 | -rw-r--r--···0·root·········(0)·root·········(0)····· | 70 | -rw-r--r--···0·root·········(0)·root·········(0)·····4560·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00092.html |
72 | -rw-r--r--···0·root·········(0)·root·········(0)····37 | 71 | -rw-r--r--···0·root·········(0)·root·········(0)····63706·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00092_source.html |
72 | -rw-r--r--···0·root·········(0)·root·········(0)····10147·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00095.html | ||
73 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 73 | -rw-r--r--···0·root·········(0)·root·········(0)····12400·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00098.html |
74 | -rw-r--r--···0·root·········(0)·root·········(0)··· | 74 | -rw-r--r--···0·root·········(0)·root·········(0)···149555·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00098_source.html |
75 | -rw-r--r--···0·root·········(0)·root·········(0)·····5860·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00101.html | 75 | -rw-r--r--···0·root·········(0)·root·········(0)·····5860·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00101.html |
76 | -rw-r--r--···0·root·········(0)·root·········(0)·····4620·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00103.html | 76 | -rw-r--r--···0·root·········(0)·root·········(0)·····4620·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00103.html |
77 | -rw-r--r--···0·root·········(0)·root·········(0)····67073·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00104.html | 77 | -rw-r--r--···0·root·········(0)·root·········(0)····67073·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00104.html |
78 | -rw-r--r--···0·root·········(0)·root·········(0)·····5775·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00105.html | 78 | -rw-r--r--···0·root·········(0)·root·········(0)·····5775·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00105.html |
79 | -rw-r--r--···0·root·········(0)·root·········(0)····15143·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00106.html | 79 | -rw-r--r--···0·root·········(0)·root·········(0)····15143·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00106.html |
80 | -rw-r--r--···0·root·········(0)·root·········(0)····13627·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00107.html | 80 | -rw-r--r--···0·root·········(0)·root·········(0)····13627·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00107.html |
81 | -rw-r--r--···0·root·········(0)·root·········(0)·····6281·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00108.html | 81 | -rw-r--r--···0·root·········(0)·root·········(0)·····6281·2024-11-14·21:31:44.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)·····6781·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/dir_65f347cff0208f20f00d27c542208238.html | 226 | -rw-r--r--···0·root·········(0)·root·········(0)·····6781·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/dir_65f347cff0208f20f00d27c542208238.html |
227 | -rw-r--r--···0·root·········(0)·root·········(0)·····2198·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/dir_65f347cff0208f20f00d27c542208238_dep.png | 227 | -rw-r--r--···0·root·········(0)·root·········(0)·····2198·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/dir_65f347cff0208f20f00d27c542208238_dep.png |
228 | -rw-r--r--···0·root·········(0)·root·········(0)·····7641·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/dir_68eff8a27dcb1cd0ff0ecf490070d3de.html | 228 | -rw-r--r--···0·root·········(0)·root·········(0)·····7641·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/dir_68eff8a27dcb1cd0ff0ecf490070d3de.html |
229 | -rw-r--r--···0·root·········(0)·root·········(0)····13471·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/dir_68eff8a27dcb1cd0ff0ecf490070d3de_dep.png | 229 | -rw-r--r--···0·root·········(0)·root·········(0)····13471·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/dir_68eff8a27dcb1cd0ff0ecf490070d3de_dep.png |
230 | -rw-r--r--···0·root·········(0)·root·········(0)·····6671·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/dir_eaad0bdad6fc03850e65b1fdad9faad4.html | 230 | -rw-r--r--···0·root·········(0)·root·········(0)·····6671·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/dir_eaad0bdad6fc03850e65b1fdad9faad4.html |
231 | -rw-r--r--···0·root·········(0)·root·········(0)·····7018·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/dir_eaad0bdad6fc03850e65b1fdad9faad4_dep.png | 231 | -rw-r--r--···0·root·········(0)·root·········(0)·····7018·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/dir_eaad0bdad6fc03850e65b1fdad9faad4_dep.png |
232 | -rw-r--r--···0·root·········(0)·root·········(0)····45631·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/doxygen.css | 232 | -rw-r--r--···0·root·········(0)·root·········(0)····45631·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/doxygen.css |
233 | -rw-r--r--···0·root·········(0)·root·········(0)····270 | 233 | -rw-r--r--···0·root·········(0)·root·········(0)····27026·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/dune-grid-glue.tag.gz |
234 | -rw-r--r--···0·root·········(0)·root·········(0)·····7704·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/dynsections.js | 234 | -rw-r--r--···0·root·········(0)·root·········(0)·····7704·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/dynsections.js |
235 | -rw-r--r--···0·root·········(0)·root·········(0)····15974·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/files.html | 235 | -rw-r--r--···0·root·········(0)·root·········(0)····15974·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/files.html |
236 | -rw-r--r--···0·root·········(0)·root·········(0)·····3222·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/functions.html | 236 | -rw-r--r--···0·root·········(0)·root·········(0)·····3222·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/functions.html |
237 | -rw-r--r--···0·root·········(0)·root·········(0)·····3787·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/functions_b.html | 237 | -rw-r--r--···0·root·········(0)·root·········(0)·····3787·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/functions_b.html |
238 | -rw-r--r--···0·root·········(0)·root·········(0)····13457·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/functions_c.html | 238 | -rw-r--r--···0·root·········(0)·root·········(0)····13457·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/functions_c.html |
239 | -rw-r--r--···0·root·········(0)·root·········(0)·····4847·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/functions_d.html | 239 | -rw-r--r--···0·root·········(0)·root·········(0)·····4847·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/functions_d.html |
240 | -rw-r--r--···0·root·········(0)·root·········(0)·····6113·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/functions_e.html | 240 | -rw-r--r--···0·root·········(0)·root·········(0)·····6113·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/functions_e.html |
Offset 87, 28 lines modified | Offset 87, 28 lines modified | ||
87 | <code>#include·<type_traits></code><br·/> | 87 | <code>#include·<type_traits></code><br·/> |
88 | <code>#include·<dune/common/deprecated.hh></code><br·/> | 88 | <code>#include·<dune/common/deprecated.hh></code><br·/> |
89 | <code>#include·<dune/common/exceptions.hh></code><br·/> | 89 | <code>#include·<dune/common/exceptions.hh></code><br·/> |
90 | <code>#include·<dune/common/iteratorfacades.hh></code><br·/> | 90 | <code>#include·<dune/common/iteratorfacades.hh></code><br·/> |
91 | <code>#include·<dune/common/promotiontraits.hh></code><br·/> | 91 | <code>#include·<dune/common/promotiontraits.hh></code><br·/> |
92 | <code>#include·<dune/common/shared_ptr.hh></code><br·/> | 92 | <code>#include·<dune/common/shared_ptr.hh></code><br·/> |
93 | <code>#include·<dune/common/stdstreams.hh></code><br·/> | 93 | <code>#include·<dune/common/stdstreams.hh></code><br·/> |
94 | <code>#include·"<a·class="el"·href="a000 | 94 | <code>#include·"<a·class="el"·href="a00005_source.html">adapter/gridgluecommunicate.hh</a>"</code><br·/> |
95 | <code>#include·<<a·class="el"·href="a0007 | 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="a00008_source.html">adapter/rangegenerators.hh</a>"</code><br·/> | 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="a000 | 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="a0007 | 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 393, 28 lines modified | Offset 393, 28 lines modified | ||
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="a00008.html">adapter/rangegenerators.hh</a>"</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="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">intersectionin | 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> | 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"> | 409 | <div·class="ttc"·id="aa00011_html"><div·class="ttname"><a·href="a00011.html">intersectionindexset.hh</a></div></div> |
410 | <div·class="ttc"·id="aa00014_html"><div·class="ttname"><a·href="a00014.html">intersection.hh</a></div><div·class="ttdoc">Model·of·the·Intersection·concept·provided·by·GridGlue.</div></div> | ||
411 | <div·class="ttc"·id="aa00023_html"><div·class="ttname"><a·href="a00023.html">gridgluecommunicate.hh</a></div><div·class="ttdoc">Describes·the·parallel·communication·interface·class·for·Dune::GridGlue.</div></div> | ||
412 | <div·class="ttc"·id="aa000 | 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> |
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> | ||
412 | <div·class="ttc"·id="aa00026_html"><div·class="ttname"><a·href="a00026.html">gridglue.cc</a></div></div> | ||
413 | <div·class="ttc"·id="aa0007 | 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 322, 23 lines modified | Offset 322, 23 lines modified | ||
322 | 405#include·"_\x8a_\x8d_\x8a_\x8p_\x8t_\x8e_\x8r_\x8/_\x8g_\x8r_\x8i_\x8d_\x8g_\x8l_\x8u_\x8e_\x8._\x8c_\x8c" | 322 | 405#include·"_\x8a_\x8d_\x8a_\x8p_\x8t_\x8e_\x8r_\x8/_\x8g_\x8r_\x8i_\x8d_\x8g_\x8l_\x8u_\x8e_\x8._\x8c_\x8c" |
323 | 406 | 323 | 406 |
324 | 407#include·"_\x8a_\x8d_\x8a_\x8p_\x8t_\x8e_\x8r_\x8/_\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8._\x8h_\x8h" | 324 | 407#include·"_\x8a_\x8d_\x8a_\x8p_\x8t_\x8e_\x8r_\x8/_\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8._\x8h_\x8h" |
325 | 408#include·"_\x8a_\x8d_\x8a_\x8p_\x8t_\x8e_\x8r_\x8/_\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8i_\x8t_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8._\x8h_\x8h" | 325 | 408#include·"_\x8a_\x8d_\x8a_\x8p_\x8t_\x8e_\x8r_\x8/_\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8i_\x8t_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8._\x8h_\x8h" |
326 | 409#include·"_\x8a_\x8d_\x8a_\x8p_\x8t_\x8e_\x8r_\x8/_\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8i_\x8n_\x8d_\x8e_\x8x_\x8s_\x8e_\x8t_\x8._\x8h_\x8h" | 326 | 409#include·"_\x8a_\x8d_\x8a_\x8p_\x8t_\x8e_\x8r_\x8/_\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8i_\x8n_\x8d_\x8e_\x8x_\x8s_\x8e_\x8t_\x8._\x8h_\x8h" |
327 | 410 | 327 | 410 |
328 | 411#endif·//·DUNE_GRIDGLUE_GRIDGLUE_HH | 328 | 411#endif·//·DUNE_GRIDGLUE_GRIDGLUE_HH |
329 | _\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8i_\x8n_\x8d_\x8e_\x8x_\x8s_\x8e_\x8t_\x8._\x8h_\x8h | ||
330 | _\x8r_\x8a_\x8n_\x8g_\x8e_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8s_\x8._\x8h_\x8h | ||
331 | _\x8g_\x8r_\x8i_\x8d_\x8g_\x8l_\x8u_\x8e_\x8._\x8c_\x8c | ||
332 | _\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8._\x8h_\x8h | ||
333 | Model·of·the·Intersection·concept·provided·by·GridGlue. | ||
334 | _\x8g_\x8r_\x8i_\x8d_\x8g_\x8l_\x8u_\x8e_\x8c_\x8o_\x8m_\x8m_\x8u_\x8n_\x8i_\x8c_\x8a_\x8t_\x8e_\x8._\x8h_\x8h | 329 | _\x8g_\x8r_\x8i_\x8d_\x8g_\x8l_\x8u_\x8e_\x8c_\x8o_\x8m_\x8m_\x8u_\x8n_\x8i_\x8c_\x8a_\x8t_\x8e_\x8._\x8h_\x8h |
335 | Describes·the·parallel·communication·interface·class·for·Dune::GridGlue. | 330 | Describes·the·parallel·communication·interface·class·for·Dune::GridGlue. |
331 | _\x8r_\x8a_\x8n_\x8g_\x8e_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8s_\x8._\x8h_\x8h | ||
332 | _\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8i_\x8n_\x8d_\x8e_\x8x_\x8s_\x8e_\x8t_\x8._\x8h_\x8h | ||
336 | _\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8i_\x8t_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8._\x8h_\x8h | 333 | _\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8i_\x8t_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8._\x8h_\x8h |
337 | Implement·iterators·over·GridGlue·intersections. | 334 | Implement·iterators·over·GridGlue·intersections. |
335 | _\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8._\x8h_\x8h | ||
336 | Model·of·the·Intersection·concept·provided·by·GridGlue. | ||
337 | _\x8g_\x8r_\x8i_\x8d_\x8g_\x8l_\x8u_\x8e_\x8._\x8c_\x8c | ||
338 | _\x8m_\x8e_\x8r_\x8g_\x8e_\x8r_\x8._\x8h_\x8h | 338 | _\x8m_\x8e_\x8r_\x8g_\x8e_\x8r_\x8._\x8h_\x8h |
339 | _\x8D_\x8u_\x8n_\x8e | 339 | _\x8D_\x8u_\x8n_\x8e |
340 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·gridglue.hh:37 | 340 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·gridglue.hh:37 |
341 | _\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e | 341 | _\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e |
342 | sequential·adapter·to·couple·two·grids·at·specified·close·together·boundaries | 342 | sequential·adapter·to·couple·two·grids·at·specified·close·together·boundaries |
343 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·gridglue.hh:67 | 343 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·gridglue.hh:67 |
344 | _\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8C_\x8o_\x8o_\x8r_\x8d_\x8s | 344 | _\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8C_\x8o_\x8o_\x8r_\x8d_\x8s |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-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, 35 lines modified | Offset 71, 74 lines modified | ||
71 | ··<ul> | 71 | ··<ul> |
72 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_1b444a177590012656060e8a0bca20fc.html">adapter</a></li>··</ul> | 72 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_1b444a177590012656060e8a0bca20fc.html">adapter</a></li>··</ul> |
73 | </div> | 73 | </div> |
74 | </div><!--·top·--> | 74 | </div><!--·top·--> |
75 | <div·class="header"> | 75 | <div·class="header"> |
76 | ··<div·class="summary"> | 76 | ··<div·class="summary"> |
77 | <a·href="#nested-classes">Classes</a>·| | 77 | <a·href="#nested-classes">Classes</a>·| |
78 | <a·href="#namespaces">Namespaces</a>· | 78 | <a·href="#namespaces">Namespaces</a>·| |
79 | <a·href="#typedef-members">Typedefs</a>·| | ||
80 | <a·href="#func-members">Functions</a>··</div> | ||
79 | ··<div·class="headertitle"><div·class="title"> | 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 | <div·class="textblock"><code>#include·<<a·class="el"·href="a00002_source.html">dune/grid-glue/gridglue.hh</a>></code><br·/> | ||
83 | <code>#include·<<a·class="el"·href="a00014_source.html">dune/grid-glue/adapter/intersection.hh</a>></code><br·/> | ||
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·<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·/> | ||
84 | </div> | 91 | </div> |
85 | <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> |
86 | <table·class="memberdecls"> | 93 | <table·class="memberdecls"> |
87 | <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> |
88 | 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> | ||
89 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a009 | 101 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00958.html">Dune::GridGlue::StreamingMessageBuffer<·DT·></a></td></tr> |
102 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
103 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00962.html">Dune::GridGlue::CommunicationOperator<·dir·></a></td></tr> | ||
104 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">forward·gather·scatter·to·user·defined·<a·class="el"·href="a00966.html"·title="collects·all·GridGlue·data·required·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·required·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> | ||
90 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 111 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
91 | </table><table·class="memberdecls"> | 112 | </table><table·class="memberdecls"> |
92 | <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> |
93 | Namespaces</h2></td></tr> | 114 | 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> | 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> |
95 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 116 | <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> | 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> |
97 | <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> | ||
98 | </table> | 133 | </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> | ||
99 | </div><!--·contents·--> | 137 | </div></div><!--·contents·--> |
100 | <!--·start·footer·part·--> | 138 | <!--·start·footer·part·--> |
101 | <hr·class="footer"/><address·class="footer"><small> | 139 | <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 | 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 |
103 | </small></address> | 141 | </small></address> |
104 | </body> | 142 | </body> |
105 | </html> | 143 | </html> |
Offset 1, 22 lines modified | Offset 1, 61 lines modified | ||
1 | dune-grid-glue 2.10 | 1 | dune-grid-glue 2.10 |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | ····*·_\x8d_\x8u_\x8n_\x8e | 5 | ····*·_\x8d_\x8u_\x8n_\x8e |
6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e | 6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e |
7 | ····*·_\x8a_\x8d_\x8a_\x8p_\x8t_\x8e_\x8r | 7 | ····*·_\x8a_\x8d_\x8a_\x8p_\x8t_\x8e_\x8r |
8 | _\x8C_\x8l_\x8a_\x8s_\x8s_\x8e_\x8s·|·_\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s | ||
9 | intersectionindexset.hh·File·Reference | ||
10 | #include·<_\x8d_\x8u_\x8n_\x8e_\x8/_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e_\x8/_\x8g_\x8r_\x8i_\x8d_\x8g_\x8l_\x8u_\x8e_\x8._\x8h_\x8h> | ||
11 | 8 | _.C_.l_.a_.s_.s_.e_.s·|·_.N_.a_.m_.e_.s_.p_.a_.c_.e_.s·|·_.T_.y_.p_.e_.d_.e_.f_.s·|·_.F_.u_.n_.c_.t_.i_.o_.n_.s | |
9 | gridgluecommunicate.hh·File·Reference | ||
10 | Describes·the·parallel·communication·interface·class·for·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e. | ||
11 | _\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
12 | #include·<type_traits> | ||
13 | #include·<dune/common/bartonnackmanifcheck.hh> | ||
14 | #include·<dune/common/parallel/communicator.hh> | ||
15 | #include·<dune/grid/common/datahandleif.hh> | ||
16 | #include·<dune/grid/common/gridenums.hh> | ||
12 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 17 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
13 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s | 18 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s |
19 | struct· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8G_\x8l_\x8o_\x8b_\x8a_\x8l_\x8I_\x8d | ||
20 | |||
21 | ·class· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8C_\x8o_\x8m_\x8m_\x8D_\x8a_\x8t_\x8a_\x8H_\x8a_\x8n_\x8d_\x8l_\x8e_\x8<_\x8·_\x8D_\x8a_\x8t_\x8a_\x8H_\x8a_\x8n_\x8d_\x8l_\x8e_\x8I_\x8m_\x8p_\x8,_\x8·_\x8D_\x8a_\x8t_\x8a_\x8T_\x8y_\x8p_\x8e_\x8I_\x8m_\x8p_\x8·_\x8> | ||
22 | ········describes·the·features·of·a·data·handle·for·communication·in·parallel | ||
23 | ·········runs·using·the·_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8c_\x8o_\x8m_\x8m_\x8u_\x8n_\x8i_\x8c_\x8a_\x8t_\x8e·methods.·_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
24 | |||
25 | ·class· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8S_\x8t_\x8r_\x8e_\x8a_\x8m_\x8i_\x8n_\x8g_\x8M_\x8e_\x8s_\x8s_\x8a_\x8g_\x8e_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8<_\x8·_\x8D_\x8T_\x8·_\x8> | ||
26 | |||
14 | class· ·_.D_.u_.n_.e_.:_.:_.G_.r_.i_.d_.G_.l_.u_.e_.:_.:_. | 27 | ·class· ·_.D_.u_.n_.e_.:_.:_.G_.r_.i_.d_.G_.l_.u_.e_.:_.:_.C_.o_.m_.m_.u_.n_.i_.c_.a_.t_.i_.o_.n_.O_.p_.e_.r_.a_.t_.o_.r_.<_.·_.d_.i_.r_\x8·_\x8> |
28 | ········forward·gather·scatter·to·user·defined·_\x8C_\x8o_\x8m_\x8m_\x8I_\x8n_\x8f_\x8o·class·_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
29 | |||
30 | struct· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8C_\x8o_\x8m_\x8m_\x8I_\x8n_\x8f_\x8o_\x8<_\x8·_\x8G_\x8G_\x8,_\x8·_\x8D_\x8a_\x8t_\x8a_\x8H_\x8a_\x8n_\x8d_\x8l_\x8e_\x8I_\x8m_\x8p_\x8,_\x8·_\x8D_\x8a_\x8t_\x8a_\x8T_\x8y_\x8p_\x8e_\x8I_\x8m_\x8p_\x8·_\x8> | ||
31 | ········collects·all·_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e·data·required·for·communication·_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
32 | |||
33 | struct· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8C_\x8o_\x8m_\x8m_\x8P_\x8o_\x8l_\x8i_\x8c_\x8y_\x8<_\x8·_\x8:_\x8:_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8C_\x8o_\x8m_\x8m_\x8I_\x8n_\x8f_\x8o_\x8<_\x8·_\x8G_\x8G_\x8,_\x8·_\x8D_\x8a_\x8t_\x8a_\x8H_\x8a_\x8n_\x8d_\x8l_\x8e_\x8I_\x8m_\x8p_\x8, | ||
34 | ·········_\x8D_\x8a_\x8t_\x8a_\x8T_\x8y_\x8p_\x8e_\x8I_\x8m_\x8p_\x8·_\x8>_\x8·_\x8> | ||
35 | ········specialization·of·the·CommPolicy·struct,·required·for·the | ||
36 | ·········ParallelIndexsets·_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
15 | 37 | ||
16 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s | 38 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s |
17 | namespace· ·_\x8D_\x8u_\x8n_\x8e | 39 | namespace· ·_\x8D_\x8u_\x8n_\x8e |
18 | 40 | ||
19 | namespace· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e | 41 | namespace· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e |
20 | 42 | ||
43 | T\x8Ty\x8yp\x8pe\x8ed\x8de\x8ef\x8fs\x8s | ||
44 | ·······typedef·std::pair<·int,·int·> ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8R_\x8a_\x8n_\x8k_\x8P_\x8a_\x8i_\x8r | ||
45 | |||
46 | typedef·_\x8C_\x8o_\x8m_\x8m_\x8u_\x8n_\x8i_\x8c_\x8a_\x8t_\x8i_\x8o_\x8n_\x8O_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r<·Dune:: | ||
47 | ··············ForwardCommunication·> ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8F_\x8o_\x8r_\x8w_\x8a_\x8r_\x8d_\x8O_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r | ||
48 | |||
49 | typedef·_\x8C_\x8o_\x8m_\x8m_\x8u_\x8n_\x8i_\x8c_\x8a_\x8t_\x8i_\x8o_\x8n_\x8O_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r<·Dune:: | ||
50 | ·············BackwardCommunication·> ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8B_\x8a_\x8c_\x8k_\x8w_\x8a_\x8r_\x8d_\x8O_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r | ||
51 | |||
52 | F\x8Fu\x8un\x8nc\x8ct\x8ti\x8io\x8on\x8ns\x8s | ||
53 | std::ostream·& ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8<_\x8<·(std::ostream·&os,·const·_\x8G_\x8l_\x8o_\x8b_\x8a_\x8l_\x8I_\x8d | ||
54 | ················&id) | ||
55 | |||
56 | *\x8**\x8**\x8**\x8**\x8*·D\x8De\x8et\x8ta\x8ai\x8il\x8le\x8ed\x8d·D\x8De\x8es\x8sc\x8cr\x8ri\x8ip\x8pt\x8ti\x8io\x8on\x8n·*\x8**\x8**\x8**\x8**\x8* | ||
57 | Describes·the·parallel·communication·interface·class·for·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e. | ||
58 | ··Author | ||
59 | ······Christian·Engwer | ||
21 | =============================================================================== | 60 | =============================================================================== |
22 | ·····Generated·by _\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]·1.9.8 | 61 | ·····Generated·by _\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]·1.9.8 |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-grid-glue:· | 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, 87 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"> | 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> | ||
85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·©·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div> | ||
84 | <div·class="line"><a·id="l0000 | 86 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with-dune-grid-glue-exception</span></div> |
85 | <div·class="line"><a·id="l0000 | 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> |
86 | <div·class="line"><a·id="l0000 | 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> |
87 | <div·class="line"><a·id="l0000 | 89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div> |
88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#include·<<a·class="code"·href="a00002.html">dune/grid-glue/gridglue.hh</a>></span></div> | ||
89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#include·<<a·class="code"·href="a00014.html">dune/grid-glue/adapter/intersection.hh</a>></span></div> | ||
90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span>·</div> | ||
91 | <div·class="line"><a·id="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"># | 90 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·<type_traits></span></div> |
96 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div> | 91 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div> |
92 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·<dune/common/bartonnackmanifcheck.hh></span></div> | ||
93 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·<dune/common/parallel/communicator.hh></span></div> | ||
94 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·<dune/grid/common/datahandleif.hh></span></div> | ||
95 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·<dune/grid/common/gridenums.hh></span></div> | ||
96 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> | ||
97 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div> | ||
97 | <div·class="line"><a·id="l000 | 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> |
98 | <div·class="line"><a·id="l000 | 99 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>··<span·class="keyword">namespace·</span>GridGlue·{</div> |
99 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> | ||
100 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>········<span·class="keyword">template</span><<span·class="keyword">typename</span>·P0,·<span·class="keyword">typename</span>·P1></div> | ||
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> | ||
106 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div> | 100 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div> |
107 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">·· | 101 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno"><a·class="line"·href="a00104.html#ad076ed124b9754babb07c5deb01dc429">···24</a></span>····<span·class="keyword">typedef</span>·std::pair<int,·int>·<a·class="code·hl_typedef"·href="a00104.html#ad076ed124b9754babb07c5deb01dc429">RankPair</a>;</div> |
102 | <div·class="foldopen"·id="foldopen00025"·data-start="{"·data-end="};"> | ||
103 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno"><a·class="line"·href="a00950.html">···25</a></span>····<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a00950.html">GlobalId</a>·:·<span·class="keyword">public</span>·std::pair<RankPair,·unsigned·int></div> | ||
108 | <div·class="line"><a·id="l0002 | 104 | <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"><a·class="line"·href="a00942.html#a3ac00fc1735a79e44041c3fa9856e8f7">···27</a></span>············<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a00926.html#a1b4f3fb839fea223e126c0279c14bbcb">GridGlue::IndexType</a>·<a·class="code·hl_typedef"·href="a00942.html#a3ac00fc1735a79e44041c3fa9856e8f7">IndexType</a>;</div> | ||
110 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno"><a·class="line"·href="a00942.html#ac41e66c2413e2e13424ca9a6ce1790be">···29</a></span>············<span·class="keyword">typedef</span>·<span·class="keywordtype">size_t</span>·<a·class="code·hl_typedef"·href="a00942.html#ac41e66c2413e2e13424ca9a6ce1790be">SizeType</a>;</div> | ||
111 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div> | ||
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="foldopen0003 | 105 | <div·class="foldopen"·id="foldopen00030"·data-start="{"·data-end="}"> |
114 | <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>········this->first.second·=·0;</div> | ||
115 | <div·class="line"><a·id="l0003 | 109 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>········this->second·=·0;</div> |
116 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>················<span·class="keywordflow">return</span>·i.i_-><a·class="code·hl_variable"·href="a00930.html#acd2845472ab276c8ee95325a1ad8015a">index_</a>;</div> | ||
117 | <div·class="line"><a·id="l0003 | 110 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>······}</div> |
118 | </div> | 111 | </div> |
119 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div> | ||
120 | <div·class="foldopen"·id="foldopen000 | 112 | <div·class="foldopen"·id="foldopen00038"·data-start="{"·data-end="}"> |
121 | <div·class="line"><a·id="l000 | 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">in[·...·truncated·by·diffoscope;·len:·13,·SHA:·da3f882bcf12e46a02fb5a5cc0474e4ce4add7184d34ed7307cace8c3e42519a·...·]</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> | ||
122 | <div·class="line"><a·id="l0004 | 116 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>········this->second·=·0;</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="l0004 | 117 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>······}</div> |
125 | </div> | 118 | </div> |
119 | <div·class="foldopen"·id="foldopen00048"·data-start="{"·data-end="}"> | ||
120 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno"><a·class="line"·href="a00950.html#a642bf20f4bd76bbf0e979b6ef2893d55">···48</a></span>······<a·class="code·hl_function"·href="a00950.html#a642bf20f4bd76bbf0e979b6ef2893d55">GlobalId</a>(<span·class="keywordtype">int</span>·i,·<span·class="keywordtype">int</span>·j,·<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·n)·{</div> | ||
121 | <div·class="line"><a·id="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> | ||
126 | <div·class="line"><a·id="l000 | 124 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>······}</div> |
125 | </div> | ||
127 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>··<span·class="keyword">private</span>:</div> | ||
128 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div> | ||
129 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>············<a·class="code·hl_class"·href="a00942.html">IntersectionIndexSet</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a00926.html">GridGlue</a>·*·g)·:</div> | ||
130 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>················glue_(g)·{}</div> | ||
131 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div> | ||
132 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>············<span·class="keyword">const</span>·GridGlue·*·glue_;</div> | ||
133 | <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> |
134 | </div> | 127 | </div> |
135 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div> | 128 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div> |
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> | ||
136 | <div·class="line"><a·id="l000 | 135 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>······<span·class="keywordflow">return</span>·os;</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="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div> | ||
139 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>····<span·class="keyword">template</span>·<<span·class="keyword">class</span>·DataHandleImp,·<span·class="keyword">class</span>·DataTypeImp></div> | ||
140 | <div·class="foldopen"·id="foldopen00076"·data-start="{"·data-end="};"> | ||
141 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno"><a·class="line"·href="a00954.html">···76</a></span>····<span·class="keyword">class·</span><a·class="code·hl_class"·href="a00954.html">CommDataHandle</a></div> | ||
142 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>····{</div> | ||
137 | <div·class="line"><a·id="l000 | 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·interface·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> | ||
138 | <div·class="line"><a·id="l000 | 149 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>·</div> |
139 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span><span·class="preprocessor">#endif·</span><span·class="comment">//·DUNE_GRIDGLUE_ADAPTER_INTERSECTIONINDEXSET_HH</span></div> | ||
140 | <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> | ||
141 | <div·class=" | 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="}"> | ||
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> | ||
Max diff block lines reached; 20029/82055 bytes (24.41%) of diff not shown. |
Offset 1, 105 lines modified | Offset 1, 442 lines modified | ||
1 | dune-grid-glue 2.10 | 1 | dune-grid-glue 2.10 |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | ····*·_\x8d_\x8u_\x8n_\x8e | 5 | ····*·_\x8d_\x8u_\x8n_\x8e |
6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e | 6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e |
7 | ····*·_\x8a_\x8d_\x8a_\x8p_\x8t_\x8e_\x8r | 7 | ····*·_\x8a_\x8d_\x8a_\x8p_\x8t_\x8e_\x8r |
8 | 8 | gridgluecommunicate.hh | |
9 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 9 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | ||
11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: | ||
10 | 12 | 3//·SPDX-FileCopyrightInfo:·Copyright·Â©·DUNE·Project·contributors,·see·file | |
11 | LICENSE.md·in·module·root | 13 | LICENSE.md·in·module·root |
12 | 14 | 4//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with- | |
13 | dune-grid-glue-exception | 15 | dune-grid-glue-exception |
16 | 5#ifndef·DUNE_GRIDGLUE_ADAPTER_GRIDGLUECOMMUNICATE_HH | ||
17 | 6#define·DUNE_GRIDGLUE_ADAPTER_GRIDGLUECOMMUNICATE_HH | ||
18 | 7 | ||
19 | 13#include·<type_traits> | ||
14 | 3#ifndef·DUNE_GRIDGLUE_ADAPTER_INTERSECTIONINDEXSET_HH | ||
15 | 4#define·DUNE_GRIDGLUE_ADAPTER_INTERSECTIONINDEXSET_HH | ||
16 | 5 | ||
17 | 6#include·<_\x8d_\x8u_\x8n_\x8e_\x8/_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e_\x8/_\x8g_\x8r_\x8i_\x8d_\x8g_\x8l_\x8u_\x8e_\x8._\x8h_\x8h> | ||
18 | 7#include·<_\x8d_\x8u_\x8n_\x8e_\x8/_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e_\x8/_\x8a_\x8d_\x8a_\x8p_\x8t_\x8e_\x8r_\x8/_\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8._\x8h_\x8h> | ||
19 | 8 | ||
20 | 9#ifndef·ONLY_SIMPLEX_INTERSECTIONS | ||
21 | 10//·we·currently·support·only·one·intersection·type.·If·we·want·to·support | ||
22 | more, | ||
23 | 11//·we·have·to·think·about·the·semantics·of·our·IndexSet | ||
24 | 12#error·Not·Implemented | ||
25 | 13#endif | ||
26 | 14 | 20 | 14 |
21 | 15#include·<dune/common/bartonnackmanifcheck.hh> | ||
22 | 16#include·<dune/common/parallel/communicator.hh> | ||
23 | 17#include·<dune/grid/common/datahandleif.hh> | ||
24 | 18#include·<dune/grid/common/gridenums.hh> | ||
25 | 19 | ||
26 | 20 | ||
27 | 27 | 21namespace·_\x8D_\x8u_\x8n_\x8e·{ | |
28 | 22·namespace·GridGlue·{ | ||
28 | 16·namespace·_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e·{ | ||
29 | 17 | ||
30 | 18·template<typename·P0,·typename·P1> | ||
31 | _\x81_\x89·class·_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8I_\x8n_\x8d_\x8e_\x8x_\x8S_\x8e_\x8t | ||
32 | 20·{ | ||
33 | 21·friend·class·::Dune::GridGlue::GridGlue<P0,P1>; | ||
34 | 22·typedef·::Dune::GridGlue::GridGlue<P0,P1>·_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e; | ||
35 | 23 | 29 | 23 |
30 | _\x82_\x84·typedef·std::pair<int,·int>·_\x8R_\x8a_\x8n_\x8k_\x8P_\x8a_\x8i_\x8r; | ||
31 | _\x82_\x85·struct·_\x8G_\x8l_\x8o_\x8b_\x8a_\x8l_\x8I_\x8d·:·public·std::pair<RankPair,·unsigned·int> | ||
36 | 24·public: | ||
37 | 25 | ||
38 | _\x82_\x87·typedef·typename·_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8I_\x8n_\x8d_\x8e_\x8x_\x8T_\x8y_\x8p_\x8e·_\x8I_\x8n_\x8d_\x8e_\x8x_\x8T_\x8y_\x8p_\x8e; | ||
39 | _\x82_\x89·typedef·size_t·_\x8S_\x8i_\x8z_\x8e_\x8T_\x8y_\x8p_\x8e; | ||
40 | 30 | ||
41 | 33·template<int·I,·int·O> | ||
42 | _\x83_\x84·_\x8I_\x8n_\x8d_\x8e_\x8x_\x8T_\x8y_\x8p_\x8e·_\x8i_\x8n_\x8d_\x8e_\x8x·(const·_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8<_\x8P_\x80_\x8,_\x8P_\x81_\x8,_\x8I_\x8,_\x8O_\x8>·&·i)·const | ||
43 | 35·{ | ||
44 | 36·return·i.i_->_\x8i_\x8n_\x8d_\x8e_\x8x_\x8_; | ||
45 | 37·} | ||
46 | 38 | ||
47 | _\x84_\x81·_\x8S_\x8i_\x8z_\x8e_\x8T_\x8y_\x8p_\x8e·_\x8s_\x8i_\x8z_\x8e·()·const | ||
48 | 32 | 26·{ | |
49 | 33 | _.3_.0·_.G_.l_.o_.b_.a_.l_.I_.d()·{ | |
34 | 31·this->first.first·=·0; | ||
35 | 32·this->first.second·=·0; | ||
36 | 33·this->second·=·0; | ||
50 | 37 | 34·} | |
51 | 45 | ||
52 | 46·private: | ||
53 | 47 | ||
54 | 49·_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8I_\x8n_\x8d_\x8e_\x8x_\x8S_\x8e_\x8t(const·_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e·*·g)·: | ||
55 | 50·glue_(g)·{} | ||
56 | 51 | ||
57 | 38 | _.3_.8·_.G_.l_.o_.b_.a_.l_.I_.d(int·i)·{ | |
39 | 39·this->first.first·=·i; | ||
40 | 40·this->first.second·=·i; | ||
41 | 41·this->second·=·0; | ||
42 | 42·} | ||
43 | _\x84_\x88·_\x8G_\x8l_\x8o_\x8b_\x8a_\x8l_\x8I_\x8d(int·i,·int·j,·unsigned·int·n)·{ | ||
44 | 49·this->first.first·=·std::min(i,j); | ||
45 | 50·this->first.second·=·std::max(i,j); | ||
46 | 51·this->second·=·n; | ||
47 | 52·} | ||
58 | 53·}; | 48 | 53·}; |
59 | 54 | 49 | 54 |
50 | _\x85_\x85·inline·std::ostream&·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8<_\x8<(std::ostream&·os,·const·_\x8G_\x8l_\x8o_\x8b_\x8a_\x8l_\x8I_\x8d·&·id) | ||
51 | 56·{ | ||
52 | 57·os·<<·"(" | ||
53 | 58·<<·id.first.first·<<·","·<<·id.first.second·<<·"," | ||
54 | 59·<<·id.second·<<·")"; | ||
55 | 60·return·os; | ||
56 | 61·} | ||
57 | 62 | ||
58 | 75·template·<class·DataHandleImp,·class·DataTypeImp> | ||
59 | _\x87_\x86·class·_\x8C_\x8o_\x8m_\x8m_\x8D_\x8a_\x8t_\x8a_\x8H_\x8a_\x8n_\x8d_\x8l_\x8e | ||
60 | 77·{ | ||
61 | 78·public: | ||
62 | _\x88_\x80·typedef·DataTypeImp·_\x8D_\x8a_\x8t_\x8a_\x8T_\x8y_\x8p_\x8e; | ||
63 | 81 | ||
64 | 82·protected: | ||
65 | 83·//·one·should·not·create·an·explicit·instance·of·this·interface·object | ||
66 | _\x88_\x84·_\x8C_\x8o_\x8m_\x8m_\x8D_\x8a_\x8t_\x8a_\x8H_\x8a_\x8n_\x8d_\x8l_\x8e()·{} | ||
67 | 85 | ||
68 | 86·public: | ||
69 | 87 | ||
70 | 91·template<class·RISType> | ||
71 | _\x89_\x82·size_t·_\x8s_\x8i_\x8z_\x8e·(RISType&·i)·const | ||
72 | 93·{ | ||
73 | 94·CHECK_INTERFACE_IMPLEMENTATION((asImp()._\x8s_\x8i_\x8z_\x8e(i))); | ||
74 | 95·return·asImp().size(i); | ||
75 | 96·} | ||
76 | 97 | ||
77 | 103·template<class·MessageBufferImp,·class·EntityType,·class·RISType> | ||
78 | _\x81_\x80_\x84·void·_\x8g_\x8a_\x8t_\x8h_\x8e_\x8r·(MessageBufferImp&·buff,·const·EntityType&·e,·const·RISType·& | ||
79 | i)·const | ||
80 | 105·{ | ||
81 | 106·MessageBufferIF<MessageBufferImp>·buffIF(buff); | ||
82 | 107·CHECK_AND_CALL_INTERFACE_IMPLEMENTATION((asImp()._\x8g_\x8a_\x8t_\x8h_\x8e_\x8r(buffIF,e,i))); | ||
83 | 108·} | ||
84 | 109 | ||
85 | 117·template<class·MessageBufferImp,·class·EntityType,·class·RISType> | ||
86 | _\x81_\x81_\x88·void·_\x8s_\x8c_\x8a_\x8t_\x8t_\x8e_\x8r·(MessageBufferImp&·buff,·const·EntityType&·e,·const·RISType·& | ||
87 | i,·size_t·n) | ||
88 | 119·{ | ||
89 | 120·MessageBufferIF<MessageBufferImp>·buffIF(buff); | ||
90 | 121·CHECK_AND_CALL_INTERFACE_IMPLEMENTATION((asImp()._\x8s_\x8c_\x8a_\x8t_\x8t_\x8e_\x8r(buffIF,e,i,n))); | ||
Max diff block lines reached; 13488/25378 bytes (53.15%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-grid-glue:· | 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 70, 40 lines modified | Offset 70, 35 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">intersectionindexset.hh·File·Reference</div></div> |
80 | </div><!--header--> | 80 | </div><!--header--> |
81 | <div·class="contents"> | 81 | <div·class="contents"> |
82 | <div·class="textblock"><code>#include·& | 82 | <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·& | 83 | <code>#include·<<a·class="el"·href="a00020_source.html">dune/grid-glue/adapter/intersection.hh</a>></code><br·/> |
86 | <code>#include·"<a·class="el"·href="a00044_source.html">../common/ringcomm.hh</a>"</code><br·/> | ||
87 | <code>#include·<dune/common/unused.hh></code><br·/> | ||
88 | </div> | 84 | </div> |
89 | <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> |
90 | <table·class="memberdecls"> | 86 | <table·class="memberdecls"> |
87 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | ||
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"> | ||
91 | <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> |
92 | Namespaces</h2></td></tr> | 93 | 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> | 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> |
94 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 95 | <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> | 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> |
96 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 97 | <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> | 98 | </table> |
104 | </div><!--·contents·--> | 99 | </div><!--·contents·--> |
105 | <!--·start·footer·part·--> | 100 | <!--·start·footer·part·--> |
106 | <hr·class="footer"/><address·class="footer"><small> | 101 | <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 | 102 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
108 | </small></address> | 103 | </small></address> |
109 | </body> | 104 | </body> |
Offset 1, 28 lines modified | Offset 1, 22 lines modified | ||
1 | dune-grid-glue 2.10 | 1 | dune-grid-glue 2.10 |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | ····*·_\x8d_\x8u_\x8n_\x8e | 5 | ····*·_\x8d_\x8u_\x8n_\x8e |
6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e | 6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e |
7 | ····*·_\x8a_\x8d_\x8a_\x8p_\x8t_\x8e_\x8r | 7 | ····*·_\x8a_\x8d_\x8a_\x8p_\x8t_\x8e_\x8r |
8 | _\x8C_\x8l_\x8a_\x8s_\x8s_\x8e_\x8s·|·_\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s | ||
9 | intersectionindexset.hh·File·Reference | ||
10 | #include·<_\x8d_\x8u_\x8n_\x8e_\x8/_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e_\x8/_\x8g_\x8r_\x8i_\x8d_\x8g_\x8l_\x8u_\x8e_\x8._\x8h_\x8h> | ||
11 | #include·<_\x8d_\x8u_\x8n_\x8e_\x8/_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e_\x8/_\x8a_\x8d_\x8a_\x8p_\x8t_\x8e_\x8r_\x8/_\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8._\x8h_\x8h> | ||
8 | _\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s·|·_\x8F_\x8u_\x8n_\x8c_\x8t_\x8i_\x8o_\x8n_\x8s | ||
9 | gridglue.cc·File·Reference | ||
10 | #include·"_\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8._\x8h_\x8h" | ||
11 | #include·<vector> | ||
12 | #include·<iterator> | ||
13 | #include·"_\x8._\x8._\x8/_\x8g_\x8r_\x8i_\x8d_\x8g_\x8l_\x8u_\x8e_\x8._\x8h_\x8h" | ||
14 | #include·"_\x8._\x8._\x8/_\x8c_\x8o_\x8m_\x8m_\x8o_\x8n_\x8/_\x8r_\x8i_\x8n_\x8g_\x8c_\x8o_\x8m_\x8m_\x8._\x8h_\x8h" | ||
15 | #include·<dune/common/unused.hh> | ||
16 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 12 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
13 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s | ||
14 | class· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8I_\x8n_\x8d_\x8e_\x8x_\x8S_\x8e_\x8t_\x8<_\x8·_\x8P_\x80_\x8,_\x8·_\x8P_\x81_\x8·_\x8> | ||
15 | |||
17 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s | 16 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s |
18 | namespace· ·_\x8D_\x8u_\x8n_\x8e | 17 | namespace· ·_\x8D_\x8u_\x8n_\x8e |
19 | 18 | ||
20 | namespace· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e | 19 | namespace· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e |
21 | 20 | ||
22 | F\x8Fu\x8un\x8nc\x8ct\x8ti\x8io\x8on\x8ns\x8s | ||
23 | template<typename·T·> | ||
24 | void ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8p_\x8r_\x8i_\x8n_\x8t_\x8V_\x8e_\x8c_\x8t_\x8o_\x8r·(const·std::vector<·T·>·&v,·std::string·name, | ||
25 | ······int·rank) | ||
26 | |||
27 | =============================================================================== | 21 | =============================================================================== |
28 | ·····Generated·by _\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]·1.9.8 | 22 | ·····Generated·by _\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]·1.9.8 |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-grid-glue:· | 8 | <title>dune-grid-glue:·intersectionindexset.hh·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 74, 502 lines modified | Offset 74, 87 lines modified | ||
74 | <div·id="nav-path"·class="navpath"> | 74 | <div·id="nav-path"·class="navpath"> |
75 | ··<ul> | 75 | ··<ul> |
76 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_1b444a177590012656060e8a0bca20fc.html">adapter</a></li>··</ul> | 76 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_1b444a177590012656060e8a0bca20fc.html">adapter</a></li>··</ul> |
77 | </div> | 77 | </div> |
78 | </div><!--·top·--> | 78 | </div><!--·top·--> |
79 | <div·class="header"> | 79 | <div·class="header"> |
80 | ··<div·class="headertitle"><div·class="title"> | 80 | ··<div·class="headertitle"><div·class="title">intersectionindexset.hh</div></div> |
81 | </div><!--header--> | 81 | </div><!--header--> |
82 | <div·class="contents"> | 82 | <div·class="contents"> |
83 | <a·href="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="l0000 | 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_GRIDGLUE_ADAPTER_INTERSECTIONINDEXSET_HH</span></div> |
86 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_GRIDGLUE_ADAPTER_INTERSECTIONINDEXSET_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·<<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> | 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">#in | 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=" | 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> | ||
93 | <div·class="line"><a·id="l0001 | 94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#error·Not·Implemented</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> | ||
99 | <div·class="line"><a·id="l0001 | 97 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00103.html">Dune</a>·{</div> |
100 | <div·class="line"><a·id="l0001 | 98 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>····<span·class="keyword">namespace·</span><a·class="code·hl_class"·href="a00926.html">GridGlue</a>·{</div> |
101 | <div·class="line"><a·id="l0001 | 99 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> |
102 | <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> |
103 | <div·class="foldopen"·id="foldopen000 | 101 | <div·class="foldopen"·id="foldopen00019"·data-start="{"·data-end="};"> |
104 | <div·class="line"><a·id="l000 | 102 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno"><a·class="line"·href="a00942.html">···19</a></span>········<span·class="keyword">class·</span><a·class="code·hl_class"·href="a00942.html">IntersectionIndexSet</a></div> |
105 | <div·class="line"><a·id="l0002 | 103 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>········{</div> |
104 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>············<span·class="keyword">friend</span>·class·::Dune::GridGlue::GridGlue<P0,P1>;</div> | ||
105 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>············typedef·::Dune::GridGlue::GridGlue<P0,P1>·<a·class="code·hl_class"·href="a00926.html">GridGlue</a>;</div> | ||
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> | ||
112 | <div·class="line"><a·id="l0002 | 107 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>········<span·class="keyword">public</span>:</div> |
113 | <div·class="line"><a·id="l000 | 108 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</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="l000 | 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.h[·...·truncated·by·diffoscope;·len:·156,·SHA:·8567d86193e8fda2c0952645fc36121f3c556da0d4bb9b012988ccfe472f4b83·...·];</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> | ||
116 | <div·class="line"><a·id="l0003 | 111 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div> |
112 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>············<span·class="keyword">template</span><<span·class="keywordtype">int</span>·I,·<span·class="keywordtype">int</span>·O></div> | ||
113 | <div·class="foldopen"·id="foldopen00034"·data-start="{"·data-end="}"> | ||
114 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno"><a·class="line"·href="a00942.html#a99675cfe98d9454136be2f2c3ea65cf1">···34</a></span>············<a·class="code·hl_typedef"·href="a00942.html#a3ac00fc1735a79e44041c3fa9856e8f7">IndexType</a>·<a·class="code·hl_function"·href="a00942.html#a99675cfe98d9454136be2f2c3ea65cf1">index</a>·(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a00934.html">Intersection<P0,P1,I,O></a>·&·i)<span·class="keyword">·const</span></div> | ||
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> | ||
117 | </div> | 118 | </div> |
118 | <div·class="line"><a·id="l0003 | 119 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</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="foldopen00041"·data-start="{"·data-end="}"> |
121 | <div·class="line"><a·id="l000 | 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_funct[·...·truncated·by·diffoscope;·len:·104,·SHA:·5f03467dc7c6be59f0a67ed736046994afe60a0ac62ca730da1d05f7b714103d·...·]</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> | ||
122 | <div·class="line"><a·id="l000 | 124 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</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> | ||
129 | <div·class="line"><a·id="l0004 | 126 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div> |
130 | <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> |
131 | <div·class="line"><a·id="l0004 | 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> | ||
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> | ||
134 | <div·class="line"><a·id="l000 | 130 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>················glue_(g)·{}</div> |
135 | <div·class="line"><a·id="l0005 | 131 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div> |
132 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>············<span·class="keyword">const</span>·GridGlue·*·glue_;</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>·· | 133 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>··};</div> |
139 | < | 134 | </div> |
140 | <div·class="line"><a·id="l0005 | 135 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div> |
141 | <div·class="line"><a·id="l0005 | 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> | ||
142 | <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> |
139 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span><span·class="preprocessor">#endif·</span><span·class="comment">//·DUNE_GRIDGLUE_ADAPTER_INTERSECTIONINDEXSET_HH</span></div> | ||
140 | <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> | ||
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·patches</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> | ||
Max diff block lines reached; 13014/95718 bytes (13.60%) of diff not shown. |
Offset 1, 584 lines modified | Offset 1, 105 lines modified | ||
1 | dune-grid-glue 2.10 | 1 | dune-grid-glue 2.10 |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | ····*·_\x8d_\x8u_\x8n_\x8e | 5 | ····*·_\x8d_\x8u_\x8n_\x8e |
6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e | 6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e |
7 | ····*·_\x8a_\x8d_\x8a_\x8p_\x8t_\x8e_\x8r | 7 | ····*·_\x8a_\x8d_\x8a_\x8p_\x8t_\x8e_\x8r |
8 | 8 | intersectionindexset.hh | |
9 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 9 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | ||
11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: | ||
12 | 10 | _.1//·SPDX-FileCopyrightInfo:·Copyright·Â©·DUNE·Project·contributors,·see·file | |
13 | LICENSE.md·in·module·root | 11 | LICENSE.md·in·module·root |
14 | 12 | 2//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with- | |
15 | dune-grid-glue-exception | 13 | dune-grid-glue-exception |
16 | 5/*·IMPLEMENTATION·OF·CLASS·G·R·I·D·G·L·U·E·*/ | ||
17 | 6 | ||
18 | 7#include·"_\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8._\x8h_\x8h" | ||
19 | 8#include·<vector> | ||
20 | 9#include·<iterator> | ||
21 | 10#include·"../gridglue.hh" | ||
22 | 11#if·HAVE_MPI | ||
23 | 14 | 3#ifndef·DUNE_GRIDGLUE_ADAPTER_INTERSECTIONINDEXSET_HH | |
15 | 4#define·DUNE_GRIDGLUE_ADAPTER_INTERSECTIONINDEXSET_HH | ||
16 | 5 | ||
17 | 6#include·<_\x8d_\x8u_\x8n_\x8e_\x8/_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e_\x8/_\x8g_\x8r_\x8i_\x8d_\x8g_\x8l_\x8u_\x8e_\x8._\x8h_\x8h> | ||
18 | 7#include·<_\x8d_\x8u_\x8n_\x8e_\x8/_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e_\x8/_\x8a_\x8d_\x8a_\x8p_\x8t_\x8e_\x8r_\x8/_\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8._\x8h_\x8h> | ||
19 | 8 | ||
20 | 9#ifndef·ONLY_SIMPLEX_INTERSECTIONS | ||
21 | 10//·we·currently·support·only·one·intersection·type.·If·we·want·to·support | ||
22 | more, | ||
23 | 11//·we·have·to·think·about·the·semantics·of·our·IndexSet | ||
24 | 12#error·Not·Implemented | ||
24 | 13#endif | 25 | 13#endif |
25 | 14 | 26 | 14 |
26 | 15#include·<dune/common/unused.hh> | ||
27 | 16 | ||
28 | 1 | 27 | 15namespace·_\x8D_\x8u_\x8n_\x8e·{ |
29 | 18namespace·GridGlue·{ | ||
30 | 1 | 28 | 16·namespace·_.G_.r_.i_.d_.G_.l_.u_.e·{ |
29 | 17 | ||
31 | 30 | 18·template<typename·P0,·typename·P1> | |
32 | _\x82_\x81_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8<_\x8P_\x80_\x8,_\x8·_\x8P_\x81_\x8>_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e(const·std::shared_ptr<·const·_\x8G_\x8r_\x8i_\x8d_\x8P_\x8a_\x8t_\x8c_\x8h_\x8<_\x80_\x8>·>&·gp0, | ||
33 | const·std::shared_ptr<·const·_\x8G_\x8r_\x8i_\x8d_\x8P_\x8a_\x8t_\x8c_\x8h_\x8<_\x81_\x8>·>&·gp1,·const·std:: | ||
34 | shared_ptr<Merger>&·merger) | ||
35 | 31 | _.1_.9·class·_.I_.n_.t_.e_.r_.s_.e_.c_.t_.i_.o_.n_.I_.n_.d_.e_.x_.S_.e_.t | |
32 | 20·{ | ||
33 | 21·friend·class·::Dune::GridGlue::GridGlue<P0,P1>; | ||
34 | 22·typedef·::Dune::GridGlue::GridGlue<P0,P1>·_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e; | ||
36 | 23 | 35 | 23 |
36 | 24·public: | ||
37 | 25 | ||
38 | _\x82_\x87·typedef·typename·_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8I_\x8n_\x8d_\x8e_\x8x_\x8T_\x8y_\x8p_\x8e·_\x8I_\x8n_\x8d_\x8e_\x8x_\x8T_\x8y_\x8p_\x8e; | ||
39 | _\x82_\x89·typedef·size_t·_\x8S_\x8i_\x8z_\x8e_\x8T_\x8y_\x8p_\x8e; | ||
40 | 30 | ||
41 | 33·template<int·I,·int·O> | ||
42 | _\x83_\x84·_\x8I_\x8n_\x8d_\x8e_\x8x_\x8T_\x8y_\x8p_\x8e·_\x8i_\x8n_\x8d_\x8e_\x8x·(const·_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8<_\x8P_\x80_\x8,_\x8P_\x81_\x8,_\x8I_\x8,_\x8O_\x8>·&·i)·const | ||
43 | 35·{ | ||
44 | 36·return·i.i_->_\x8i_\x8n_\x8d_\x8e_\x8x_\x8_; | ||
45 | 37·} | ||
46 | 38 | ||
47 | _\x84_\x81·_\x8S_\x8i_\x8z_\x8e_\x8T_\x8y_\x8p_\x8e·_\x8s_\x8i_\x8z_\x8e·()·const | ||
37 | 24#if·HAVE_MPI | ||
38 | 25·//·if·we·have·only·seq.·meshes·don't·use·parallel·glueing | ||
39 | 26·if·(gp0->gridView().comm().size()·==·1 | ||
40 | 27·&&·gp1->gridView().comm().size()·==·1) | ||
41 | 28·mpicomm_·=·MPI_COMM_SELF; | ||
42 | 29·else | ||
43 | 30·mpicomm_·=·MPI_COMM_WORLD; | ||
44 | 31#endif·//·HAVE_MPI | ||
45 | 32·std::cout·<<·"GridGlue:·Constructor·succeeded!"·<<·std::endl; | ||
46 | 33} | ||
47 | 34 | ||
48 | 35template<typename·P0,·typename·P1> | ||
49 | _\x83_\x86void·_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8<_\x8P_\x80_\x8,_\x8·_\x8P_\x81_\x8>_\x8:_\x8:_\x8b_\x8u_\x8i_\x8l_\x8d() | ||
50 | 37{ | ||
51 | 38·int·myrank·=·0; | ||
52 | 39#if·HAVE_MPI | ||
53 | 40·int·commsize·=·1; | ||
54 | 41·MPI_Comm_rank(mpicomm_,·&myrank); | ||
55 | 42·MPI_Comm_size(mpicomm_,·&commsize); | ||
56 | 43#endif·//·HAVE_MPI | ||
57 | 44 | ||
58 | 45·//·clear·the·contents·from·the·current·intersections·array | ||
59 | 4 | 48 | 42·{ |
49 | 43·return·glue_->_\x8s_\x8i_\x8z_\x8e(); | ||
60 | 47·std::vector<IntersectionData>·dummy(1);·//·we·need·size·1,·as·we·always | ||
61 | store·data·for·the·end-intersection | ||
62 | 48·intersections_.swap(dummy); | ||
63 | 4 | 50 | 44·} |
64 | 50 | ||
65 | 51·std::vector<Dune::FieldVector<ctype,·dimworld>·>·patch0coords; | ||
66 | 52·std::vector<unsigned·int>·patch0entities; | ||
67 | 53·std::vector<Dune::GeometryType>·patch0types; | ||
68 | 54·std::vector<Dune::FieldVector<ctype,dimworld>·>·patch1coords; | ||
69 | 55·std::vector<unsigned·int>·patch1entities; | ||
70 | 51 | 45 | |
52 | 46·private: | ||
53 | 47 | ||
54 | 49·_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8I_\x8n_\x8d_\x8e_\x8x_\x8S_\x8e_\x8t(const·_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e·*·g)·: | ||
55 | 50·glue_(g)·{} | ||
56 | 51 | ||
57 | 52·const·GridGlue·*·glue_; | ||
58 | 53·}; | ||
59 | 54 | ||
60 | 55·}·//·end·namespace·GridGlue | ||
61 | 56}·//·end·namespace·Dune | ||
71 | 57 | 62 | 57 |
63 | 58#endif·//·DUNE_GRIDGLUE_ADAPTER_INTERSECTIONINDEXSET_HH | ||
64 | _\x8g_\x8r_\x8i_\x8d_\x8g_\x8l_\x8u_\x8e_\x8._\x8h_\x8h | ||
65 | Central·component·of·the·module·implementing·the·coupling·of·two·grids. | ||
72 | 58·/* | ||
73 | 59·*·extract·global·surface·patches | ||
74 | 60·*/ | ||
75 | 61 | ||
76 | 62·//·retrieve·the·coordinate·and·topology·information·from·the·extractors | ||
77 | 63·//·and·apply·transformations·if·necessary | ||
78 | 64·extractGrid(patch<0>(),·patch0coords,·patch0entities,·patch0types); | ||
79 | 65·extractGrid(patch<1>(),·patch1coords,·patch1entities,·patch1types); | ||
80 | 66 | ||
81 | 67·std::cout·<<·">>>>·rank·"·<<·myrank·<<·"·coords:·" | ||
82 | 68·<<·patch0coords.size()·<<·"·and·"·<<·patch1coords.size()·<<·std::endl; | ||
83 | 69·std::cout·<<·">>>>·rank·"·<<·myrank·<<·"·entities:·" | ||
84 | 70·<<·patch0entities.size()·<<·"·and·"·<<·patch1entities.size()·<<·std::endl; | ||
85 | 71·std::cout·<<·">>>>·rank·"·<<·myrank·<<·"·types:·" | ||
86 | 72·<<·patch0types.size()·<<·"·and·"·<<·patch1types.size()·<<·std::endl; | ||
87 | 73 | ||
Max diff block lines reached; 8744/28248 bytes (30.95%) 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:·i | 8 | <title>dune-grid-glue:·gridgluevtkwriter.hh·File·Reference</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 71, 74 lines modified | Offset 71, 47 lines modified | ||
71 | ··<ul> | 71 | ··<ul> |
72 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_1b444a177590012656060e8a0bca20fc.html">adapter</a></li>··</ul> | 72 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_1b444a177590012656060e8a0bca20fc.html">adapter</a></li>··</ul> |
73 | </div> | 73 | </div> |
74 | </div><!--·top·--> | 74 | </div><!--·top·--> |
75 | <div·class="header"> | 75 | <div·class="header"> |
76 | ··<div·class="summary"> | 76 | ··<div·class="summary"> |
77 | <a·href="#nested-classes">Classes</a>·| | 77 | <a·href="#nested-classes">Classes</a>·| |
78 | <a·href="#namespaces">Namespaces</a>· | 78 | <a·href="#namespaces">Namespaces</a>··</div> |
79 | <a·href="#define-members">Macros</a>··</div> | ||
80 | ··<div·class="headertitle"><div·class="title">i | 79 | ··<div·class="headertitle"><div·class="title">gridgluevtkwriter.hh·File·Reference</div></div> |
81 | </div><!--header--> | 80 | </div><!--header--> |
82 | <div·class="contents"> | 81 | <div·class="contents"> |
83 | <p> | 82 | <p>Write·all·remote·intersections·to·a·vtk·file·for·debugging.·· |
84 | <a·href="#details">More...</a></p> | 83 | <a·href="#details">More...</a></p> |
85 | <div·class="textblock"><code>#include·< | 84 | <div·class="textblock"><code>#include·<fstream></code><br·/> |
86 | <code>#include·< | 85 | <code>#include·<iomanip></code><br·/> |
86 | <code>#include·<type_traits></code><br·/> | ||
87 | <code>#include·< | 87 | <code>#include·<vector></code><br·/> |
88 | <code>#include·<dune/common/deprecated.hh></code><br·/> | ||
89 | <code>#include·<dune/common/ | 88 | <code>#include·<dune/common/classname.hh></code><br·/> |
90 | <code>#include·<dune/geometry/ | 89 | <code>#include·<dune/geometry/type.hh></code><br·/> |
91 | <code>#include·<dune/geometry/referenceelements.hh></code><br·/> | 90 | <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·/> | 91 | <code>#include·<<a·class="el"·href="a00002_source.html">dune/grid-glue/gridglue.hh</a>></code><br·/> |
93 | </div> | 92 | </div> |
94 | <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> |
95 | <table·class="memberdecls"> | 94 | <table·class="memberdecls"> |
96 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 95 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
97 | Classes</h2></td></tr> | 96 | Classes</h2></td></tr> |
98 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="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 | 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> |
104 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight"> | 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> |
105 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 99 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
106 | </table><table·class="memberdecls"> | 100 | </table><table·class="memberdecls"> |
107 | <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> |
108 | Namespaces</h2></td></tr> | 102 | 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> | 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> |
110 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 104 | <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> | 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> |
112 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 106 | <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="a00014.html#aac752eae6e9ad7d1e576f1fe3f7c8a6b">ONLY_SIMPLEX_INTERSECTIONS</a></td></tr> | ||
117 | <tr·class="separator:aac752eae6e9ad7d1e576f1fe3f7c8a6b"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
118 | </table> | 107 | </table> |
119 | <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> |
109 | <div·class="textblock"><p>Write·all·remote·intersections·to·a·vtk·file·for·debugging.·</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> | ||
135 | </div><!--·contents·--> | 110 | </div></div><!--·contents·--> |
136 | <!--·start·footer·part·--> | 111 | <!--·start·footer·part·--> |
137 | <hr·class="footer"/><address·class="footer"><small> | 112 | <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 | 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 |
139 | </small></address> | 114 | </small></address> |
140 | </body> | 115 | </body> |
141 | </html> | 116 | </html> |
Offset 1, 46 lines modified | Offset 1, 33 lines modified | ||
1 | dune-grid-glue 2.10 | 1 | dune-grid-glue 2.10 |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | ····*·_\x8d_\x8u_\x8n_\x8e | 5 | ····*·_\x8d_\x8u_\x8n_\x8e |
6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e | 6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e |
7 | ····*·_\x8a_\x8d_\x8a_\x8p_\x8t_\x8e_\x8r | 7 | ····*·_\x8a_\x8d_\x8a_\x8p_\x8t_\x8e_\x8r |
8 | _\x8C_\x8l_\x8a_\x8s_\x8s_\x8e_\x8s·|·_\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s | 8 | _\x8C_\x8l_\x8a_\x8s_\x8s_\x8e_\x8s·|·_\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s |
9 | gridgluevtkwriter.hh·File·Reference | ||
10 | Write·all·remote·intersections·to·a·vtk·file·for·debugging.·_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
9 | intersection.hh·File·Reference | ||
10 | Model·of·the·Intersection·concept·provided·by·GridGlue.·_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
11 | #include·<algorithm> | ||
12 | #include·<optional> | ||
13 | #include·<t | 11 | #include·<fstream> |
14 | #include·< | 12 | #include·<iomanip> |
13 | #include·<type_traits> | ||
14 | #include·<vector> | ||
15 | #include·<dune/common/ | 15 | #include·<dune/common/classname.hh> |
16 | #include·<dune/geometry/ | 16 | #include·<dune/geometry/type.hh> |
17 | #include·<dune/geometry/referenceelements.hh> | 17 | #include·<dune/geometry/referenceelements.hh> |
18 | #include·<_\x8d_\x8u_\x8n_\x8e_\x8/_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e_\x8/_\x8g_\x8r_\x8i_\x8d_\x8g_\x8l_\x8u_\x8e_\x8._\x8h_\x8h> | 18 | #include·<_\x8d_\x8u_\x8n_\x8e_\x8/_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e_\x8/_\x8g_\x8r_\x8i_\x8d_\x8g_\x8l_\x8u_\x8e_\x8._\x8h_\x8h> |
19 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 19 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
20 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s | 20 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s |
21 | class· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8V_\x8t_\x8k_\x8W_\x8r_\x8i_\x8t_\x8e_\x8r | ||
22 | ·······Write·remote·intersections·to·a·vtk·file·for·debugging·purposes. | ||
21 | ·class· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8D_\x8a_\x8t_\x8a_\x8<_\x8·_\x8P_\x80_\x8,_\x8·_\x8P_\x81_\x8·_\x8> | ||
22 | ········storage·class·for·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n·related·data·_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
23 | |||
24 | struct· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8T_\x8r_\x8a_\x8i_\x8t_\x8s_\x8<_\x8·_\x8P_\x80_\x8,_\x8·_\x8P_\x81_\x8,_\x8·_\x8i_\x8n_\x8s_\x8i_\x8d_\x8e_\x8,_\x8·_\x8o_\x8u_\x8t_\x8s_\x8i_\x8d_\x8e_\x8·_\x8> | ||
25 | |||
26 | ·class· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8<_\x8·_\x8P_\x80_\x8,_\x8·_\x8P_\x81_\x8,_\x8·_\x8I_\x8,_\x8·_\x8O_\x8·_\x8> | ||
27 | ········The·intersection·of·two·entities·of·the·two·patches·of·a·_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e. | ||
28 | ········ | 23 | ········_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. |
29 | 24 | ||
30 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s | 25 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s |
31 | namespace· ·_\x8D_\x8u_\x8n_\x8e | 26 | namespace· ·_\x8D_\x8u_\x8n_\x8e |
32 | 27 | ||
33 | namespace· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e | 28 | namespace· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e |
34 | 29 | ||
35 | M\x8Ma\x8ac\x8cr\x8ro\x8os\x8s | ||
36 | #define ·_\x8O_\x8N_\x8L_\x8Y_\x8__\x8S_\x8I_\x8M_\x8P_\x8L_\x8E_\x8X_\x8__\x8I_\x8N_\x8T_\x8E_\x8R_\x8S_\x8E_\x8C_\x8T_\x8I_\x8O_\x8N_\x8S | ||
37 | |||
38 | *\x8**\x8**\x8**\x8**\x8*·D\x8De\x8et\x8ta\x8ai\x8il\x8le\x8ed\x8d·D\x8De\x8es\x8sc\x8cr\x8ri\x8ip\x8pt\x8ti\x8io\x8on\x8n·*\x8**\x8**\x8**\x8**\x8* | 30 | *\x8**\x8**\x8**\x8**\x8*·D\x8De\x8et\x8ta\x8ai\x8il\x8le\x8ed\x8d·D\x8De\x8es\x8sc\x8cr\x8ri\x8ip\x8pt\x8ti\x8io\x8on\x8n·*\x8**\x8**\x8**\x8**\x8* |
31 | Write·all·remote·intersections·to·a·vtk·file·for·debugging. | ||
39 | Model·of·the·Intersection·concept·provided·by·GridGlue. | ||
40 | ··Author | ||
41 | ······Christian·Engwer | ||
42 | *\x8**\x8**\x8**\x8**\x8*·M\x8Ma\x8ac\x8cr\x8ro\x8o·D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·D\x8Do\x8oc\x8cu\x8um\x8me\x8en\x8nt\x8ta\x8at\x8ti\x8io\x8on\x8n·*\x8**\x8**\x8**\x8**\x8* | ||
43 | *\x8**\x8**\x8**\x8**\x8*·_\x8?\x8◆_\x8?\x8 O\x8ON\x8NL\x8LY\x8Y_\x8_S\x8SI\x8IM\x8MP\x8PL\x8LE\x8EX\x8X_\x8_I\x8IN\x8NT\x8TE\x8ER\x8RS\x8SE\x8EC\x8CT\x8TI\x8IO\x8ON\x8NS\x8S·*\x8**\x8**\x8**\x8**\x8* | ||
44 | #define·ONLY_SIMPLEX_INTERSECTIONS | ||
45 | =============================================================================== | 32 | =============================================================================== |
46 | ·····Generated·by _\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]·1.9.8 | 33 | ·····Generated·by _\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]·1.9.8 |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-grid-glue:·i | 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, 569 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">i | 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">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 83 | <a·href="a00014.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><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> | ||
87 | <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> |
88 | <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> |
89 | <div·class="line"><a·id="l000 | 99 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</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> | ||
99 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div> | 100 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div> |
100 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno"> | 101 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#include·<fstream></span></div> |
101 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div> | 102 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#include·<iomanip></span></div> |
102 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class=" | 103 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#include·<type_traits></span></div> |
103 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span> | 104 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="preprocessor">#include·<vector></span></div> |
104 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div> | 105 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div> |
105 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span> | 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> |
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="l0003 | 107 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·<dune/geometry/type.hh></span></div> |
108 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#include·<dune/geometry/referenceelements.hh></span></div> | ||
108 | <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> |
109 | <div·class="line"><a·id="l0003 | 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> | ||
110 | <div·class="foldopen"·id="foldopen000 | 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> | ||
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> | ||
115 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span> | 117 | <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> | ||
117 | <div·class="line"><a·id="l0004 | 118 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div> |
118 | <div·class="line"><a·id="l0004 | 119 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>··<span·class="keyword">template</span>·<<span·class="keyword">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> | ||
119 | <div·class="line"><a·id="l0004 | 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> | ||
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> | ||
124 | <div·class="line"><a·id="l0005 | 123 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</div> |
125 | <div·class="line"><a·id="l0005 | 124 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>····std::ofstream·fgrid;</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 | 125 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div> |
126 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>····fgrid.open(filename.c_str());</div> | ||
127 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div> | ||
128 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>····<span·class="keyword">using·</span>GridView·=·<span·class="keyword">typename</span>·Glue::template·GridView<side>;</div> | ||
129 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>····<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01038.html">Extractor</a>·=·<span·class="keyword">typename</span>·Glue::template·GridPatch<side>;</div> | ||
130 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div> | ||
128 | <div·class="line"><a·id="l0005 | 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> |
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="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="l0006 | 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> | ||
134 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div> | 135 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div> |
136 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>····<span·class="comment">//·coordinates·have·to·be·in·R^3·in·the·VTK·format</span></div> | ||
137 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>····std::string·coordinatePadding;</div> | ||
135 | <div·class="line"><a·id="l0006 | 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> | ||
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="l0006 | 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> | ||
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="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="l0007 | 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> | ||
144 | <div·class="line"><a·id="l0007 | 147 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</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="l0007 | 148 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>····fgrid·<<·((patchDim==3)·?·<span·class="stringliteral">"DATASET·UNSTRUCTURED_GRID"</span>·:·<span·class="stringliteral">"DATASET·POLYDATA"</span>)·<<·std::endl;</div> |
149 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>····fgrid·<<·<span·class="stringliteral">"POINTS·"</span>·<<·coords.size()·<<·<span·class="stringliteral">"·"</span>·<<·Dune::className<ctype>()·<<·std::endl;</div> | ||
147 | <div·class="line"><a·id="l0007 | 150 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>·</div> |
148 | <div·class="line"><a·id="l0007 | 151 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>····<span·class="keywordflow">for</span>·(<span·class="keywordtype">size_t</span>·i=0;·i<coords.size();·i++)</div> |
152 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>······fgrid·<<·coords[i]·<<·coordinatePadding·<<·std::endl;</div> | ||
149 | <div·class="line"><a·id="l000 | 153 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>·</div> |
150 | <div·class="line"><a·id="l0008 | 154 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>····fgrid·<<·std::endl;</div> |
Max diff block lines reached; 128958/163059 bytes (79.09%) of diff not shown. |
Offset 1, 743 lines modified | Offset 1, 349 lines modified | ||
1 | dune-grid-glue 2.10 | 1 | dune-grid-glue 2.10 |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | ····*·_\x8d_\x8u_\x8n_\x8e | 5 | ····*·_\x8d_\x8u_\x8n_\x8e |
6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e | 6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e |
7 | ····*·_\x8a_\x8d_\x8a_\x8p_\x8t_\x8e_\x8r | 7 | ····*·_\x8a_\x8d_\x8a_\x8p_\x8t_\x8e_\x8r |
8 | i | 8 | gridgluevtkwriter.hh |
9 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 9 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: | 11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: |
12 | 3//·SPDX-FileCopyrightInfo:·Copyright·Â©·DUNE·Project·contributors,·see·file | 12 | 3//·SPDX-FileCopyrightInfo:·Copyright·Â©·DUNE·Project·contributors,·see·file |
13 | LICENSE.md·in·module·root | 13 | LICENSE.md·in·module·root |
14 | 4//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with- | 14 | 4//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with- |
15 | dune-grid-glue-exception | 15 | dune-grid-glue-exception |
16 | 16 | 5/* | |
17 | 6·*·Filename:·GridGlueVtkWriter.hh | ||
18 | 7·*·Version:·1.0 | ||
19 | 8·*·Created·on:·Mar·5,·2009 | ||
20 | 9·*·Author:·Gerrit·Buse | ||
21 | 10·*·--------------------------------- | ||
22 | 11·*·Project:·dune-grid-glue | ||
23 | 12·*·Description:·Class·thought·to·make·graphical·debugging·of·couplings | ||
24 | easier. | ||
25 | 13·* | ||
26 | 14·*/ | ||
27 | 20#ifndef·DUNE_GRIDGLUE_ADAPTER_GRIDGLUEVTKWRITER_HH | ||
17 | 28 | 21#define·DUNE_GRIDGLUE_ADAPTER_GRIDGLUEVTKWRITER_HH | |
29 | 22 | ||
18 | 13 | ||
19 | 14#include·<algorithm> | ||
20 | 15#include·<optional> | ||
21 | 16#include·<tuple> | ||
22 | 17 | ||
23 | 18#include·<dune/common/deprecated.hh> | ||
24 | 19#include·<dune/common/version.hh> | ||
25 | 20#include·<dune/geometry/affinegeometry.hh> | ||
26 | 21#include·<dune/geometry/referenceelements.hh> | ||
27 | 22#include·<_\x8d_\x8u_\x8n_\x8e_\x8/_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e_\x8/_\x8g_\x8r_\x8i_\x8d_\x8g_\x8l_\x8u_\x8e_\x8._\x8h_\x8h> | ||
28 | 23 | 30 | 23 |
29 | _\x82_\x84#define·ONLY_SIMPLEX_INTERSECTIONS | ||
30 | 25 | ||
31 | 26namespace·_\x8D_\x8u_\x8n_\x8e·{ | ||
32 | 2 | 31 | 24#include·<fstream> |
32 | 25#include·<iomanip> | ||
33 | 26#include·<type_traits> | ||
34 | 27#include·<vector> | ||
33 | 28 | 35 | 28 |
34 | 29·//·forward·declaration | ||
35 | 30·template<typename·P0,·typename·P1> | ||
36 | 36 | 29#include·<dune/common/classname.hh> | |
37 | 30#include·<dune/geometry/type.hh> | ||
38 | 31#include·<dune/geometry/referenceelements.hh> | ||
37 | 32 | 39 | 32 |
38 | 36·template<typename·P0,·typename·P1> | ||
39 | _\x83_\x87·class·_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8D_\x8a_\x8t_\x8a | ||
40 | 38·{ | ||
41 | 39·public: | ||
42 | 40 | 33#include·<_.d_.u_.n_.e_./_.g_.r_.i_.d_.-_.g_.l_.u_.e_./_.g_.r_.i_.d_.g_.l_.u_.e_.._.h_.h> | |
41 | 34 | ||
42 | 35namespace·_\x8D_\x8u_\x8n_\x8e·{ | ||
43 | 36namespace·GridGlue·{ | ||
44 | 37 | ||
45 | _\x84_\x80class·_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8V_\x8t_\x8k_\x8W_\x8r_\x8i_\x8t_\x8e_\x8r | ||
43 | 41 | 46 | 41{ |
47 | 42 | ||
48 | 46·template·<class·Glue,·int·side> | ||
49 | 47·static·void·writeExtractedPart(const·Glue&·glue,·const·std::string& | ||
50 | filename) | ||
51 | 48·{ | ||
52 | 49·static_assert((side==0·||·side==1),·"'side'·can·only·be·0·or·1"); | ||
53 | 50 | ||
54 | 51·std::ofstream·fgrid; | ||
55 | 52 | ||
56 | 53·fgrid.open(filename.c_str()); | ||
57 | 54 | ||
58 | 55·using·GridView·=·typename·Glue::template·GridView<side>; | ||
59 | 56·using·_\x8E_\x8x_\x8t_\x8r_\x8a_\x8c_\x8t_\x8o_\x8r·=·typename·Glue::template·GridPatch<side>; | ||
60 | 57 | ||
61 | 58·typedef·typename·GridView::ctype·ctype; | ||
44 | _\x84_\x82·typedef·typename·_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8I_\x8n_\x8d_\x8e_\x8x_\x8T_\x8y_\x8p_\x8e·_\x8I_\x8n_\x8d_\x8e_\x8x_\x8T_\x8y_\x8p_\x8e; | ||
45 | 43 | ||
46 | _\x84_\x85·static·constexpr·int·_\x8c_\x8o_\x8o_\x8r_\x8d_\x8d_\x8i_\x8m·=·_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8d_\x8i_\x8m_\x8w_\x8o_\x8r_\x8l_\x8d; | ||
47 | 46 | ||
48 | 47·private: | ||
49 | 48·//·intermediate·quantities | ||
50 | 49·template<int·side> | ||
51 | 50·static·constexpr·int·dim()·{·return·GridGlue::template·GridView<side>:: | ||
52 | Grid::dimension·-·GridGlue::template·GridPatch<side>::codim;·} | ||
53 | 51 | ||
54 | 52·public: | ||
55 | _\x85_\x84·static·constexpr·int·_\x8m_\x8y_\x8d_\x8i_\x8m·=·dim<0>()·<·dim<1>()·?·dim<0>()·:·dim<1>(); | ||
56 | 55 | ||
57 | 56·template<int·side> | ||
58 | _\x85_\x87·using·_\x8G_\x8r_\x8i_\x8d_\x8L_\x8o_\x8c_\x8a_\x8l_\x8G_\x8e_\x8o_\x8m_\x8e_\x8t_\x8r_\x8y·=·AffineGeometry< | ||
59 | 58·typename·GridGlue::template·GridView<side>::ctype,·_\x8m_\x8y_\x8d_\x8i_\x8m,·GridGlue::template | ||
60 | GridView<side>::dimension>; | ||
61 | 59 | 62 | 59 |
63 | 60·const·int·domdimw·=·GridView::dimensionworld; | ||
64 | 61·const·int·patchDim·=·_\x8E_\x8x_\x8t_\x8r_\x8a_\x8c_\x8t_\x8o_\x8r_\x8:_\x8:_\x8d_\x8i_\x8m·-·_\x8E_\x8x_\x8t_\x8r_\x8a_\x8c_\x8t_\x8o_\x8r_\x8:_\x8:_\x8c_\x8o_\x8d_\x8i_\x8m; | ||
62 | _\x86_\x80·using·_\x8G_\x8r_\x8i_\x8d_\x80_\x8L_\x8o_\x8c_\x8a_\x8l_\x8G_\x8e_\x8o_\x8m_\x8e_\x8t_\x8r_\x8y·[[deprecated("please·use·GridLocalGeometry<0> | ||
63 | instead")]]·=·_\x8G_\x8r_\x8i_\x8d_\x8L_\x8o_\x8c_\x8a_\x8l_\x8G_\x8e_\x8o_\x8m_\x8e_\x8t_\x8r_\x8y_\x8<_\x80_\x8>; | ||
64 | _\x86_\x81·using·_\x8G_\x8r_\x8i_\x8d_\x81_\x8L_\x8o_\x8c_\x8a_\x8l_\x8G_\x8e_\x8o_\x8m_\x8e_\x8t_\x8r_\x8y·[[deprecated("please·use·GridLocalGeometry<1> | ||
65 | instead")]]·=·_\x8G_\x8r_\x8i_\x8d_\x8L_\x8o_\x8c_\x8a_\x8l_\x8G_\x8e_\x8o_\x8m_\x8e_\x8t_\x8r_\x8y_\x8<_\x81_\x8>; | ||
66 | 62 | 65 | 62 |
66 | 63·//·coordinates·have·to·be·in·R^3·in·the·VTK·format | ||
67 | 64·std::string·coordinatePadding; | ||
68 | 65·for·(int·i=domdimw;·i<3;·i++) | ||
69 | 66·coordinatePadding·+=·"·0"; | ||
70 | 67 | ||
71 | 68·fgrid·<<·"#·vtk·DataFile·Version·2.0\nFilename:·"·<<·filename·<<·"\nASCII" | ||
72 | <<·std::endl; | ||
67 | 63·template<int·side> | ||
68 | _\x86_\x84·using·_\x8G_\x8r_\x8i_\x8d_\x8G_\x8e_\x8o_\x8m_\x8e_\x8t_\x8r_\x8y·=·AffineGeometry< | ||
69 | 65·typename·GridGlue::template·GridView<side>::ctype,·_\x8m_\x8y_\x8d_\x8i_\x8m,·GridGlue::template | ||
70 | GridView<side>::dimensionworld>; | ||
71 | 66 | ||
72 | _\x86_\x87·using·_\x8G_\x8r_\x8i_\x8d_\x80_\x8G_\x8e_\x8o_\x8m_\x8e_\x8t_\x8r_\x8y·[[deprecated("please·use·GridGeometry<0>·instead")]]·= | ||
73 | _\x8G_\x8r_\x8i_\x8d_\x8G_\x8e_\x8o_\x8m_\x8e_\x8t_\x8r_\x8y_\x8<_\x80_\x8>; | ||
74 | _\x86_\x88·using·_\x8G_\x8r_\x8i_\x8d_\x81_\x8G_\x8e_\x8o_\x8m_\x8e_\x8t_\x8r_\x8y·[[deprecated("please·use·GridGeometry<1>·instead")]]·= | ||
75 | _\x8G_\x8r_\x8i_\x8d_\x8G_\x8e_\x8o_\x8m_\x8e_\x8t_\x8r_\x8y_\x8<_\x81_\x8>; | ||
76 | 69 | 73 | 69 |
77 | 70·template<int·side> | ||
78 | _\x87_\x81·using·_\x8G_\x8r_\x8i_\x8d_\x8I_\x8n_\x8d_\x8e_\x8x_\x8T_\x8y_\x8p_\x8e·=·typename·GridGlue::template·GridView<side>::IndexSet:: | ||
79 | IndexType; | ||
80 | 72 | ||
81 | _\x87_\x83·using·_\x8G_\x8r_\x8i_\x8d_\x80_\x8I_\x8n_\x8d_\x8e_\x8x_\x8T_\x8y_\x8p_\x8e·[[deprecated("please·use·GridIndexType<0>·instead")]]·= | ||
Max diff block lines reached; 42887/50360 bytes (85.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:·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 72, 46 lines modified | Offset 72, 39 lines modified | ||
72 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_1b444a177590012656060e8a0bca20fc.html">adapter</a></li>··</ul> | 72 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_1b444a177590012656060e8a0bca20fc.html">adapter</a></li>··</ul> |
73 | </div> | 73 | </div> |
74 | </div><!--·top·--> | 74 | </div><!--·top·--> |
75 | <div·class="header"> | 75 | <div·class="header"> |
76 | ··<div·class="summary"> | 76 | ··<div·class="summary"> |
77 | <a·href="#nested-classes">Classes</a>·| | 77 | <a·href="#nested-classes">Classes</a>·| |
78 | <a·href="#namespaces">Namespaces</a>··</div> | 78 | <a·href="#namespaces">Namespaces</a>··</div> |
79 | ··<div·class="headertitle"><div·class="title"> | 79 | ··<div·class="headertitle"><div·class="title">intersectioniterator.hh·File·Reference</div></div> |
80 | </div><!--header--> | 80 | </div><!--header--> |
81 | <div·class="contents"> | 81 | <div·class="contents"> |
82 | <p> | 82 | <p>Implement·iterators·over·GridGlue·intersections.·· |
83 | <a·href="#details">More...</a></p> | 83 | <a·href="#details">More...</a></p> |
84 | <div·class="textblock"><code>#include·<fstream></code><br·/> | ||
85 | <code>#include·<iomanip></code><br·/> | ||
86 | <code>#include·<type_traits></code><br·/> | ||
87 | <code>#include·<vector></code><br·/> | ||
88 | <code>#include·<dune/common/classname.hh></code><br·/> | ||
89 | <code>#include·<dune/geometry/type.hh></code><br·/> | ||
90 | <code>#include·<dune/geometry/referenceelements.hh></code><br·/> | ||
91 | <code>#include·<<a·class="el"·href="a00002_source.html">dune/grid-glue/gridglue.hh</a>></code><br·/> | 84 | <div·class="textblock"><code>#include·<<a·class="el"·href="a00002_source.html">dune/grid-glue/gridglue.hh</a>></code><br·/> |
92 | </div> | 85 | </div> |
93 | <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> |
94 | <table·class="memberdecls"> | 87 | <table·class="memberdecls"> |
95 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 88 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
96 | Classes</h2></td></tr> | 89 | 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="a009 | 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> |
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> | ||
99 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 91 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
100 | </table><table·class="memberdecls"> | 92 | </table><table·class="memberdecls"> |
101 | <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> |
102 | Namespaces</h2></td></tr> | 94 | 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> | 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> |
104 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 96 | <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> | 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> |
106 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 98 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
107 | </table> | 99 | </table> |
108 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> | 100 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> |
109 | <div·class="textblock"><p> | 101 | <div·class="textblock"><p>Implement·iterators·over·GridGlue·intersections.·</p> |
102 | <dl·class="section·author"><dt>Author</dt><dd>Christian·Engwer·</dd></dl> | ||
110 | </div></div><!--·contents·--> | 103 | </div></div><!--·contents·--> |
111 | <!--·start·footer·part·--> | 104 | <!--·start·footer·part·--> |
112 | <hr·class="footer"/><address·class="footer"><small> | 105 | <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 | 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 |
114 | </small></address> | 107 | </small></address> |
115 | </body> | 108 | </body> |
116 | </html> | 109 | </html> |
Offset 2, 32 lines modified | Offset 2, 25 lines modified | ||
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | ····*·_\x8d_\x8u_\x8n_\x8e | 5 | ····*·_\x8d_\x8u_\x8n_\x8e |
6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e | 6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e |
7 | ····*·_\x8a_\x8d_\x8a_\x8p_\x8t_\x8e_\x8r | 7 | ····*·_\x8a_\x8d_\x8a_\x8p_\x8t_\x8e_\x8r |
8 | _\x8C_\x8l_\x8a_\x8s_\x8s_\x8e_\x8s·|·_\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s | 8 | _\x8C_\x8l_\x8a_\x8s_\x8s_\x8e_\x8s·|·_\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s |
9 | intersectioniterator.hh·File·Reference | ||
10 | Implement·iterators·over·GridGlue·intersections.·_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
9 | gridgluevtkwriter.hh·File·Reference | ||
10 | Write·all·remote·intersections·to·a·vtk·file·for·debugging.·_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
11 | #include·<fstream> | ||
12 | #include·<iomanip> | ||
13 | #include·<type_traits> | ||
14 | #include·<vector> | ||
15 | #include·<dune/common/classname.hh> | ||
16 | #include·<dune/geometry/type.hh> | ||
17 | #include·<dune/geometry/referenceelements.hh> | ||
18 | #include·<_\x8d_\x8u_\x8n_\x8e_\x8/_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e_\x8/_\x8g_\x8r_\x8i_\x8d_\x8g_\x8l_\x8u_\x8e_\x8._\x8h_\x8h> | 11 | #include·<_\x8d_\x8u_\x8n_\x8e_\x8/_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e_\x8/_\x8g_\x8r_\x8i_\x8d_\x8g_\x8l_\x8u_\x8e_\x8._\x8h_\x8h> |
19 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 12 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
20 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s | 13 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s |
14 | class· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8I_\x8t_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8<_\x8·_\x8P_\x80_\x8,_\x8·_\x8P_\x81_\x8,_\x8·_\x8i_\x8n_\x8s_\x8i_\x8d_\x8e_\x8,_\x8·_\x8o_\x8u_\x8t_\x8s_\x8i_\x8d_\x8e_\x8·_\x8> | ||
21 | class· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8V_\x8t_\x8k_\x8W_\x8r_\x8i_\x8t_\x8e_\x8r | ||
22 | ·······Write·remote·intersections·to·a·vtk·file·for·debugging·purposes. | ||
23 | ········_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
24 | 15 | ||
25 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s | 16 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s |
26 | namespace· ·_\x8D_\x8u_\x8n_\x8e | 17 | namespace· ·_\x8D_\x8u_\x8n_\x8e |
27 | 18 | ||
28 | namespace· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e | 19 | namespace· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e |
29 | 20 | ||
30 | *\x8**\x8**\x8**\x8**\x8*·D\x8De\x8et\x8ta\x8ai\x8il\x8le\x8ed\x8d·D\x8De\x8es\x8sc\x8cr\x8ri\x8ip\x8pt\x8ti\x8io\x8on\x8n·*\x8**\x8**\x8**\x8**\x8* | 21 | *\x8**\x8**\x8**\x8**\x8*·D\x8De\x8et\x8ta\x8ai\x8il\x8le\x8ed\x8d·D\x8De\x8es\x8sc\x8cr\x8ri\x8ip\x8pt\x8ti\x8io\x8on\x8n·*\x8**\x8**\x8**\x8**\x8* |
31 | 22 | Implement·iterators·over·GridGlue·intersections. | |
23 | ··Author | ||
24 | ······Christian·Engwer | ||
32 | =============================================================================== | 25 | =============================================================================== |
33 | ·····Generated·by _\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]·1.9.8 | 26 | ·····Generated·by _\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]·1.9.8 |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-grid-glue:· | 8 | <title>dune-grid-glue:·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, 318 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">/*</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="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#ifndef·DUNE_GRIDGLUE_ADAPTER_INTERSECTIONITERATOR_HH</span></div> |
98 | <div·class="line"><a·id="l000 | 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> |
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>·</div> | ||
101 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#include·<fstream></span></div> | ||
102 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#include·<iomanip></span></div> | ||
103 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#include·<type_traits></span></div> | ||
104 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="preprocessor">#include·<vector></span></div> | ||
105 | <div·class="line"><a·id="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/common/classname.hh></span></div> | ||
107 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·<dune/geometry/type.hh></span></div> | ||
108 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#include·<dune/geometry/referenceelements.hh></span></div> | ||
109 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div> | ||
110 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="preprocessor">#include·<<a·class="code"·href="a00002.html">dune/grid-glue/gridglue.hh</a>></span></div> | ||
111 | <div·class="line"><a·id="l000 | 89 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div> |
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> | ||
91 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div> | ||
112 | <div·class="line"><a·id="l000 | 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> |
113 | <div·class="line"><a·id="l000 | 93 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>··<span·class="keyword">namespace·</span>GridGlue·{</div> |
114 | <div·class="line"><a·id="l000 | 94 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> |
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</span>e,·<span·class="keywordtype">int</span>·outs<span·class="keywordtype">id</span>e></div> | ||
115 | <div·class="foldopen"·id="foldopen000 | 96 | <div·class="foldopen"·id="foldopen00022"·data-start="{"·data-end="};"> |
116 | <div·class="line"><a·id="l000 | 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> | ||
117 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>{</div> | ||
118 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div> | ||
119 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>··<span·class="keyword">template</span>·<<span·class="keyword">class</span>·Glue,·<span·class="keywordtype">int</span>·s<span·class="keywordtype">id</span>e></div> | ||
120 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>··<span·class="keyword">static</span>·<span·class="keywordtype">void</span>·writeExtractedPart(<span·class="keyword">const</span>·Glue&·glue,·<span·class="keyword">const</span>·std::string&·filename)</div> | ||
121 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>··{</div> | ||
122 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>····<span·class="keyword">static_assert</span>((side==0·||·side==1),·<span·class="stringliteral">"'side'·can·only·be·0·or·1"</span>);</div> | ||
123 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</div> | ||
124 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>····std::ofstream·fgrid;</div> | ||
125 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div> | ||
126 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>····fgrid.open(filename.c_str());</div> | ||
127 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div> | ||
128 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>····<span·class="keyword">using·</span>GridView·=·<span·class="keyword">typename</span>·Glue::template·GridView<side>;</div> | ||
129 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>····<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01038.html">Extractor</a>·=·<span·class="keyword">typename</span>·Glue::template·GridPatch<side>;</div> | ||
130 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div> | ||
131 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>····<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·GridView::ctype·ctype;</div> | ||
132 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>·</div> | ||
133 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>····<span·class="keyword">const</span>·<span·class="keywordtype">int</span>·domdimw·=·GridView::dimensionworld;</div> | ||
134 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>····<span·class="keyword">const</span>·<span·class="keywordtype">int</span>·patchDim·=·<a·class="code·hl_variable"·href="a01038.html#aeeab086dacf44e778ad8ae2c6de7d4f6">Extractor::dim</a>·-·<a·class="code·hl_variable"·href="a01038.html#a81546d6fc243df2658db228c02693832">Extractor::codim</a>;</div> | ||
135 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div> | ||
136 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>····<span·class="comment">//·coordinates·have·to·be·in·R^3·in·the·VTK·format</span></div> | ||
137 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>····std::string·coordinatePadding;</div> | ||
138 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>····<span·class="keywordflow">for</span>·(<span·class="keywordtype">int</span>·i=domdimw;·i<3;·i++)</div> | ||
139 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>······coordinatePadding·+=·<span·class="stringliteral">"·0"</span>;</div> | ||
140 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div> | ||
141 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>····fgrid·<<·<span·class="stringliteral">"#·vtk·DataFile·Version·2.0\nFilename:·"</span>·<<·filename·<<·<span·class="stringliteral">"\nASCII"</span>·<<·std::endl;</div> | ||
142 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div> | ||
143 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>····<span·class="comment">//·WRITE·POINTS</span></div> | ||
144 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>····<span·class="comment">//·----------------</span></div> | ||
145 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>····std::vector<typename·Extractor::Coords>·coords;</div> | ||
146 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>····glue.template·patch<side>().<a·class="code·hl_function"·href="a01038.html#ac1f9978b0eff10be65ba1b5cac207e36">getCoords</a>(coords);</div> | ||
147 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>·</div> | ||
148 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>····fgrid·<<·((patchDim==3)·?·<span·class="stringliteral">"DATASET·UNSTRUCTURED_GRID"</span>·:·<span·class="stringliteral">"DATASET·POLYDATA"</span>)·<<·std::endl;</div> | ||
149 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>····fgrid·<<·<span·class="stringliteral">"POINTS·"</span>·<<·coords.size()·<<·<span·class="stringliteral">"·"</span>·<<·Dune::className<ctype>()·<<·std::endl;</div> | ||
150 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>·</div> | ||
151 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>····<span·class="keywordflow">for</span>·(<span·class="keywordtype">size_t</span>·i=0;·i<coords.size();·i++)</div> | ||
152 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>······fgrid·<<·coords[i]·<<·coordinatePadding·<<·std::endl;</div> | ||
153 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>·</div> | ||
154 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>····fgrid·<<·std::endl;</div> | ||
155 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>·</div> | ||
156 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>····<span·class="comment">//·WRITE·POLYGONS</span></div> | ||
157 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>····<span·class="comment">//·----------------</span></div> | ||
158 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>·</div> | ||
159 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>····std::vector<typename·Extractor::VertexVector>·faces;</div> | ||
160 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>····std::vector<Dune::GeometryType>·geometryTypes;</div> | ||
161 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>····glue.template·patch<side>().getFaces(faces);</div> | ||
162 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>····glue.template·patch<side>().getGeometryTypes(geometryTypes);</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>····<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·faceCornerCount·=·0;</div> | ||
165 | <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>····<span·class="keywordflow">for</span>·(<span·class="keywordtype">size_t</span>·i=0;·i<faces.size();·i++)</div> | ||
166 | <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>······faceCornerCount·+=·faces[i].size();</div> | ||
167 | <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>·</div> | ||
168 | <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>····fgrid·<<·((patchDim==3)·?·<span·class="stringliteral">"CELLS·"</span>·:·<span·class="stringliteral">"POLYGONS·"</span>)</div> | ||
169 | <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>··········<<·geometryTypes.size()·<<·<span·class="stringliteral">"·"</span>·<<·geometryTypes.size()·+·faceCornerCount·<<·std::endl;</div> | ||
170 | <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>·</div> | ||
171 | <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>····<span·class="keywordflow">for</span>·(<span·class="keywordtype">size_t</span>·i=0;·i<faces.size();·i++)·{</div> | ||
172 | <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>·</div> | ||
173 | <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>······fgrid·<<·faces[i].size();</div> | ||
174 | <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>·</div> | ||
175 | <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>······<span·class="comment">//·vtk·expects·the·vertices·to·by·cyclically·ordered</span></div> | ||
176 | <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>······<span·class="comment">//·therefore·unfortunately·we·have·to·deal·with·several·element·types·on·a·case-by-case·basis</span></div> | ||
177 | <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>······<span·class="keywordflow">if</span>·(geometryTypes[i].isSimplex())·{</div> | ||
178 | <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>········<span·class="keywordflow">for</span>·(<span·class="keywordtype">int</span>·j=0;·j<patchDim+1;·j++)</div> | ||
179 | <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>··········fgrid·<<·<span·class="stringliteral">"·"</span>·<<·faces[i][j];</div> | ||
Max diff block lines reached; 5814/63281 bytes (9.19%) of diff not shown. |
Offset 1, 349 lines modified | Offset 1, 99 lines modified | ||
1 | dune-grid-glue 2.10 | 1 | dune-grid-glue 2.10 |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | ····*·_\x8d_\x8u_\x8n_\x8e | 5 | ····*·_\x8d_\x8u_\x8n_\x8e |
6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e | 6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e |
7 | ····*·_\x8a_\x8d_\x8a_\x8p_\x8t_\x8e_\x8r | 7 | ····*·_\x8a_\x8d_\x8a_\x8p_\x8t_\x8e_\x8r |
8 | 8 | intersectioniterator.hh | |
9 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 9 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: | 11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: |
12 | 3//·SPDX-FileCopyrightInfo:·Copyright·Â©·DUNE·Project·contributors,·see·file | 12 | 3//·SPDX-FileCopyrightInfo:·Copyright·Â©·DUNE·Project·contributors,·see·file |
13 | LICENSE.md·in·module·root | 13 | LICENSE.md·in·module·root |
14 | 4//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with- | 14 | 4//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with- |
15 | dune-grid-glue-exception | 15 | dune-grid-glue-exception |
16 | 12#ifndef·DUNE_GRIDGLUE_ADAPTER_INTERSECTIONITERATOR_HH | ||
17 | 13#define·DUNE_GRIDGLUE_ADAPTER_INTERSECTIONITERATOR_HH | ||
18 | 14 | ||
16 | 5/* | ||
17 | 6·*·Filename:·GridGlueVtkWriter.hh | ||
18 | 7·*·Version:·1.0 | ||
19 | 8·*·Created·on:·Mar·5,·2009 | ||
20 | 9·*·Author:·Gerrit·Buse | ||
21 | 10·*·--------------------------------- | ||
22 | 11·*·Project:·dune-grid-glue | ||
23 | 12·*·Description:·Class·thought·to·make·graphical·debugging·of·couplings | ||
24 | easier. | ||
25 | 13·* | ||
26 | 14·*/ | ||
27 | 20#ifndef·DUNE_GRIDGLUE_ADAPTER_GRIDGLUEVTKWRITER_HH | ||
28 | 21#define·DUNE_GRIDGLUE_ADAPTER_GRIDGLUEVTKWRITER_HH | ||
29 | 22 | ||
30 | 23 | ||
31 | 24#include·<fstream> | ||
32 | 25#include·<iomanip> | ||
33 | 26#include·<type_traits> | ||
34 | 27#include·<vector> | ||
35 | 28 | ||
36 | 29#include·<dune/common/classname.hh> | ||
37 | 30#include·<dune/geometry/type.hh> | ||
38 | 31#include·<dune/geometry/referenceelements.hh> | ||
39 | 32 | ||
40 | 19 | 15#include·<_\x8d_\x8u_\x8n_\x8e_\x8/_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e_\x8/_\x8g_\x8r_\x8i_\x8d_\x8g_\x8l_\x8u_\x8e_\x8._\x8h_\x8h> | |
41 | 20 | 16 | |
42 | 21 | 17namespace·_\x8D_\x8u_\x8n_\x8e·{ | |
43 | 22 | 18·namespace·GridGlue·{ | |
44 | 37 | ||
45 | _\x84_\x80class·_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8V_\x8t_\x8k_\x8W_\x8r_\x8i_\x8t_\x8e_\x8r | ||
46 | 41{ | ||
47 | 42 | ||
48 | 46·template·<class·Glue,·int·side> | ||
49 | 47·static·void·writeExtractedPart(const·Glue&·glue,·const·std::string& | ||
50 | filename) | ||
51 | 48·{ | ||
52 | 49·static_assert((side==0·||·side==1),·"'side'·can·only·be·0·or·1"); | ||
53 | 50 | ||
54 | 51·std::ofstream·fgrid; | ||
55 | 52 | ||
56 | 53·fgrid.open(filename.c_str()); | ||
57 | 54 | ||
58 | 55·using·GridView·=·typename·Glue::template·GridView<side>; | ||
59 | 56·using·_\x8E_\x8x_\x8t_\x8r_\x8a_\x8c_\x8t_\x8o_\x8r·=·typename·Glue::template·GridPatch<side>; | ||
60 | 57 | ||
61 | 58·typedef·typename·GridView::ctype·ctype; | ||
62 | 59 | ||
63 | 60·const·int·domdimw·=·GridView::dimensionworld; | ||
64 | 61·const·int·patchDim·=·_\x8E_\x8x_\x8t_\x8r_\x8a_\x8c_\x8t_\x8o_\x8r_\x8:_\x8:_\x8d_\x8i_\x8m·-·_\x8E_\x8x_\x8t_\x8r_\x8a_\x8c_\x8t_\x8o_\x8r_\x8:_\x8:_\x8c_\x8o_\x8d_\x8i_\x8m; | ||
65 | 62 | ||
66 | 63·//·coordinates·have·to·be·in·R^3·in·the·VTK·format | ||
67 | 64·std::string·coordinatePadding; | ||
68 | 65·for·(int·i=domdimw;·i<3;·i++) | ||
69 | 66·coordinatePadding·+=·"·0"; | ||
70 | 67 | ||
71 | 68·fgrid·<<·"#·vtk·DataFile·Version·2.0\nFilename:·"·<<·filename·<<·"\nASCII" | ||
72 | <<·std::endl; | ||
73 | 69 | ||
74 | 70·//·WRITE·POINTS | ||
75 | 71·//·---------------- | ||
76 | 72·std::vector<typename·Extractor::Coords>·coords; | ||
77 | 73·glue.template·patch<side>()._\x8g_\x8e_\x8t_\x8C_\x8o_\x8o_\x8r_\x8d_\x8s(coords); | ||
78 | 74 | ||
79 | 75·fgrid·<<·((patchDim==3)·?·"DATASET·UNSTRUCTURED_GRID"·:·"DATASET·POLYDATA") | ||
80 | <<·std::endl; | ||
81 | 76·fgrid·<<·"POINTS·"·<<·coords.size()·<<·"·"·<<·Dune::className<ctype>()·<< | ||
82 | std::endl; | ||
83 | 77 | ||
84 | 78·for·(size_t·i=0;·i<coords.size();·i++) | ||
85 | 79·fgrid·<<·coords[i]·<<·coordinatePadding·<<·std::endl; | ||
86 | 80 | ||
87 | 81·fgrid·<<·std::endl; | ||
88 | 82 | ||
89 | 83·//·WRITE·POLYGONS | ||
90 | 84·//·---------------- | ||
91 | 85 | ||
92 | 86·std::vector<typename·Extractor::VertexVector>·faces; | ||
93 | 87·std::vector<Dune::GeometryType>·geometryTypes; | ||
94 | 88·glue.template·patch<side>().getFaces(faces); | ||
95 | 89·glue.template·patch<side>().getGeometryTypes(geometryTypes); | ||
96 | 90 | ||
97 | 91·unsigned·int·faceCornerCount·=·0; | ||
98 | 92·for·(size_t·i=0;·i<faces.size();·i++) | ||
99 | 93·faceCornerCount·+=·faces[i].size(); | ||
100 | 94 | ||
101 | 95·fgrid·<<·((patchDim==3)·?·"CELLS·"·:·"POLYGONS·") | ||
102 | 96·<<·geometryTypes.size()·<<·"·"·<<·geometryTypes.size()·+·faceCornerCount·<< | ||
103 | std::endl; | ||
104 | 97 | ||
105 | 98·for·(size_t·i=0;·i<faces.size();·i++)·{ | ||
106 | 99 | ||
107 | 100·fgrid·<<·faces[i].size(); | ||
108 | 101 | ||
109 | 102·//·vtk·expects·the·vertices·to·by·cyclically·ordered | ||
110 | 103·//·therefore·unfortunately·we·have·to·deal·with·several·element·types·on·a | ||
111 | case-by-case·basis | ||
112 | 104·if·(geometryTypes[i].isSimplex())·{ | ||
113 | 105·for·(int·j=0;·j<patchDim+1;·j++) | ||
114 | 106·fgrid·<<·"·"·<<·faces[i][j]; | ||
115 | 107 | ||
116 | 108·}·else·if·(geometryTypes[i].isQuadrilateral())·{ | ||
117 | 109·fgrid·<<·"·"·<<·faces[i][0]·<<·"·"·<<·faces[i][1] | ||
118 | 110·<<·"·"·<<·faces[i][3]·<<·"·"·<<·faces[i][2]; | ||
119 | 111 | ||
120 | 112·}·else·if·(geometryTypes[i].isPyramid())·{ | ||
121 | 113·fgrid·<<·"·"·<<·faces[i][0]·<<·"·"·<<·faces[i][1] | ||
122 | 114·<<·"·"·<<·faces[i][3]·<<·"·"·<<·faces[i][2]·<<·"·"·<<·faces[i][4]; | ||
123 | 115 | ||
124 | 116·}·else·if·(geometryTypes[i].isPrism())·{ | ||
Max diff block lines reached; 3989/16194 bytes (24.63%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-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, 42 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·/> |
86 | <code>#include·<optional></code><br·/> | ||
85 | <code>#include·< | 87 | <code>#include·<tuple></code><br·/> |
86 | <code>#include·< | 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·/> | ||
87 | </div> | 93 | </div> |
88 | <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> |
89 | <table·class="memberdecls"> | 95 | <table·class="memberdecls"> |
90 | <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> |
91 | 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> | ||
92 | <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> |
93 | <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> |
94 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 105 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
95 | </table><table·class="memberdecls"> | 106 | </table><table·class="memberdecls"> |
96 | <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> |
97 | Namespaces</h2></td></tr> | 108 | 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> | 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> |
99 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 110 | <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> | 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> |
101 | <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> | ||
102 | </table> | 118 | </table> |
103 | <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> |
104 | <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> | ||
105 | </div>< | 135 | </div><!--·contents·--> |
106 | <!--·start·footer·part·--> | 136 | <!--·start·footer·part·--> |
107 | <hr·class="footer"/><address·class="footer"><small> | 137 | <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 | 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 |
109 | </small></address> | 139 | </small></address> |
110 | </body> | 140 | </body> |
111 | </html> | 141 | </html> |
Offset 1, 28 lines modified | Offset 1, 46 lines modified | ||
1 | dune-grid-glue 2.10 | 1 | dune-grid-glue 2.10 |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | ····*·_\x8d_\x8u_\x8n_\x8e | 5 | ····*·_\x8d_\x8u_\x8n_\x8e |
6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e | 6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e |
7 | ····*·_\x8a_\x8d_\x8a_\x8p_\x8t_\x8e_\x8r | 7 | ····*·_\x8a_\x8d_\x8a_\x8p_\x8t_\x8e_\x8r |
8 | _\x8C_\x8l_\x8a_\x8s_\x8s_\x8e_\x8s·|·_\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s | 8 | _\x8C_\x8l_\x8a_\x8s_\x8s_\x8e_\x8s·|·_\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s·|·_.M_.a_.c_.r_.o_.s |
9 | gridglueamirawriter.hh·File·Reference | ||
10 | 9 | intersection.hh·File·Reference | |
10 | Model·of·the·Intersection·concept·provided·by·GridGlue.·_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
11 | #include·<algorithm> | ||
12 | #include·<optional> | ||
11 | #include·< | 13 | #include·<tuple> |
12 | #include·<sstream> | ||
13 | #include·< | 14 | #include·<dune/common/deprecated.hh> |
15 | #include·<dune/common/version.hh> | ||
16 | #include·<dune/geometry/affinegeometry.hh> | ||
17 | #include·<dune/geometry/referenceelements.hh> | ||
18 | #include·<_\x8d_\x8u_\x8n_\x8e_\x8/_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e_\x8/_\x8g_\x8r_\x8i_\x8d_\x8g_\x8l_\x8u_\x8e_\x8._\x8h_\x8h> | ||
14 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 19 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
15 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s | 20 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s |
16 | class· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8A_\x8m_\x8i_\x8r_\x8a_\x8W_\x8r_\x8i_\x8t_\x8e_\x8r | ||
17 | · | 21 | ·class· ·_.D_.u_.n_.e_.:_.:_.G_.r_.i_.d_.G_.l_.u_.e_.:_.:_.I_.n_.t_.e_.r_.s_.e_.c_.t_.i_.o_.n_.D_.a_.t_.a_.<_.·_.P_.0_.,_.·_.P_.1_.·_.> |
22 | ········storage·class·for·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n·related·data·_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
23 | |||
24 | struct· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8T_\x8r_\x8a_\x8i_\x8t_\x8s_\x8<_\x8·_\x8P_\x80_\x8,_\x8·_\x8P_\x81_\x8,_\x8·_\x8i_\x8n_\x8s_\x8i_\x8d_\x8e_\x8,_\x8·_\x8o_\x8u_\x8t_\x8s_\x8i_\x8d_\x8e_\x8·_\x8> | ||
25 | |||
26 | ·class· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8<_\x8·_\x8P_\x80_\x8,_\x8·_\x8P_\x81_\x8,_\x8·_\x8I_\x8,_\x8·_\x8O_\x8·_\x8> | ||
27 | ········The·intersection·of·two·entities·of·the·two·patches·of·a·_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e. | ||
18 | ········_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | 28 | ·········_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. |
19 | 29 | ||
20 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s | 30 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s |
21 | namespace· ·_\x8D_\x8u_\x8n_\x8e | 31 | namespace· ·_\x8D_\x8u_\x8n_\x8e |
22 | 32 | ||
23 | namespace· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e | 33 | namespace· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e |
24 | 34 | ||
35 | M\x8Ma\x8ac\x8cr\x8ro\x8os\x8s | ||
36 | #define ·_\x8O_\x8N_\x8L_\x8Y_\x8__\x8S_\x8I_\x8M_\x8P_\x8L_\x8E_\x8X_\x8__\x8I_\x8N_\x8T_\x8E_\x8R_\x8S_\x8E_\x8C_\x8T_\x8I_\x8O_\x8N_\x8S | ||
37 | |||
25 | *\x8**\x8**\x8**\x8**\x8*·D\x8De\x8et\x8ta\x8ai\x8il\x8le\x8ed\x8d·D\x8De\x8es\x8sc\x8cr\x8ri\x8ip\x8pt\x8ti\x8io\x8on\x8n·*\x8**\x8**\x8**\x8**\x8* | 38 | *\x8**\x8**\x8**\x8**\x8*·D\x8De\x8et\x8ta\x8ai\x8il\x8le\x8ed\x8d·D\x8De\x8es\x8sc\x8cr\x8ri\x8ip\x8pt\x8ti\x8io\x8on\x8n·*\x8**\x8**\x8**\x8**\x8* |
26 | 39 | Model·of·the·Intersection·concept·provided·by·GridGlue. | |
40 | ··Author | ||
41 | ······Christian·Engwer | ||
42 | *\x8**\x8**\x8**\x8**\x8*·M\x8Ma\x8ac\x8cr\x8ro\x8o·D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·D\x8Do\x8oc\x8cu\x8um\x8me\x8en\x8nt\x8ta\x8at\x8ti\x8io\x8on\x8n·*\x8**\x8**\x8**\x8**\x8* | ||
43 | *\x8**\x8**\x8**\x8**\x8*·_\x8?\x8◆_\x8?\x8 O\x8ON\x8NL\x8LY\x8Y_\x8_S\x8SI\x8IM\x8MP\x8PL\x8LE\x8EX\x8X_\x8_I\x8IN\x8NT\x8TE\x8ER\x8RS\x8SE\x8EC\x8CT\x8TI\x8IO\x8ON\x8NS\x8S·*\x8**\x8**\x8**\x8**\x8* | ||
44 | #define·ONLY_SIMPLEX_INTERSECTIONS | ||
27 | =============================================================================== | 45 | =============================================================================== |
28 | ·····Generated·by _\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]·1.9.8 | 46 | ·····Generated·by _\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]·1.9.8 |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-grid-glue:· | 8 | <title>dune-grid-glue:·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, 166 lines modified | Offset 74, 569 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">//· | 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> | ||
85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·©·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div> | ||
84 | <div·class="line"><a·id="l0000 | 86 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with-dune-grid-glue-exception</span></div> |
85 | <div·class="line"><a·id="l000 | 87 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#ifndef·DUNE_GRIDGLUE_ADAPTER_INTERSECTION_HH</span></div> |
86 | <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> |
87 | <div·class="line"><a·id="l0001 | 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> | ||
88 | <div·class="line"><a·id="l0001 | 92 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·<tuple></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> | 93 | <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="l000 | 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> | ||
98 | <div·class="line"><a·id="l0002 | 99 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</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="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> |
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="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> | ||
101 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>· | 104 | <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="l000 | 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> | ||
104 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>····s | 107 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>····<span·class="keyword">class·</span>IntersectionIndexSet;</div> |
105 | <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="foldopen"·id="foldopen00037"·data-start="{"·data-end="};"> | ||
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> | ||
106 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>····fgrid.open(filename.c_str());</div> | ||
107 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div> | ||
108 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>····<span·class="keyword">using·</span>GridView·=·<span·class="keyword">typename</span>·Glue::template·GridView<side>;</div> | ||
109 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>····<span·class="keyword">const</span>·<span·class="keywordtype">int</span>·dim·=·GridView::dimension;</div> | ||
110 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>····<span·class="keyword">const</span>·<span·class="keywordtype">int</span>·domdimw·=·GridView::dimensionworld;</div> | ||
111 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div> | 112 | <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=" | 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> | ||
113 | <div·class="line"><a·id="l0004 | 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> | ||
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="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div> |
117 | <div·class="line"><a·id="l0004 | 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="c[·...·truncated·by·diffoscope;·len:·188,·SHA:·98d4c73560476ec8e75d4aa0b09eb7fd027da933b1ed8e90584f827285cfbb42·...·];</div> |
118 | <div·class="line"><a·id="l0004 | 119 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div> |
119 | <div·class="line"><a·id="l0004 | 120 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>····<span·class="keyword">private</span>:</div> |
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="l0004 | 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> | ||
123 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>······fgrid<<<span·class="stringliteral">"Parameters·{\n"</span>;</div> | ||
124 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>······fgrid<<<span·class="stringliteral">"····Materials·{\n"</span>;</div> | ||
125 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>······fgrid<<<span·class="stringliteral">"········outside·{\n"</span>;</div> | ||
126 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>······fgrid<<<span·class="stringliteral">"············Id·0\n"</span>;</div> | ||
127 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>······fgrid<<<span·class="stringliteral">"········}\n"</span>;</div> | ||
128 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>······fgrid<<<span·class="stringliteral">"········inside·{\n"</span>;</div> | ||
129 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>······fgrid<<<span·class="stringliteral">"············Id·1\n"</span>;</div> | ||
130 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>······fgrid<<<span·class="stringliteral">"········}\n"</span>;</div> | ||
131 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>······fgrid<<<span·class="stringliteral">"····}\n"</span>;</div> | ||
132 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>······fgrid<<<span·class="stringliteral">"\n"</span>;</div> | ||
133 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>······fgrid<<<span·class="stringliteral">"}\n"</span>;</div> | ||
134 | <div·class="line"><a·id="l000 | 124 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div> |
135 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>······<span·class="comment">//·////////////////////////////////////////////</span></div> | ||
136 | <div·class="line"><a·id="l000 | 125 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>····<span·class="keyword">public</span>:</div> |
137 | <div·class="line"><a·id="l000 | 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="[·...·truncated·by·diffoscope;·len:·152,·SHA:·d28fad9e38c7c2966ce16667ceb3afde9252e406432db1149b2fd303f1ea44af·...·]</div> |
138 | <div·class="line"><a·id="l000 | 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> | ||
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> | ||
139 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>· | 138 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</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="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:·222,·SHA:·8d3931aa1823a06617794bcddde80886a103b1c4dc2bc42bff72061be406cee1·...·]</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> | ||
143 | <div·class="line"><a·id="l0007 | 144 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>·</div> |
145 | <div·class="line"><a·id="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> | ||
144 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>········<span·class="keyword">const</span>·<span·class="keyword">auto</span>&·geometry·=·isIt->geometry();</div> | ||
145 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>········<span·class="keywordflow">for</span>·(<span·class="keywordtype">int</span>·i·=·0;·i·<·geometry.corners();·++i)</div> | ||
146 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>··········fgrid·<<·geometry.corner(i)·<<·coordinatePadding·<<·std::endl;</div> | ||
147 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>······}</div> | ||
148 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>·</div> | 147 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>·</div> |
Max diff block lines reached; 96250/140133 bytes (68.68%) of diff not shown. |
Offset 1, 165 lines modified | Offset 1, 743 lines modified | ||
1 | dune-grid-glue 2.10 | 1 | dune-grid-glue 2.10 |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | ····*·_\x8d_\x8u_\x8n_\x8e | 5 | ····*·_\x8d_\x8u_\x8n_\x8e |
6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e | 6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e |
7 | ····*·_\x8a_\x8d_\x8a_\x8p_\x8t_\x8e_\x8r | 7 | ····*·_\x8a_\x8d_\x8a_\x8p_\x8t_\x8e_\x8r |
8 | 8 | intersection.hh | |
9 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 9 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | ||
11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: | ||
10 | 12 | 3//·SPDX-FileCopyrightInfo:·Copyright·Â©·DUNE·Project·contributors,·see·file | |
11 | LICENSE.md·in·module·root | 13 | LICENSE.md·in·module·root |
12 | 14 | 4//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with- | |
13 | dune-grid-glue-exception | 15 | dune-grid-glue-exception |
16 | 11#ifndef·DUNE_GRIDGLUE_ADAPTER_INTERSECTION_HH | ||
17 | 12#define·DUNE_GRIDGLUE_ADAPTER_INTERSECTION_HH | ||
18 | 13 | ||
19 | 14#include·<algorithm> | ||
20 | 15#include·<optional> | ||
21 | 16#include·<tuple> | ||
14 | 8#ifndef·DUNE_GRIDGLUE_ADAPTER_GRIDGLUEAMIRAWRITER_HH | ||
15 | 9#define·DUNE_GRIDGLUE_ADAPTER_GRIDGLUEAMIRAWRITER_HH | ||
16 | 10 | ||
17 | 11#include·<fstream> | ||
18 | 12#include·<sstream> | ||
19 | 13#include·<type_traits> | ||
20 | 14 | ||
21 | 15namespace·_\x8D_\x8u_\x8n_\x8e·{ | ||
22 | 16namespace·GridGlue·{ | ||
23 | 17 | 22 | 17 |
24 | _\x82_\x80class·_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8A_\x8m_\x8i_\x8r_\x8a_\x8W_\x8r_\x8i_\x8t_\x8e_\x8r | ||
25 | 21{ | ||
26 | 22 | ||
27 | 26·template·<class·Glue,·int·side> | ||
28 | 27·static·void·writeIntersections(const·Glue&·glue,·const·std::string& | ||
29 | filename) | ||
30 | 28·{ | ||
31 | 29·static_assert((side==0·||·side==1),·"'side'·can·only·be·0·or·1"); | ||
32 | 30 | ||
33 | 23 | 18#include·<dune/common/deprecated.hh> | |
24 | 19#include·<dune/common/version.hh> | ||
25 | 20#include·<dune/geometry/affinegeometry.hh> | ||
26 | 21#include·<dune/geometry/referenceelements.hh> | ||
27 | 22#include·<_\x8d_\x8u_\x8n_\x8e_\x8/_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e_\x8/_\x8g_\x8r_\x8i_\x8d_\x8g_\x8l_\x8u_\x8e_\x8._\x8h_\x8h> | ||
28 | 23 | ||
29 | _\x82_\x84#define·ONLY_SIMPLEX_INTERSECTIONS | ||
30 | 25 | ||
31 | 26namespace·_\x8D_\x8u_\x8n_\x8e·{ | ||
32 | 27·namespace·GridGlue·{ | ||
33 | 28 | ||
34 | 29·//·forward·declaration | ||
35 | 30·template<typename·P0,·typename·P1> | ||
36 | 31·class·IntersectionIndexSet; | ||
34 | 32 | 37 | 32 |
38 | 36·template<typename·P0,·typename·P1> | ||
39 | _\x83_\x87·class·_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8D_\x8a_\x8t_\x8a | ||
40 | 38·{ | ||
41 | 39·public: | ||
42 | _\x84_\x80·typedef·::Dune::GridGlue::GridGlue<P0,·P1>·_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e; | ||
43 | 41 | ||
44 | _\x84_\x82·typedef·typename·_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8I_\x8n_\x8d_\x8e_\x8x_\x8T_\x8y_\x8p_\x8e·_\x8I_\x8n_\x8d_\x8e_\x8x_\x8T_\x8y_\x8p_\x8e; | ||
35 | 33·fgrid.open(filename.c_str()); | ||
36 | 34 | ||
37 | 35·using·GridView·=·typename·Glue::template·GridView<side>; | ||
38 | 36·const·int·dim·=·GridView::dimension; | ||
39 | 37·const·int·domdimw·=·GridView::dimensionworld; | ||
40 | 38 | ||
41 | 39·//·coordinates·have·to·be·in·R^3·in·the·VTK·format | ||
42 | 40·std::string·coordinatePadding; | ||
43 | 41·for·(int·i=domdimw;·i<3;·i++) | ||
44 | 42·coordinatePadding·+=·"·0"; | ||
45 | 43 | 45 | 43 |
46 | 44·int·overlaps·=·glue.size(); | ||
47 | 45 | ||
48 | 46·if·(dim==3)·{ | ||
49 | 47 | ||
50 | 48·fgrid·<<·"#·HyperSurface·0.1·ASCII·\n"·<<·std::endl; | ||
51 | 49·fgrid<<"\n"; | ||
52 | 50·fgrid<<"Parameters·{\n"; | ||
53 | 51·fgrid<<"·Materials·{\n"; | ||
54 | 52·fgrid<<"·outside·{\n"; | ||
55 | 53·fgrid<<"·Id·0\n"; | ||
56 | 54·fgrid<<"·}\n"; | ||
57 | 55·fgrid<<"·inside·{\n"; | ||
58 | 56·fgrid<<"·Id·1\n"; | ||
59 | 57·fgrid<<"·}\n"; | ||
60 | 58·fgrid<<"·}\n"; | ||
61 | 59·fgrid<<"\n"; | ||
62 | 60·fgrid<<"}\n"; | ||
63 | 61 | ||
64 | 62·//·//////////////////////////////////////////// | ||
65 | 63·//·Write·vertices | ||
66 | 64·//·//////////////////////////////////////////// | ||
67 | 65 | ||
68 | 66·//use·dim·and·not·dim+1 | ||
69 | 67·fgrid<<"\nVertices·"<<·overlaps*(dim)<<"\n"; | ||
70 | 68·auto·isEnd·=·glue.template·iend<side>(); | ||
71 | 69·for·(auto·isIt·=·glue.template·ibegin<side>();·isIt·!=·isEnd;·++isIt) | ||
72 | 70·{ | ||
73 | 71·const·auto&·geometry·=·isIt->geometry(); | ||
74 | 72·for·(int·i·=·0;·i·<·geometry.corners();·++i) | ||
75 | 73·fgrid·<<·geometry.corner(i)·<<·coordinatePadding·<<·std::endl; | ||
76 | 46 | _.4_.5·static·constexpr·int·_.c_.o_.o_.r_.d_.d_.i_.m·=·_.G_.r_.i_.d_.G_.l_.u_.e_.:_.:_.d_.i_.m_.w_.o_.r_.l_.d; | |
47 | 46 | ||
48 | 47·private: | ||
49 | 48·//·intermediate·quantities | ||
50 | 49·template<int·side> | ||
51 | 50·static·constexpr·int·dim()·{·return·GridGlue::template·GridView<side>:: | ||
52 | Grid::dimension·-·GridGlue::template·GridPatch<side>::codim;·} | ||
53 | 51 | ||
54 | 52·public: | ||
55 | _\x85_\x84·static·constexpr·int·_\x8m_\x8y_\x8d_\x8i_\x8m·=·dim<0>()·<·dim<1>()·?·dim<0>()·:·dim<1>(); | ||
56 | 55 | ||
57 | 56·template<int·side> | ||
58 | _\x85_\x87·using·_\x8G_\x8r_\x8i_\x8d_\x8L_\x8o_\x8c_\x8a_\x8l_\x8G_\x8e_\x8o_\x8m_\x8e_\x8t_\x8r_\x8y·=·AffineGeometry< | ||
59 | 58·typename·GridGlue::template·GridView<side>::ctype,·_\x8m_\x8y_\x8d_\x8i_\x8m,·GridGlue::template | ||
60 | GridView<side>::dimension>; | ||
61 | 59 | ||
62 | _\x86_\x80·using·_\x8G_\x8r_\x8i_\x8d_\x80_\x8L_\x8o_\x8c_\x8a_\x8l_\x8G_\x8e_\x8o_\x8m_\x8e_\x8t_\x8r_\x8y·[[deprecated("please·use·GridLocalGeometry<0> | ||
63 | instead")]]·=·_\x8G_\x8r_\x8i_\x8d_\x8L_\x8o_\x8c_\x8a_\x8l_\x8G_\x8e_\x8o_\x8m_\x8e_\x8t_\x8r_\x8y_\x8<_\x80_\x8>; | ||
64 | _\x86_\x81·using·_\x8G_\x8r_\x8i_\x8d_\x81_\x8L_\x8o_\x8c_\x8a_\x8l_\x8G_\x8e_\x8o_\x8m_\x8e_\x8t_\x8r_\x8y·[[deprecated("please·use·GridLocalGeometry<1> | ||
65 | instead")]]·=·_\x8G_\x8r_\x8i_\x8d_\x8L_\x8o_\x8c_\x8a_\x8l_\x8G_\x8e_\x8o_\x8m_\x8e_\x8t_\x8r_\x8y_\x8<_\x81_\x8>; | ||
66 | 62 | ||
67 | 63·template<int·side> | ||
68 | _\x86_\x84·using·_\x8G_\x8r_\x8i_\x8d_\x8G_\x8e_\x8o_\x8m_\x8e_\x8t_\x8r_\x8y·=·AffineGeometry< | ||
69 | 65·typename·GridGlue::template·GridView<side>::ctype,·_\x8m_\x8y_\x8d_\x8i_\x8m,·GridGlue::template | ||
Max diff block lines reached; 38159/43760 bytes (87.20%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-grid-glue:·gridglue | 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, 74 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="#typedef-members">Typedefs</a>·| | ||
80 | <a·href="#func-members">Functions</a>··</div> | ||
81 | ··<div·class="headertitle"><div·class="title">gridglue | 79 | ··<div·class="headertitle"><div·class="title">gridglueamirawriter.hh·File·Reference</div></div> |
82 | </div><!--header--> | 80 | </div><!--header--> |
83 | <div·class="contents"> | 81 | <div·class="contents"> |
84 | <p> | 82 | <p>Write·all·remote·intersections·to·a·AmiraMesh·file.·· |
85 | <a·href="#details">More...</a></p> | 83 | <a·href="#details">More...</a></p> |
86 | <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·/> | ||
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> | 87 | </div> |
92 | <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> |
93 | <table·class="memberdecls"> | 89 | <table·class="memberdecls"> |
94 | <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> |
95 | Classes</h2></td></tr> | 91 | Classes</h2></td></tr> |
96 | <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> | ||
97 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
98 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00954.html">Dune::GridGlue::CommDataHandle<·DataHandleImp,·DataTypeImp·></a></td></tr> | ||
99 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">describes·the·features·of·a·data·handle·for·communication·in·parallel·runs·using·the·<a·class="el"·href="a00926.html#a2512ddf80706911fb851b4cda0bf74c5"·title="Communicate·information·on·the·MergedGrid·of·a·GridGlue.">GridGlue::communicate</a>·methods.··<a·href="a00954.html#details">More...</a><br·/></td></tr> | ||
100 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
101 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00958.html">Dune::GridGlue::StreamingMessageBuffer<·DT·></a></td></tr> | ||
102 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
103 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00962.html">Dune::GridGlue::CommunicationOperator<·dir·></a></td></tr> | ||
104 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">forward·gather·scatter·to·user·defined·<a·class="el"·href="a00966.html"·title="collects·all·GridGlue·data·required·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·required·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> | 94 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
112 | </table><table·class="memberdecls"> | 95 | </table><table·class="memberdecls"> |
113 | <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> |
114 | Namespaces</h2></td></tr> | 97 | 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> | 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> |
116 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 99 | <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> | 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> |
118 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 101 | <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> | ||
133 | </table> | 102 | </table> |
134 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> | 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> | ||
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></div><!--·contents·--> | 105 | </div></div><!--·contents·--> |
138 | <!--·start·footer·part·--> | 106 | <!--·start·footer·part·--> |
139 | <hr·class="footer"/><address·class="footer"><small> | 107 | <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 | 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 |
141 | </small></address> | 109 | </small></address> |
142 | </body> | 110 | </body> |
143 | </html> | 111 | </html> |
Offset 1, 61 lines modified | Offset 1, 28 lines modified | ||
1 | dune-grid-glue 2.10 | 1 | dune-grid-glue 2.10 |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | ····*·_\x8d_\x8u_\x8n_\x8e | 5 | ····*·_\x8d_\x8u_\x8n_\x8e |
6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e | 6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e |
7 | ····*·_\x8a_\x8d_\x8a_\x8p_\x8t_\x8e_\x8r | 7 | ····*·_\x8a_\x8d_\x8a_\x8p_\x8t_\x8e_\x8r |
8 | _\x8C_\x8l_\x8a_\x8s_\x8s_\x8e_\x8s·|·_\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s | 8 | _\x8C_\x8l_\x8a_\x8s_\x8s_\x8e_\x8s·|·_\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s |
9 | gridglue | 9 | gridglueamirawriter.hh·File·Reference |
10 | Describes·the·parallel·communication·interface·class·for·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e. | ||
11 | _\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | 10 | Write·all·remote·intersections·to·a·AmiraMesh·file.·_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. |
11 | #include·<fstream> | ||
12 | #include·<sstream> | ||
12 | #include·<type_traits> | 13 | #include·<type_traits> |
13 | #include·<dune/common/bartonnackmanifcheck.hh> | ||
14 | #include·<dune/common/parallel/communicator.hh> | ||
15 | #include·<dune/grid/common/datahandleif.hh> | ||
16 | #include·<dune/grid/common/gridenums.hh> | ||
17 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 14 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
18 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s | 15 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s |
16 | class· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8A_\x8m_\x8i_\x8r_\x8a_\x8W_\x8r_\x8i_\x8t_\x8e_\x8r | ||
17 | ·······Write·remote·intersections·to·a·AmiraMesh·file·for·debugging·purposes. | ||
19 | struct· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8G_\x8l_\x8o_\x8b_\x8a_\x8l_\x8I_\x8d | ||
20 | |||
21 | ·class· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8C_\x8o_\x8m_\x8m_\x8D_\x8a_\x8t_\x8a_\x8H_\x8a_\x8n_\x8d_\x8l_\x8e_\x8<_\x8·_\x8D_\x8a_\x8t_\x8a_\x8H_\x8a_\x8n_\x8d_\x8l_\x8e_\x8I_\x8m_\x8p_\x8,_\x8·_\x8D_\x8a_\x8t_\x8a_\x8T_\x8y_\x8p_\x8e_\x8I_\x8m_\x8p_\x8·_\x8> | ||
22 | ········describes·the·features·of·a·data·handle·for·communication·in·parallel | ||
23 | ·········runs·using·the·_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8c_\x8o_\x8m_\x8m_\x8u_\x8n_\x8i_\x8c_\x8a_\x8t_\x8e·methods.·_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
24 | |||
25 | ·class· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8S_\x8t_\x8r_\x8e_\x8a_\x8m_\x8i_\x8n_\x8g_\x8M_\x8e_\x8s_\x8s_\x8a_\x8g_\x8e_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8<_\x8·_\x8D_\x8T_\x8·_\x8> | ||
26 | |||
27 | ·class· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8C_\x8o_\x8m_\x8m_\x8u_\x8n_\x8i_\x8c_\x8a_\x8t_\x8i_\x8o_\x8n_\x8O_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8<_\x8·_\x8d_\x8i_\x8r_\x8·_\x8> | ||
28 | ········forward·gather·scatter·to·user·defined·_\x8C_\x8o_\x8m_\x8m_\x8I_\x8n_\x8f_\x8o·class·_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
29 | |||
30 | struct· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8C_\x8o_\x8m_\x8m_\x8I_\x8n_\x8f_\x8o_\x8<_\x8·_\x8G_\x8G_\x8,_\x8·_\x8D_\x8a_\x8t_\x8a_\x8H_\x8a_\x8n_\x8d_\x8l_\x8e_\x8I_\x8m_\x8p_\x8,_\x8·_\x8D_\x8a_\x8t_\x8a_\x8T_\x8y_\x8p_\x8e_\x8I_\x8m_\x8p_\x8·_\x8> | ||
31 | ········collects·all·_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e·data·required·for·communication·_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
32 | |||
33 | struct· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8C_\x8o_\x8m_\x8m_\x8P_\x8o_\x8l_\x8i_\x8c_\x8y_\x8<_\x8·_\x8:_\x8:_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8C_\x8o_\x8m_\x8m_\x8I_\x8n_\x8f_\x8o_\x8<_\x8·_\x8G_\x8G_\x8,_\x8·_\x8D_\x8a_\x8t_\x8a_\x8H_\x8a_\x8n_\x8d_\x8l_\x8e_\x8I_\x8m_\x8p_\x8, | ||
34 | ·········_\x8D_\x8a_\x8t_\x8a_\x8T_\x8y_\x8p_\x8e_\x8I_\x8m_\x8p_\x8·_\x8>_\x8·_\x8> | ||
35 | ········specialization·of·the·CommPolicy·struct,·required·for·the | ||
36 | ········ | 18 | ········_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. |
37 | 19 | ||
38 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s | 20 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s |
39 | namespace· ·_\x8D_\x8u_\x8n_\x8e | 21 | namespace· ·_\x8D_\x8u_\x8n_\x8e |
40 | 22 | ||
41 | namespace· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e | 23 | namespace· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e |
42 | 24 | ||
43 | T\x8Ty\x8yp\x8pe\x8ed\x8de\x8ef\x8fs\x8s | ||
44 | ·······typedef·std::pair<·int,·int·> ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8R_\x8a_\x8n_\x8k_\x8P_\x8a_\x8i_\x8r | ||
45 | |||
46 | typedef·_\x8C_\x8o_\x8m_\x8m_\x8u_\x8n_\x8i_\x8c_\x8a_\x8t_\x8i_\x8o_\x8n_\x8O_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r<·Dune:: | ||
47 | ··············ForwardCommunication·> ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8F_\x8o_\x8r_\x8w_\x8a_\x8r_\x8d_\x8O_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r | ||
48 | |||
49 | typedef·_\x8C_\x8o_\x8m_\x8m_\x8u_\x8n_\x8i_\x8c_\x8a_\x8t_\x8i_\x8o_\x8n_\x8O_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r<·Dune:: | ||
50 | ·············BackwardCommunication·> ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8B_\x8a_\x8c_\x8k_\x8w_\x8a_\x8r_\x8d_\x8O_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r | ||
51 | |||
52 | F\x8Fu\x8un\x8nc\x8ct\x8ti\x8io\x8on\x8ns\x8s | ||
53 | std::ostream·& ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8<_\x8<·(std::ostream·&os,·const·_\x8G_\x8l_\x8o_\x8b_\x8a_\x8l_\x8I_\x8d | ||
54 | ················&id) | ||
55 | |||
56 | *\x8**\x8**\x8**\x8**\x8*·D\x8De\x8et\x8ta\x8ai\x8il\x8le\x8ed\x8d·D\x8De\x8es\x8sc\x8cr\x8ri\x8ip\x8pt\x8ti\x8io\x8on\x8n·*\x8**\x8**\x8**\x8**\x8* | 25 | *\x8**\x8**\x8**\x8**\x8*·D\x8De\x8et\x8ta\x8ai\x8il\x8le\x8ed\x8d·D\x8De\x8es\x8sc\x8cr\x8ri\x8ip\x8pt\x8ti\x8io\x8on\x8n·*\x8**\x8**\x8**\x8**\x8* |
26 | Write·all·remote·intersections·to·a·AmiraMesh·file. | ||
57 | Describes·the·parallel·communication·interface·class·for·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e. | ||
58 | ··Author | ||
59 | ······Christian·Engwer | ||
60 | =============================================================================== | 27 | =============================================================================== |
61 | ·····Generated·by _\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]·1.9.8 | 28 | ·····Generated·by _\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]·1.9.8 |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-grid-glue:·gridglue | 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, 365 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">gridglue | 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">//·-*-·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="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#ifndef·DUNE_GRIDGLUE_ADAPTER_GRIDGLUEAMIRAWRITER_HH</span></div> |
88 | <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> |
89 | <div·class="line"><a·id="l000 | 87 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span>·</div> |
88 | <div·class="line"><a·id="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> | 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> | 91 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div> |
92 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·<dune/common/bartonnackmanifcheck.hh></span></div> | ||
93 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·<dune/common/parallel/communicator.hh></span></div> | ||
94 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·<dune/grid/common/datahandleif.hh></span></div> | ||
95 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·<dune/grid/common/gridenums.hh></span></div> | ||
96 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> | ||
97 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div> | ||
98 | <div·class="line"><a·id="l000 | 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> |
99 | <div·class="line"><a·id="l000 | 93 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="keyword">namespace·</span>GridGlue·{</div> |
100 | <div·class="line"><a·id="l000 | 94 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</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 | 95 | <div·class="foldopen"·id="foldopen00020"·data-start="{"·data-end="};"> |
103 | <div·class="line"><a·id="l0002 | 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="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> | ||
104 | <div·class="line"><a·id="l0002 | 101 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>··{</div> |
102 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>····<span·class="keyword">static_assert</span>((side==0·||·side==1),·<span·class="stringliteral">"'side'·can·only·be·0·or·1"</span>);</div> | ||
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> | ||
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> | ||
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> | ||
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="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> | ||
134 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>·</div> | ||
135 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>······<span·class="comment">//·////////////////////////////////////////////</span></div> | ||
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> | ||
148 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>·</div> | ||
149 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>······<span·class="comment">//·////////////////////////////////////////////</span></div> | ||
150 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>······<span·class="comment">//···Write·triangles</span></div> | ||
151 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>······<span·class="comment">//·////////////////////////////////////////////</span></div> | ||
152 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>·</div> | ||
153 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>······fgrid<<<span·class="stringliteral">"NBranchingPoints·0\n"</span>;</div> | ||
154 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>······fgrid<<<span·class="stringliteral">"NVerticesOnCurves·0\n"</span>;</div> | ||
155 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>······fgrid<<<span·class="stringliteral">"BoundaryCurves·0\n"</span>;</div> | ||
156 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>······fgrid<<<span·class="stringliteral">"Patches·1\n"</span>;</div> | ||
157 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>······fgrid<<<span·class="stringliteral">"{\n"</span>;</div> | ||
158 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>······fgrid<<<span·class="stringliteral">"InnerRegion·inside\n"</span>;</div> | ||
159 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>······fgrid<<<span·class="stringliteral">"OuterRegion·outside\n"</span>;</div> | ||
160 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>······fgrid<<<span·class="stringliteral">"BoundaryID·0\n"</span>;</div> | ||
161 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>······fgrid<<<span·class="stringliteral">"BranchingPoints·0"</span>;</div> | ||
162 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>······fgrid<<<span·class="stringliteral">"\n"</span>;</div> | ||
163 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>·</div> | ||
164 | <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>······fgrid<<<span·class="stringliteral">"Triangles·"</span><<overlaps<<std::endl;</div> | ||
165 | <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>·</div> | ||
166 | <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>······<span·class="keywordflow">for</span>·(<span·class="keywordtype">int</span>·i=0;i<overlaps;·i++)</div> | ||
167 | <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>········fgrid<<i*dim+1<<<span·class="stringliteral">"·"</span><<i*dim+2<<<span·class="stringliteral">"·"</span><<i*dim+3<<std::endl;</div> | ||
168 | <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>······fgrid<<<span·class="stringliteral">"}\n"</span>;</div> | ||
169 | <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>·</div> | ||
170 | <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>····}·<span·class="keywordflow">else</span>·<span·class="keywordflow">if</span>·(dim==2)·{</div> | ||
171 | <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>·</div> | ||
172 | <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>······fgrid·<<·<span·class="stringliteral">"#·AmiraMesh·3D·ASCII·2.0·\n"</span>;</div> | ||
173 | <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>······fgrid<<<span·class="stringliteral">"\n"</span>;</div> | ||
Max diff block lines reached; 17664/93066 bytes (18.98%) of diff not shown. |
Offset 1, 442 lines modified | Offset 1, 165 lines modified | ||
1 | dune-grid-glue 2.10 | 1 | dune-grid-glue 2.10 |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | ····*·_\x8d_\x8u_\x8n_\x8e | 5 | ····*·_\x8d_\x8u_\x8n_\x8e |
6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e | 6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e |
7 | ····*·_\x8a_\x8d_\x8a_\x8p_\x8t_\x8e_\x8r | 7 | ····*·_\x8a_\x8d_\x8a_\x8p_\x8t_\x8e_\x8r |
8 | gridglue | 8 | gridglueamirawriter.hh |
9 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 9 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | ||
11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: | ||
12 | 10 | 1//·SPDX-FileCopyrightInfo:·Copyright·Â©·DUNE·Project·contributors,·see·file | |
13 | LICENSE.md·in·module·root | 11 | LICENSE.md·in·module·root |
14 | 12 | 2//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with- | |
15 | dune-grid-glue-exception | 13 | dune-grid-glue-exception |
16 | 14 | 8#ifndef·DUNE_GRIDGLUE_ADAPTER_GRIDGLUEAMIRAWRITER_HH | |
17 | 15 | 9#define·DUNE_GRIDGLUE_ADAPTER_GRIDGLUEAMIRAWRITER_HH | |
18 | 16 | 10 | |
17 | 11#include·<fstream> | ||
18 | 12#include·<sstream> | ||
19 | 13#include·<type_traits> | 19 | 13#include·<type_traits> |
20 | 14 | 20 | 14 |
21 | 15#include·<dune/common/bartonnackmanifcheck.hh> | ||
22 | 16#include·<dune/common/parallel/communicator.hh> | ||
23 | 17#include·<dune/grid/common/datahandleif.hh> | ||
24 | 18#include·<dune/grid/common/gridenums.hh> | ||
25 | 19 | ||
26 | 20 | ||
27 | 21 | 15namespace·_\x8D_\x8u_\x8n_\x8e·{ | |
28 | 22 | 16namespace·GridGlue·{ | |
29 | 23 | ||
30 | _\x82_\x84·typedef·std::pair<int,·int>·_\x8R_\x8a_\x8n_\x8k_\x8P_\x8a_\x8i_\x8r; | ||
31 | _\x82_\x85·struct·_\x8G_\x8l_\x8o_\x8b_\x8a_\x8l_\x8I_\x8d·:·public·std::pair<RankPair,·unsigned·int> | ||
32 | 26·{ | ||
33 | _\x83_\x80·_\x8G_\x8l_\x8o_\x8b_\x8a_\x8l_\x8I_\x8d()·{ | ||
34 | 31·this->first.first·=·0; | ||
35 | 32·this->first.second·=·0; | ||
36 | 33·this->second·=·0; | ||
37 | 34·} | ||
38 | _\x83_\x88·_\x8G_\x8l_\x8o_\x8b_\x8a_\x8l_\x8I_\x8d(int·i)·{ | ||
39 | 39·this->first.first·=·i; | ||
40 | 40·this->first.second·=·i; | ||
41 | 41·this->second·=·0; | ||
42 | 42·} | ||
43 | _\x84_\x88·_\x8G_\x8l_\x8o_\x8b_\x8a_\x8l_\x8I_\x8d(int·i,·int·j,·unsigned·int·n)·{ | ||
44 | 49·this->first.first·=·std::min(i,j); | ||
45 | 50·this->first.second·=·std::max(i,j); | ||
46 | 51·this->second·=·n; | ||
47 | 52·} | ||
48 | 53·}; | ||
49 | 54 | ||
50 | _\x85_\x85·inline·std::ostream&·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8<_\x8<(std::ostream&·os,·const·_\x8G_\x8l_\x8o_\x8b_\x8a_\x8l_\x8I_\x8d·&·id) | ||
51 | 56·{ | ||
52 | 57·os·<<·"(" | ||
53 | 58·<<·id.first.first·<<·","·<<·id.first.second·<<·"," | ||
54 | 59·<<·id.second·<<·")"; | ||
55 | 60·return·os; | ||
56 | 61·} | ||
57 | 62 | ||
58 | 75·template·<class·DataHandleImp,·class·DataTypeImp> | ||
59 | _\x87_\x86·class·_\x8C_\x8o_\x8m_\x8m_\x8D_\x8a_\x8t_\x8a_\x8H_\x8a_\x8n_\x8d_\x8l_\x8e | ||
60 | 77·{ | ||
61 | 78·public: | ||
62 | _\x88_\x80·typedef·DataTypeImp·_\x8D_\x8a_\x8t_\x8a_\x8T_\x8y_\x8p_\x8e; | ||
63 | 81 | ||
64 | 82·protected: | ||
65 | 83·//·one·should·not·create·an·explicit·instance·of·this·interface·object | ||
66 | _\x88_\x84·_\x8C_\x8o_\x8m_\x8m_\x8D_\x8a_\x8t_\x8a_\x8H_\x8a_\x8n_\x8d_\x8l_\x8e()·{} | ||
67 | 85 | ||
68 | 86·public: | ||
69 | 87 | ||
70 | 91·template<class·RISType> | ||
71 | _\x89_\x82·size_t·_\x8s_\x8i_\x8z_\x8e·(RISType&·i)·const | ||
72 | 93·{ | ||
73 | 94·CHECK_INTERFACE_IMPLEMENTATION((asImp()._\x8s_\x8i_\x8z_\x8e(i))); | ||
74 | 95·return·asImp().size(i); | ||
75 | 96·} | ||
76 | 97 | ||
77 | 103·template<class·MessageBufferImp,·class·EntityType,·class·RISType> | ||
78 | _\x81_\x80_\x84·void·_\x8g_\x8a_\x8t_\x8h_\x8e_\x8r·(MessageBufferImp&·buff,·const·EntityType&·e,·const·RISType·& | ||
79 | i)·const | ||
80 | 105·{ | ||
81 | 106·MessageBufferIF<MessageBufferImp>·buffIF(buff); | ||
82 | 107·CHECK_AND_CALL_INTERFACE_IMPLEMENTATION((asImp()._\x8g_\x8a_\x8t_\x8h_\x8e_\x8r(buffIF,e,i))); | ||
83 | 108·} | ||
84 | 109 | ||
85 | 117·template<class·MessageBufferImp,·class·EntityType,·class·RISType> | ||
86 | _\x81_\x81_\x88·void·_\x8s_\x8c_\x8a_\x8t_\x8t_\x8e_\x8r·(MessageBufferImp&·buff,·const·EntityType&·e,·const·RISType·& | ||
87 | i,·size_t·n) | ||
88 | 119·{ | ||
89 | 120·MessageBufferIF<MessageBufferImp>·buffIF(buff); | ||
90 | 121·CHECK_AND_CALL_INTERFACE_IMPLEMENTATION((asImp()._\x8s_\x8c_\x8a_\x8t_\x8t_\x8e_\x8r(buffIF,e,i,n))); | ||
91 | 122·} | ||
92 | 123 | ||
93 | 124·private: | ||
94 | 126·DataHandleImp&·asImp·()·{ | ||
95 | 127·return·static_cast<DataHandleImp·&>·(*this); | ||
96 | 128·} | ||
97 | 130·const·DataHandleImp&·asImp·()·const | ||
98 | 131·{ | ||
99 | 132·return·static_cast<const·DataHandleImp·&>(*this); | ||
100 | 133·} | ||
101 | 134·};·//·end·class·CommDataHandleIF | ||
102 | 135 | ||
103 | 140·template<typename·DT> | ||
104 | _\x81_\x84_\x81·class·_\x8S_\x8t_\x8r_\x8e_\x8a_\x8m_\x8i_\x8n_\x8g_\x8M_\x8e_\x8s_\x8s_\x8a_\x8g_\x8e_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r·{ | ||
105 | 142·public: | ||
106 | _\x81_\x84_\x83·typedef·DT·_\x8v_\x8a_\x8l_\x8u_\x8e_\x8__\x8t_\x8y_\x8p_\x8e; | ||
107 | 144 | ||
108 | 145·//·Constructor | ||
109 | _\x81_\x84_\x86·_\x8S_\x8t_\x8r_\x8e_\x8a_\x8m_\x8i_\x8n_\x8g_\x8M_\x8e_\x8s_\x8s_\x8a_\x8g_\x8e_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r·(DT·*p) | ||
110 | 147·{ | ||
111 | 148·_\x8a=p; | ||
112 | 149·_\x8i=0; | ||
113 | 150·_\x8j=0; | ||
114 | 151·} | ||
115 | 152 | ||
116 | 153·//·write·data·to·message·buffer,·acts·like·a·stream·! | ||
117 | 154·template<class·Y> | ||
118 | _\x81_\x85_\x85·void·_\x8w_\x8r_\x8i_\x8t_\x8e·(const·Y&·data) | ||
119 | 156·{ | ||
120 | 157·static_assert(std::is_same<DT,Y>::value,·"DataType·mismatch"); | ||
121 | 158·_\x8a[_\x8i++]·=·data; | ||
122 | 159·} | ||
123 | 160 | ||
124 | 161·//·read·data·from·message·buffer,·acts·like·a·stream·! | ||
125 | 162·template<class·Y> | ||
Max diff block lines reached; 11981/25996 bytes (46.09%) 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, 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>·| | ||
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 | <p>Implement·iterators·over·GridGlue·intersections.·· | ||
83 | <a·href="#details">More...</a></p> | ||
84 | <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·/> | ||
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·/> | ||
85 | </div> | 88 | </div> |
86 | <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> |
87 | <table·class="memberdecls"> | 90 | <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"> | ||
93 | <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> |
94 | Namespaces</h2></td></tr> | 92 | 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> | 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> |
96 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 94 | <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> | 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> |
98 | <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> | ||
99 | </table> | 103 | </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> | ||
103 | </div>< | 104 | </div><!--·contents·--> |
104 | <!--·start·footer·part·--> | 105 | <!--·start·footer·part·--> |
105 | <hr·class="footer"/><address·class="footer"><small> | 106 | <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 | 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 |
107 | </small></address> | 108 | </small></address> |
108 | </body> | 109 | </body> |
109 | </html> | 110 | </html> |
Offset 1, 26 lines modified | Offset 1, 28 lines modified | ||
1 | dune-grid-glue 2.10 | 1 | dune-grid-glue 2.10 |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | ····*·_\x8d_\x8u_\x8n_\x8e | 5 | ····*·_\x8d_\x8u_\x8n_\x8e |
6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e | 6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e |
7 | ····*·_\x8a_\x8d_\x8a_\x8p_\x8t_\x8e_\x8r | 7 | ····*·_\x8a_\x8d_\x8a_\x8p_\x8t_\x8e_\x8r |
8 | _\x8C_\x8l_\x8a_\x8s_\x8s_\x8e_\x8s·|·_\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s | ||
9 | intersectioniterator.hh·File·Reference | ||
10 | Implement·iterators·over·GridGlue·intersections.·_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
11 | 8 | _.N_.a_.m_.e_.s_.p_.a_.c_.e_.s·|·_.F_.u_.n_.c_.t_.i_.o_.n_.s | |
9 | gridglue.cc·File·Reference | ||
10 | #include·"_\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8._\x8h_\x8h" | ||
11 | #include·<vector> | ||
12 | #include·<iterator> | ||
13 | #include·"_\x8._\x8._\x8/_\x8g_\x8r_\x8i_\x8d_\x8g_\x8l_\x8u_\x8e_\x8._\x8h_\x8h" | ||
14 | #include·"_\x8._\x8._\x8/_\x8c_\x8o_\x8m_\x8m_\x8o_\x8n_\x8/_\x8r_\x8i_\x8n_\x8g_\x8c_\x8o_\x8m_\x8m_\x8._\x8h_\x8h" | ||
15 | #include·<dune/common/unused.hh> | ||
12 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 16 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
13 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s | ||
14 | class· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8I_\x8t_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8<_\x8·_\x8P_\x80_\x8,_\x8·_\x8P_\x81_\x8,_\x8·_\x8i_\x8n_\x8s_\x8i_\x8d_\x8e_\x8,_\x8·_\x8o_\x8u_\x8t_\x8s_\x8i_\x8d_\x8e_\x8·_\x8> | ||
15 | |||
16 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s | 17 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s |
17 | namespace· ·_\x8D_\x8u_\x8n_\x8e | 18 | namespace· ·_\x8D_\x8u_\x8n_\x8e |
18 | 19 | ||
19 | namespace· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e | 20 | namespace· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e |
20 | 21 | ||
21 | *\x8**\x8**\x8**\x8**\x8*·D\x8De\x8et\x8ta\x8ai\x8il\x8le\x8ed\x8d·D\x8De\x8es\x8sc\x8cr\x8ri\x8ip\x8pt\x8ti\x8io\x8on\x8n·*\x8**\x8**\x8**\x8**\x8* | ||
22 | Implement·iterators·over·GridGlue·intersections. | ||
23 | ··Author | ||
24 | 22 | F.Fu.un.nc.ct.ti.io.on.ns.s | |
23 | template<typename·T·> | ||
24 | void ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8p_\x8r_\x8i_\x8n_\x8t_\x8V_\x8e_\x8c_\x8t_\x8o_\x8r·(const·std::vector<·T·>·&v,·std::string·name, | ||
25 | ······int·rank) | ||
26 | |||
25 | =============================================================================== | 27 | =============================================================================== |
26 | ·····Generated·by _\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]·1.9.8 | 28 | ·····Generated·by _\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]·1.9.8 |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-grid-glue:· | 8 | <title>dune-grid-glue:·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, 95 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">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 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> | 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="a00020.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> | ||
87 | <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> | ||
88 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor"># | 95 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#endif</span></div> |
89 | <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> |
90 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·< | 97 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·<dune/common/unused.hh></span></div> |
91 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div> | 98 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div> |
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> | 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> |
93 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span> | 100 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="keyword">namespace·</span>GridGlue·{</div> |
94 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> | 101 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> |
102 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="keyword">template</span><<span·class="keyword">typename</span>·P0,·<span·class="keyword">typename</span>·P1></div> | ||
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</span>e,·<span·class="keywordtype">int</span>·outs<span·class="keywordtype">id</span>e></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> | ||
106 | <div·class="foldopen"·id="foldopen000 | 103 | <div·class="foldopen"·id="foldopen00021"·data-start="{"·data-end="}"> |
107 | <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:·445,·SHA:·d2220dbc6fbda0a054cb803c4be880392430ebd5db77d558a5d0cce89a702bd1·...·])</div> |
108 | <div·class="line"><a·id="l000 | 105 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>··:·patches_{gp0,·gp1},·merger_(merger)</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> | ||
111 | <div·class="line"><a·id="l000 | 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> | ||
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> | ||
112 | </div> | 117 | </div> |
113 | <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> | ||
114 | <div·class="foldopen"·id="foldopen0003 | 120 | <div·class="foldopen"·id="foldopen00036"·data-start="{"·data-end="}"> |
115 | <div·class="line"><a·id="l0003 | 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&l[·...·truncated·by·diffoscope;·len:·25,·SHA:·e0080219abde002a8e948683db8f6a48668f16c35ddeea97b8072715ee039370·...·]</div> |
122 | <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><span·class="keyword | 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> | ||
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> | ||
119 | <div·class="line"><a·id="l0004 | 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> | ||
120 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>··· | 127 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>··MPI_Comm_size(mpicomm_,·&commsize);</div> |
121 | </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> |
122 | <div·class="line"><a·id="l0004 | 129 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div> |
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> | ||
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> | ||
129 | <div·class="line"><a·id="l0004 | 131 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</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="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>····intersections_.swap(dummy);</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="l000 | 134 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>··}</div> |
135 | </div> | ||
136 | <div·class="line"><a·id="l0005 | 135 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</div> |
137 | <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> | ||
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> | ||
138 | <div·class="line"><a·id="l0005 | 142 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</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> | 143 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>··<span·class="comment">/*</span></div> |
142 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span> | 144 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span><span·class="comment">···*·extract·global·surface·patches</span></div> |
143 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>···· | 145 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span><span·class="comment">···*/</span></div> |
144 | </div> | ||
145 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>·</div> | 146 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>·</div> |
146 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·· | 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> |
147 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span> | 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> | ||
148 | <div·class="line"><a·id="l0006 | 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> | ||
Max diff block lines reached; 12472/94748 bytes (13.16%) of diff not shown. |
Offset 1, 99 lines modified | Offset 1, 584 lines modified | ||
1 | dune-grid-glue 2.10 | 1 | dune-grid-glue 2.10 |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | ····*·_\x8d_\x8u_\x8n_\x8e | 5 | ····*·_\x8d_\x8u_\x8n_\x8e |
6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e | 6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e |
7 | ····*·_\x8a_\x8d_\x8a_\x8p_\x8t_\x8e_\x8r | 7 | ····*·_\x8a_\x8d_\x8a_\x8p_\x8t_\x8e_\x8r |
8 | 8 | gridglue.cc | |
9 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 9 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: | 11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: |
12 | 3//·SPDX-FileCopyrightInfo:·Copyright·Â©·DUNE·Project·contributors,·see·file | 12 | 3//·SPDX-FileCopyrightInfo:·Copyright·Â©·DUNE·Project·contributors,·see·file |
13 | LICENSE.md·in·module·root | 13 | LICENSE.md·in·module·root |
14 | 4//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with- | 14 | 4//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with- |
15 | dune-grid-glue-exception | 15 | dune-grid-glue-exception |
16 | 12#ifndef·DUNE_GRIDGLUE_ADAPTER_INTERSECTIONITERATOR_HH | ||
17 | 16 | 5/*·IMPLEMENTATION·OF·CLASS·G·R·I·D·G·L·U·E·*/ | |
17 | 6 | ||
18 | 7#include·"_\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8._\x8h_\x8h" | ||
19 | 8#include·<vector> | ||
20 | 9#include·<iterator> | ||
21 | 10#include·"../gridglue.hh" | ||
22 | 11#if·HAVE_MPI | ||
23 | 12#include·"../common/ringcomm.hh" | ||
24 | 13#endif | ||
18 | 14 | 25 | 14 |
19 | 15#include·< | 26 | 15#include·<dune/common/unused.hh> |
20 | 16 | 27 | 16 |
21 | 17namespace·_\x8D_\x8u_\x8n_\x8e·{ | 28 | 17namespace·_\x8D_\x8u_\x8n_\x8e·{ |
22 | 18 | 29 | 18namespace·GridGlue·{ |
23 | 19 | 30 | 19 |
24 | 21·template<typename·P0,·typename·P1,·int·inside,·int·outside> | ||
25 | _\x82_\x82·class·_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8I_\x8t_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r·: | ||
26 | 23·public·Dune::ForwardIteratorFacade< | ||
27 | IntersectionIterator<P0,P1,inside,outside>, | ||
28 | 24·const·Intersection<P0,P1,inside,outside>·> | ||
29 | 25·{ | ||
30 | 26·public: | ||
31 | 27 | ||
32 | _\x82_\x88·typedef·::Dune::GridGlue::GridGlue<P0,·P1>·_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e; | ||
33 | _\x82_\x89·typedef·::Dune::GridGlue::Intersection<P0,P1,inside,outside>·_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n; | ||
34 | 30 | ||
35 | _\x83_\x81·_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8I_\x8t_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r(const·_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e·*·glue,·unsigned·int·i) | ||
36 | 32·:·glue_(glue), | ||
37 | 33·index_(i), | ||
38 | 34·intersection_(glue_,·&·glue_->intersections_[index_]) | ||
39 | 35·{} | ||
40 | 36 | ||
41 | _\x83_\x87·const·_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n&·_\x8d_\x8e_\x8r_\x8e_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e()·const | ||
42 | 38·{ | ||
43 | 39·assert(("never·dereference·the·end·iterator"·&& | ||
44 | 40·index_·!=·glue_->index__sz)); | ||
45 | 41·return·intersection_; | ||
46 | 42·} | ||
47 | 43 | ||
48 | 31 | 20template<typename·P0,·typename·P1> | |
32 | _\x82_\x81_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8<_\x8P_\x80_\x8,_\x8·_\x8P_\x81_\x8>_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e(const·std::shared_ptr<·const·_\x8G_\x8r_\x8i_\x8d_\x8P_\x8a_\x8t_\x8c_\x8h_\x8<_\x80_\x8>·>&·gp0, | ||
33 | const·std::shared_ptr<·const·_\x8G_\x8r_\x8i_\x8d_\x8P_\x8a_\x8t_\x8c_\x8h_\x8<_\x81_\x8>·>&·gp1,·const·std:: | ||
34 | shared_ptr<Merger>&·merger) | ||
35 | 22·:·patches_{gp0,·gp1},·merger_(merger) | ||
36 | 23{ | ||
37 | 24#if·HAVE_MPI | ||
38 | 25·//·if·we·have·only·seq.·meshes·don't·use·parallel·glueing | ||
39 | 26·if·(gp0->gridView().comm().size()·==·1 | ||
40 | 27·&&·gp1->gridView().comm().size()·==·1) | ||
41 | 28·mpicomm_·=·MPI_COMM_SELF; | ||
42 | 29·else | ||
43 | 30·mpicomm_·=·MPI_COMM_WORLD; | ||
44 | 31#endif·//·HAVE_MPI | ||
45 | 32·std::cout·<<·"GridGlue:·Constructor·succeeded!"·<<·std::endl; | ||
46 | 33} | ||
47 | 34 | ||
48 | 35template<typename·P0,·typename·P1> | ||
49 | _\x83_\x86void·_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8<_\x8P_\x80_\x8,_\x8·_\x8P_\x81_\x8>_\x8:_\x8:_\x8b_\x8u_\x8i_\x8l_\x8d() | ||
50 | 37{ | ||
51 | 38·int·myrank·=·0; | ||
52 | 39#if·HAVE_MPI | ||
53 | 40·int·commsize·=·1; | ||
54 | 41·MPI_Comm_rank(mpicomm_,·&myrank); | ||
55 | 42·MPI_Comm_size(mpicomm_,·&commsize); | ||
56 | 43#endif·//·HAVE_MPI | ||
57 | 44 | ||
58 | 45·//·clear·the·contents·from·the·current·intersections·array | ||
49 | 4 | 59 | 46·{ |
50 | 4 | 60 | 47·std::vector<IntersectionData>·dummy(1);·//·we·need·size·1,·as·we·always |
61 | store·data·for·the·end-intersection | ||
62 | 48·intersections_.swap(dummy); | ||
51 | 4 | 63 | 49·} |
64 | 50 | ||
65 | 51·std::vector<Dune::FieldVector<ctype,·dimworld>·>·patch0coords; | ||
66 | 52·std::vector<unsigned·int>·patch0entities; | ||
67 | 53·std::vector<Dune::GeometryType>·patch0types; | ||
68 | 54·std::vector<Dune::FieldVector<ctype,dimworld>·>·patch1coords; | ||
69 | 55·std::vector<unsigned·int>·patch1entities; | ||
70 | 56·std::vector<Dune::GeometryType>·patch1types; | ||
71 | 57 | ||
72 | 58·/* | ||
73 | 59·*·extract·global·surface·patches | ||
74 | 60·*/ | ||
52 | 48 | ||
53 | _\x84_\x89·bool·_\x8e_\x8q_\x8u_\x8a_\x8l_\x8s(const·_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8I_\x8t_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r&·iter)·const | ||
54 | 50·{ | ||
55 | 51·return·iter.index_·==·index_; | ||
56 | 52·} | ||
57 | 53 | ||
58 | 54·private: | ||
59 | 55 | ||
60 | 56·const·_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e*·glue_; | ||
61 | 57·unsigned·int·index_; | ||
62 | 58 | ||
63 | 59·_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n·intersection_; | ||
64 | 60·}; | ||
65 | 61 | 75 | 61 |
76 | 62·//·retrieve·the·coordinate·and·topology·information·from·the·extractors | ||
77 | 63·//·and·apply·transformations·if·necessary | ||
78 | 64·extractGrid(patch<0>(),·patch0coords,·patch0entities,·patch0types); | ||
79 | 65·extractGrid(patch<1>(),·patch1coords,·patch1entities,·patch1types); | ||
80 | 66 | ||
81 | 67·std::cout·<<·">>>>·rank·"·<<·myrank·<<·"·coords:·" | ||
82 | 68·<<·patch0coords.size()·<<·"·and·"·<<·patch1coords.size()·<<·std::endl; | ||
83 | 69·std::cout·<<·">>>>·rank·"·<<·myrank·<<·"·entities:·" | ||
84 | 70·<<·patch0entities.size()·<<·"·and·"·<<·patch1entities.size()·<<·std::endl; | ||
85 | 71·std::cout·<<·">>>>·rank·"·<<·myrank·<<·"·types:·" | ||
86 | 72·<<·patch0types.size()·<<·"·and·"·<<·patch1types.size()·<<·std::endl; | ||
87 | 73 | ||
88 | 74#ifdef·WRITE_TO_VTK | ||
89 | 75·const·char·prefix[]·=·"GridGlue::Builder::build()·:·"; | ||
Max diff block lines reached; 8534/28038 bytes (30.44%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-grid-glue:· | 8 | <title>dune-grid-glue:·crossproduct.hh·File·Reference</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 72, 41 lines modified | Offset 72, 33 lines modified | ||
72 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_65f347cff0208f20f00d27c542208238.html">common</a></li>··</ul> | 72 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_65f347cff0208f20f00d27c542208238.html">common</a></li>··</ul> |
73 | </div> | 73 | </div> |
74 | </div><!--·top·--> | 74 | </div><!--·top·--> |
75 | <div·class="header"> | 75 | <div·class="header"> |
76 | ··<div·class="summary"> | 76 | ··<div·class="summary"> |
77 | <a·href="#namespaces">Namespaces</a>·| | 77 | <a·href="#namespaces">Namespaces</a>·| |
78 | <a·href="#func-members">Functions</a>··</div> | 78 | <a·href="#func-members">Functions</a>··</div> |
79 | ··<div·class="headertitle"><div·class="title"> | 79 | ··<div·class="headertitle"><div·class="title">crossproduct.hh·File·Reference</div></div> |
80 | </div><!--header--> | 80 | </div><!--header--> |
81 | <div·class="contents"> | 81 | <div·class="contents"> |
82 | <div·class="textblock"><code>#include·<ostream></code><br·/> | ||
83 | <code>#include·<string></code><br·/> | ||
84 | <code>#include·"<a·class="el"·href="a00041_source.html">areawriter_impl.hh</a>"</code><br·/> | ||
85 | </div> | ||
86 | <p><a·href="a00029_source.html">Go·to·the·source·code·of·this·file.</a></p> | 82 | <p><a·href="a00029_source.html">Go·to·the·source·code·of·this·file.</a></p> |
87 | <table·class="memberdecls"> | 83 | <table·class="memberdecls"> |
88 | <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> |
89 | Namespaces</h2></td></tr> | 85 | 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> | 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> |
91 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 87 | <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> | 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> |
93 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 89 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
94 | </table><table·class="memberdecls"> | 90 | </table><table·class="memberdecls"> |
95 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> | 91 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> |
96 | Functions</h2></td></tr> | 92 | Functions</h2></td></tr> |
93 | <tr·class="memitem:acbf555ac0358f96454a5f22dd4ac4de2"·id="r_acbf555ac0358f96454a5f22dd4ac4de2"><td·class="memTemplParams"·colspan="2">template<class·T·,·int·dim>·</td></tr> | ||
94 | <tr·class="memitem:acbf555ac0358f96454a5f22dd4ac4de2"><td·class="memTemplItemLeft"·align="right"·valign="top">static·Dune::FieldVector<·T,·dim·> </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00104.html#acbf555ac0358f96454a5f22dd4ac4de2">Dune::GridGlue::crossProduct</a>·(const·Dune::FieldVector<·T,·dim·>·&a,·const·Dune::FieldVector<·T,·dim·>·&b)</td></tr> | ||
95 | <tr·class="memdesc:acbf555ac0358f96454a5f22dd4ac4de2"><td·class="mdescLeft"> </td><td·class="mdescRight">compute·cross·product··<br·/></td></tr> | ||
97 | <tr·class="memitem: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:ab | 96 | <tr·class="separator:acbf555ac0358f96454a5f22dd4ac4de2"><td·class="memSeparator"·colspan="2"> </td></tr> |
106 | </table> | 97 | </table> |
107 | </div><!--·contents·--> | 98 | </div><!--·contents·--> |
108 | <!--·start·footer·part·--> | 99 | <!--·start·footer·part·--> |
109 | <hr·class="footer"/><address·class="footer"><small> | 100 | <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 | 101 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
111 | </small></address> | 102 | </small></address> |
112 | </body> | 103 | </body> |
Offset 2, 31 lines modified | Offset 2, 23 lines modified | ||
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | ····*·_\x8d_\x8u_\x8n_\x8e | 5 | ····*·_\x8d_\x8u_\x8n_\x8e |
6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e | 6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e |
7 | ····*·_\x8c_\x8o_\x8m_\x8m_\x8o_\x8n | 7 | ····*·_\x8c_\x8o_\x8m_\x8m_\x8o_\x8n |
8 | _\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s·|·_\x8F_\x8u_\x8n_\x8c_\x8t_\x8i_\x8o_\x8n_\x8s | 8 | _\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s·|·_\x8F_\x8u_\x8n_\x8c_\x8t_\x8i_\x8o_\x8n_\x8s |
9 | crossproduct.hh·File·Reference | ||
9 | areawriter.hh·File·Reference | ||
10 | #include·<ostream> | ||
11 | #include·<string> | ||
12 | #include·"_\x8a_\x8r_\x8e_\x8a_\x8w_\x8r_\x8i_\x8t_\x8e_\x8r_\x8__\x8i_\x8m_\x8p_\x8l_\x8._\x8h_\x8h" | ||
13 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 10 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
14 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s | 11 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s |
15 | namespace· ·_\x8D_\x8u_\x8n_\x8e | 12 | namespace· ·_\x8D_\x8u_\x8n_\x8e |
16 | 13 | ||
17 | namespace· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e | 14 | namespace· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e |
18 | 15 | ||
19 | F\x8Fu\x8un\x8nc\x8ct\x8ti\x8io\x8on\x8ns\x8s | 16 | F\x8Fu\x8un\x8nc\x8ct\x8ti\x8io\x8on\x8ns\x8s |
17 | template<class·T·,·int·dim> | ||
18 | static·Dune::FieldVector<·T,·dim·> ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8c_\x8r_\x8o_\x8s_\x8s_\x8P_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t·(const·Dune:: | ||
19 | ····································FieldVector<·T,·dim·>·&a,·const·Dune:: | ||
20 | ····································FieldVector<·T,·dim·>·&b) | ||
21 | ···································compute·cross·product | ||
20 | template<int·side,·typename·Glue·> | ||
21 | void ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8g_\x8l_\x8u_\x8e_\x8__\x8a_\x8r_\x8e_\x8a_\x8__\x8v_\x8t_\x8k·(const·Glue·&glue,·std::ostream·&out) | ||
22 | |||
23 | template<int·side,·typename·Glue·> | ||
24 | void ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8g_\x8l_\x8u_\x8e_\x8__\x8a_\x8r_\x8e_\x8a_\x8__\x8v_\x8t_\x8k·(const·Glue·&glue,·const·std::string | ||
25 | ······&filename) | ||
26 | |||
27 | template<typename·Glue·> | ||
28 | void ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8g_\x8l_\x8u_\x8e_\x8__\x8a_\x8r_\x8e_\x8a_\x8s_\x8__\x8v_\x8t_\x8k·(const·Glue·&glue,·const·std::string | ||
29 | ······&base) | ||
30 | 22 | ||
31 | =============================================================================== | 23 | =============================================================================== |
32 | ·····Generated·by _\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]·1.9.8 | 24 | ·····Generated·by _\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]·1.9.8 |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-grid-glue:· | 8 | <title>dune-grid-glue:·crossproduct.hh·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 74, 47 lines modified | Offset 74, 48 lines modified | ||
74 | <div·id="nav-path"·class="navpath"> | 74 | <div·id="nav-path"·class="navpath"> |
75 | ··<ul> | 75 | ··<ul> |
76 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_65f347cff0208f20f00d27c542208238.html">common</a></li>··</ul> | 76 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_65f347cff0208f20f00d27c542208238.html">common</a></li>··</ul> |
77 | </div> | 77 | </div> |
78 | </div><!--·top·--> | 78 | </div><!--·top·--> |
79 | <div·class="header"> | 79 | <div·class="header"> |
80 | ··<div·class="headertitle"><div·class="title"> | 80 | ··<div·class="headertitle"><div·class="title">crossproduct.hh</div></div> |
81 | </div><!--header--> | 81 | </div><!--header--> |
82 | <div·class="contents"> | 82 | <div·class="contents"> |
83 | <a·href="a00029.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·©·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div> | 83 | <a·href="a00029.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·©·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div> |
84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with-dune-grid-glue-exception</span></div> | 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with-dune-grid-glue-exception</span></div> |
85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_GRIDGLUE_COMMON_ | 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_GRIDGLUE_COMMON_CROSSPRODUCT_HH</span></div> |
86 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_GRIDGLUE_COMMON_ | 86 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_GRIDGLUE_COMMON_CROSSPRODUCT_HH·1</span></div> |
87 | <div·class="line"><a·id="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=" | 88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00103.html">Dune</a>·{</div> |
89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class=" | 89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="keyword">namespace·</span>GridGlue·{</div> |
90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span>·</div> | 90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span>·</div> |
91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="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="l0001 | 91 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="keyword">template</span>·<<span·class="keyword">class</span>·T,·<span·class="keywordtype">int</span>·dim></div> |
92 | <div·class="foldopen"·id="foldopen00015"·data-start="{"·data-end="}"> | ||
93 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno"><a·class="line"·href="a00104.html#acbf555ac0358f96454a5f22dd4ac4de2">···15</a></span><span·class="keyword">static</span>·Dune::FieldVector<T,dim>·<a·class="code·hl_function"·href="a00104.html#acbf555ac0358f96454a5f22dd4ac4de2">crossProduct</a>(<span·class="keyword">const</span>·Dune::FieldVector<T,dim>&·a,</div> | ||
94 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·············································<span·class="keyword">const</span>·Dune::FieldVector<T,dim>&·b)</div> | ||
95 | <div·class="line"><a·id="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> | ||
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> | ||
99 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span> | 95 | <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="l000 | 96 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>··<span·class="keywordflow">if</span>·(dim!=3)</div> |
97 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>····DUNE_THROW(Dune::NotImplemented,·<span·class="stringliteral">"crossProduct·does·not·work·for·dimension·"</span>·<<·dim);</div> | ||
105 | <div·class="line"><a·id="l000 | 98 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div> |
106 | <div·class="line"><a·id="l000 | 99 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>··Dune::FieldVector<T,dim>·c;</div> |
100 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>··c[0]·=·a[1]*b[2]·-·a[2]*b[1];</div> | ||
101 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>··c[1]·=·a[2]*b[0]·-·a[0]*b[2];</div> | ||
102 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>··c[2]·=·a[0]*b[1]·-·a[1]*b[0];</div> | ||
107 | <div·class="line"><a·id="l000 | 103 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div> |
104 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>··<span·class="keywordflow">return</span>·c;</div> | ||
105 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>}</div> | ||
106 | </div> | ||
107 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div> | ||
108 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>}·<span·class="comment">/*·namespace·GridGlue·*/</span></div> | ||
109 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>}·<span·class="comment">/*·namespace·Dune·*/</span></div> | ||
110 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div> | ||
108 | <div·class="line"><a·id="l000 | 111 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">#endif</span></div> |
109 | <div·class="ttc"·id="aa00041_html"><div·class="ttname"><a·href="a00041.html">areawriter_impl.hh</a></div></div> | ||
110 | <div·class="ttc"·id="aa00103_html"><div·class="ttname"><a·href="a00103.html">Dune</a></div><div·class="ttdef"><b>Definition</b>·gridglue.hh:37</div></div> | 112 | <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> |
113 | <div·class="ttc"·id="aa00104_html_acbf555ac0358f96454a5f22dd4ac4de2"><div·class="ttname"><a·href="a00104.html#acbf555ac0358f96454a5f22dd4ac4de2">Dune::GridGlue::crossProduct</a></div><div·class="ttdeci">static·Dune::FieldVector<·T,·dim·>·crossProduct(const·Dune::FieldVector<·T,·dim·>·&a,·const·Dune::FieldVector<·T,·dim·>·&b)</div><div·class="ttdoc">compute·cross·product</div><div·class="ttdef"><b>Definition</b>·crossproduct.hh:15</div></div> | ||
111 | <div·class="ttc"·id="aa00104_html_a16ccdbde4466d3073eab2a0f25d78f4e"><div·class="ttname"><a·href="a00104.html#a16ccdbde4466d3073eab2a0f25d78f4e">Dune::GridGlue::write_glue_area_vtk</a></div><div·class="ttdeci">void·write_glue_area_vtk(const·Glue·&glue,·std::ostream·&out)</div><div·class="ttdef"><b>Definition</b>·areawriter_impl.hh:84</div></div> | ||
112 | <div·class="ttc"·id="aa00104_html_ab4463688255524d5d7433ae6af851884"><div·class="ttname"><a·href="a00104.html#ab4463688255524d5d7433ae6af851884">Dune::GridGlue::write_glue_areas_vtk</a></div><div·class="ttdeci">void·write_glue_areas_vtk(const·Glue·&glue,·const·std::string·&base)</div><div·class="ttdef"><b>Definition</b>·areawriter_impl.hh:129</div></div> | ||
113 | </div><!--·fragment·--></div><!--·contents·--> | 114 | </div><!--·fragment·--></div><!--·contents·--> |
114 | <!--·start·footer·part·--> | 115 | <!--·start·footer·part·--> |
115 | <hr·class="footer"/><address·class="footer"><small> | 116 | <hr·class="footer"/><address·class="footer"><small> |
116 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 117 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
117 | </small></address> | 118 | </small></address> |
118 | </body> | 119 | </body> |
119 | </html> | 120 | </html> |
Offset 1, 48 lines modified | Offset 1, 49 lines modified | ||
1 | dune-grid-glue 2.10 | 1 | dune-grid-glue 2.10 |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | ····*·_\x8d_\x8u_\x8n_\x8e | 5 | ····*·_\x8d_\x8u_\x8n_\x8e |
6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e | 6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e |
7 | ····*·_\x8c_\x8o_\x8m_\x8m_\x8o_\x8n | 7 | ····*·_\x8c_\x8o_\x8m_\x8m_\x8o_\x8n |
8 | 8 | crossproduct.hh | |
9 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 9 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
10 | 1//·SPDX-FileCopyrightInfo:·Copyright·Â©·DUNE·Project·contributors,·see·file | 10 | 1//·SPDX-FileCopyrightInfo:·Copyright·Â©·DUNE·Project·contributors,·see·file |
11 | LICENSE.md·in·module·root | 11 | LICENSE.md·in·module·root |
12 | 2//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with- | 12 | 2//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with- |
13 | dune-grid-glue-exception | 13 | dune-grid-glue-exception |
14 | 3#ifndef·DUNE_GRIDGLUE_COMMON_ | 14 | 3#ifndef·DUNE_GRIDGLUE_COMMON_CROSSPRODUCT_HH |
15 | 4#define·DUNE_GRIDGLUE_COMMON_ | 15 | 4#define·DUNE_GRIDGLUE_COMMON_CROSSPRODUCT_HH·1 |
16 | 5 | 16 | 5 |
17 | 6#include·<ostream> | ||
18 | 17 | 6namespace·_.D_.u_.n_.e·{ | |
18 | 7namespace·GridGlue·{ | ||
19 | 8 | 19 | 8 |
20 | 14template·<class·T,·int·dim> | ||
21 | _\x81_\x85static·Dune::FieldVector<T,dim>·_\x8c_\x8r_\x8o_\x8s_\x8s_\x8P_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t(const·Dune::FieldVector<T,dim>& | ||
22 | a, | ||
23 | 16·const·Dune::FieldVector<T,dim>&·b) | ||
20 | 9namespace·_\x8D_\x8u_\x8n_\x8e·{ | ||
21 | 10namespace·GridGlue·{ | ||
22 | 11 | ||
23 | 12template<int·side,·typename·Glue> | ||
24 | 13void·_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8g_\x8l_\x8u_\x8e_\x8__\x8a_\x8r_\x8e_\x8a_\x8__\x8v_\x8t_\x8k(const·Glue&·glue,·std::ostream&·out); | ||
25 | 14 | ||
26 | 15template<int·side,·typename·Glue> | ||
27 | 16void·_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8g_\x8l_\x8u_\x8e_\x8__\x8a_\x8r_\x8e_\x8a_\x8__\x8v_\x8t_\x8k(const·Glue&·glue,·const·std::string&·filename); | ||
28 | 17 | 24 | 17{ |
29 | 37template<typename·Glue> | ||
30 | 38void·_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8g_\x8l_\x8u_\x8e_\x8__\x8a_\x8r_\x8e_\x8a_\x8s_\x8__\x8v_\x8t_\x8k(const·Glue&·glue,·const·std::string&·base); | ||
31 | 3 | 25 | 18·if·(dim!=3) |
26 | 19·DUNE_THROW(Dune::NotImplemented,·"crossProduct·does·not·work·for·dimension·" | ||
27 | <<·dim); | ||
28 | 20 | ||
29 | 21·Dune::FieldVector<T,dim>·c; | ||
30 | 22·c[0]·=·a[1]*b[2]·-·a[2]*b[1]; | ||
31 | 23·c[1]·=·a[2]*b[0]·-·a[0]*b[2]; | ||
32 | 24·c[2]·=·a[0]*b[1]·-·a[1]*b[0]; | ||
33 | 25 | ||
34 | 26·return·c; | ||
35 | 27} | ||
36 | 28 | ||
32 | 37 | 29}·/*·namespace·GridGlue·*/ | |
33 | 38 | 30}·/*·namespace·Dune·*/ | |
39 | 31 | ||
34 | 42 | ||
35 | 43#include·"_\x8a_\x8r_\x8e_\x8a_\x8w_\x8r_\x8i_\x8t_\x8e_\x8r_\x8__\x8i_\x8m_\x8p_\x8l_\x8._\x8h_\x8h" | ||
36 | 44 | ||
37 | 40 | 32#endif | |
38 | _\x8a_\x8r_\x8e_\x8a_\x8w_\x8r_\x8i_\x8t_\x8e_\x8r_\x8__\x8i_\x8m_\x8p_\x8l_\x8._\x8h_\x8h | ||
39 | _\x8D_\x8u_\x8n_\x8e | 41 | _\x8D_\x8u_\x8n_\x8e |
40 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·gridglue.hh:37 | 42 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·gridglue.hh:37 |
41 | _\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8 | 43 | _\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8c_.r_.o_.s_.s_.P_.r_.o_.d_.u_.c_.t |
44 | static·Dune::FieldVector<·T,·dim·>·crossProduct(const·Dune::FieldVector<·T,·dim | ||
45 | >·&a,·const·Dune::FieldVector<·T,·dim·>·&b) | ||
46 | compute·cross·product | ||
42 | void·write_glue_area_vtk(const·Glue·&glue,·std::ostream·&out) | ||
43 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·areawriter_impl.hh:84 | ||
44 | _\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8g_\x8l_\x8u_\x8e_\x8__\x8a_\x8r_\x8e_\x8a_\x8s_\x8__\x8v_\x8t_\x8k | ||
45 | void·write_glue_areas_vtk(const·Glue·&glue,·const·std::string·&base) | ||
46 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n· | 47 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·crossproduct.hh:15 |
47 | =============================================================================== | 48 | =============================================================================== |
48 | ·····Generated·by _\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]·1.9.8 | 49 | ·····Generated·by _\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]·1.9.8 |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-grid-glue:· | 8 | <title>dune-grid-glue:·areawriter_impl.hh·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, 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"> |
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·/> | ||
88 | </div> | ||
82 | <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> |
83 | <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"> | ||
84 | <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> |
85 | Namespaces</h2></td></tr> | 97 | 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> | 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> |
87 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 99 | <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> | 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> |
89 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 101 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
102 | <tr·class="memitem:a00105"·id="r_a00105"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00105.html">Dune::GridGlue::AreaWriterImplementation</a></td></tr> | ||
103 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
90 | </table><table·class="memberdecls"> | 104 | </table><table·class="memberdecls"> |
91 | <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> |
92 | Functions</h2></td></tr> | 106 | Functions</h2></td></tr> |
93 | <tr·class="memitem:acbf555ac0358f96454a5f22dd4ac4de2"·id="r_acbf555ac0358f96454a5f22dd4ac4de2"><td·class="memTemplParams"·colspan="2">template<class·T·,·int·dim>·</td></tr> | ||
94 | <tr·class="memitem:acbf555ac0358f96454a5f22dd4ac4de2"><td·class="memTemplItemLeft"·align="right"·valign="top">static·Dune::FieldVector<·T,·dim·> </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00104.html#acbf555ac0358f96454a5f22dd4ac4de2">Dune::GridGlue::crossProduct</a>·(const·Dune::FieldVector<·T,·dim·>·&a,·const·Dune::FieldVector<·T,·dim·>·&b)</td></tr> | ||
95 | <tr·class="mem | 107 | <tr·class="memitem:a316a8c6e2c55f8ee9a9a9424794632a7"·id="r_a316a8c6e2c55f8ee9a9a9424794632a7"><td·class="memTemplParams"·colspan="2">template<typename·GridView·>·</td></tr> |
108 | <tr·class="memitem:a316a8c6e2c55f8ee9a9a9424794632a7"><td·class="memTemplItemLeft"·align="right"·valign="top">void </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00105.html#a316a8c6e2c55f8ee9a9a9424794632a7">Dune::GridGlue::AreaWriterImplementation::write_facet_geometry</a>·(const·GridView·&gv,·std::ostream·&out)</td></tr> | ||
109 | <tr·class="separator:a316a8c6e2c55f8ee9a9a9424794632a7"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
110 | <tr·class="memitem:a16ccdbde4466d3073eab2a0f25d78f4e"·id="r_a16ccdbde4466d3073eab2a0f25d78f4e"><td·class="memTemplParams"·colspan="2">template<int·side,·typename·Glue·>·</td></tr> | ||
111 | <tr·class="memitem:a16ccdbde4466d3073eab2a0f25d78f4e"><td·class="memTemplItemLeft"·align="right"·valign="top">void </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00104.html#a16ccdbde4466d3073eab2a0f25d78f4e">Dune::GridGlue::write_glue_area_vtk</a>·(const·Glue·&glue,·std::ostream·&out)</td></tr> | ||
112 | <tr·class="separator:a16ccdbde4466d3073eab2a0f25d78f4e"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
113 | <tr·class="memitem:a426e3cf8b8d851b1091af8ad0b2ff2de"·id="r_a426e3cf8b8d851b1091af8ad0b2ff2de"><td·class="memTemplParams"·colspan="2">template<int·side,·typename·Glue·>·</td></tr> | ||
114 | <tr·class="memitem:a426e3cf8b8d851b1091af8ad0b2ff2de"><td·class="memTemplItemLeft"·align="right"·valign="top">void </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00104.html#a426e3cf8b8d851b1091af8ad0b2ff2de">Dune::GridGlue::write_glue_area_vtk</a>·(const·Glue·&glue,·const·std::string·&filename)</td></tr> | ||
96 | <tr·class="separator:a | 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> | ||
97 | </table> | 119 | </table> |
98 | </div><!--·contents·--> | 120 | </div><!--·contents·--> |
99 | <!--·start·footer·part·--> | 121 | <!--·start·footer·part·--> |
100 | <hr·class="footer"/><address·class="footer"><small> | 122 | <hr·class="footer"/><address·class="footer"><small> |
101 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 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 |
102 | </small></address> | 124 | </small></address> |
103 | </body> | 125 | </body> |
Offset 1, 24 lines modified | Offset 1, 43 lines modified | ||
1 | dune-grid-glue 2.10 | 1 | dune-grid-glue 2.10 |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | ····*·_\x8d_\x8u_\x8n_\x8e | 5 | ····*·_\x8d_\x8u_\x8n_\x8e |
6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e | 6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e |
7 | ····*·_\x8c_\x8o_\x8m_\x8m_\x8o_\x8n | 7 | ····*·_\x8c_\x8o_\x8m_\x8m_\x8o_\x8n |
8 | _\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s·|·_\x8F_\x8u_\x8n_\x8c_\x8t_\x8i_\x8o_\x8n_\x8s | 8 | _\x8C_.l_.a_.s_.s_.e_.s·|·_.N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s·|·_\x8F_\x8u_\x8n_\x8c_\x8t_\x8i_\x8o_\x8n_\x8s |
9 | 9 | areawriter_impl.hh·File·Reference | |
10 | #include·<fstream> | ||
11 | #include·<vector> | ||
12 | #include·<dune/common/fvector.hh> | ||
13 | #include·<dune/geometry/type.hh> | ||
14 | #include·<dune/grid/common/mcmgmapper.hh> | ||
10 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 15 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
16 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s | ||
17 | struct· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8A_\x8r_\x8e_\x8a_\x8W_\x8r_\x8i_\x8t_\x8e_\x8r_\x8I_\x8m_\x8p_\x8l_\x8e_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8:_\x8:_\x8F_\x8a_\x8c_\x8e_\x8t_\x8L_\x8a_\x8y_\x8o_\x8u_\x8t_\x8<_\x8·_\x8d_\x8i_\x8m_\x8g_\x8r_\x8i_\x8d_\x8·_\x8> | ||
18 | |||
11 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s | 19 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s |
12 | namespace· ·_\x8D_\x8u_\x8n_\x8e | 20 | namespace· ·_\x8D_\x8u_\x8n_\x8e |
13 | 21 | ||
14 | namespace· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e | 22 | namespace· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e |
15 | 23 | ||
24 | namespace· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8A_\x8r_\x8e_\x8a_\x8W_\x8r_\x8i_\x8t_\x8e_\x8r_\x8I_\x8m_\x8p_\x8l_\x8e_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n | ||
25 | |||
16 | F\x8Fu\x8un\x8nc\x8ct\x8ti\x8io\x8on\x8ns\x8s | 26 | F\x8Fu\x8un\x8nc\x8ct\x8ti\x8io\x8on\x8ns\x8s |
17 | template<class·T·,·int·dim> | ||
18 | static·Dune::FieldVector<·T,·dim·> ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8c_\x8r_\x8o_\x8s_\x8s_\x8P_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t·(const·Dune:: | ||
19 | ····································FieldVector<·T,·dim·>·&a,·const·Dune:: | ||
20 | ····································FieldVector<·T,·dim·>·&b) | ||
21 | 27 | template<typename·GridView·> | |
28 | void ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8A_\x8r_\x8e_\x8a_\x8W_\x8r_\x8i_\x8t_\x8e_\x8r_\x8I_\x8m_\x8p_\x8l_\x8e_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8:_\x8:_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8f_\x8a_\x8c_\x8e_\x8t_\x8__\x8g_\x8e_\x8o_\x8m_\x8e_\x8t_\x8r_\x8y·(const | ||
29 | ······GridView·&gv,·std::ostream·&out) | ||
30 | |||
31 | template<int·side,·typename·Glue·> | ||
32 | void ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8g_\x8l_\x8u_\x8e_\x8__\x8a_\x8r_\x8e_\x8a_\x8__\x8v_\x8t_\x8k·(const·Glue·&glue,·std::ostream·&out) | ||
33 | |||
34 | template<int·side,·typename·Glue·> | ||
35 | void ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8g_\x8l_\x8u_\x8e_\x8__\x8a_\x8r_\x8e_\x8a_\x8__\x8v_\x8t_\x8k·(const·Glue·&glue,·const·std::string | ||
36 | ······&filename) | ||
37 | |||
38 | template<typename·Glue·> | ||
39 | void ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8g_\x8l_\x8u_\x8e_\x8__\x8a_\x8r_\x8e_\x8a_\x8s_\x8__\x8v_\x8t_\x8k·(const·Glue·&glue,·const·std::string | ||
40 | ······&base) | ||
22 | 41 | ||
23 | =============================================================================== | 42 | =============================================================================== |
24 | ·····Generated·by _\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]·1.9.8 | 43 | ·····Generated·by _\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]·1.9.8 |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-grid-glue:· | 8 | <title>dune-grid-glue:·areawriter_impl.hh·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 74, 48 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">#i | 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#include·<fstream></span></div> |
86 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor"># | 86 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#include·<vector></span></div> |
87 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> | 87 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> |
88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#include·<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> | ||
91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> | ||
88 | <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> |
89 | <div·class="line"><a·id="l000 | 93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="keyword">namespace·</span>GridGlue·{</div> |
90 | <div·class="line"><a·id="l000 | 94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div> |
91 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="keyword">template</span>·<<span·class="keyword">class</span>·T,·<span·class="keywordtype">int</span>·dim></div> | ||
92 | <div·class="foldopen"·id="foldopen0001 | 95 | <div·class="foldopen"·id="foldopen00013"·data-start="{"·data-end="}"> |
93 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno"><a·class="line"·href="a00104.html#acbf555ac0358f96454a5f22dd4ac4de2">···15</a></span><span·class="keyword">static</span>·Dune::FieldVector<T,dim>·<a·class="code·hl_function"·href="a00104.html#acbf555ac0358f96454a5f22dd4ac4de2">crossProduct</a>(<span·class="keyword">const</span>·Dune::FieldVector<T,dim>&·a,</div> | ||
94 | <div·class="line"><a·id="l0001 | 96 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno"><a·class="line"·href="a00105.html">···13</a></span><span·class="keyword">namespace·</span>AreaWriterImplementation·{</div> |
97 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div> | ||
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> | ||
95 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>{</div> | 101 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>{</div> |
102 | <div·class="foldopen"·id="foldopen00018"·data-start="{"·data-end="}"> | ||
103 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno"><a·class="line"·href="a00990.html#a0b798955dfeaee197a8fa79acc46d85d">···18</a></span>··<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a00990.html#a0b798955dfeaee197a8fa79acc46d85d">contains</a>(Dune::GeometryType·gt)<span·class="keyword">·const</span></div> | ||
96 | <div·class="line"><a·id="l0001 | 104 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="keyword">····</span>{</div> |
97 | <div·class="line"><a·id="l000 | 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> |
98 | <div·class="line"><a·id="l0002 | 106 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>····}</div> |
99 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>··Dune::FieldVector<T,dim>·c;</div> | ||
100 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>··c[0]·=·a[1]*b[2]·-·a[2]*b[1];</div> | ||
101 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>··c[1]·=·a[2]*b[0]·-·a[0]*b[2];</div> | ||
102 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>··c[2]·=·a[0]*b[1]·-·a[1]*b[0];</div> | ||
103 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div> | ||
104 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>··<span·class="keywordflow">return</span>·c;</div> | ||
105 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>}</div> | ||
106 | </div> | 107 | </div> |
108 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>};</div> | ||
109 | </div> | ||
110 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div> | ||
111 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="keyword">template</span><<span·class="keyword">typename</span>·Gr<span·class="keywordtype">id</span>View></div> | ||
112 | <div·class="foldopen"·id="foldopen00025"·data-start="{"·data-end="}"> | ||
113 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno"><a·class="line"·href="a00105.html#a316a8c6e2c55f8ee9a9a9424794632a7">···25</a></span><span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a00105.html#a316a8c6e2c55f8ee9a9a9424794632a7">write_facet_geometry</a>(<span·class="keyword">const</span>·GridView&·gv,·std::ostream&·out)</div> | ||
114 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>{</div> | ||
115 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>··<span·class="keyword">using·</span>Coordinate·=·Dune::FieldVector<double,·3>;</div> | ||
107 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div> | 116 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div> |
108 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span> | 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> | ||
109 | <div·class="line"><a·id="l0003 | 121 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>······<span·class="comment">/*·VTK·always·needs·3-dim·coordinates...·*/</span></div> |
122 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>······<span·class="keyword">const</span>·<span·class="keyword">auto</span>·c0·=·geometry.corner(i);</div> | ||
123 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>······Coordinate·c1;</div> | ||
124 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>······<span·class="keywordflow">for</span>·(<span·class="keywordtype">int</span>·d·=·0;·d·<·GridView::dimensionworld;·++d)</div> | ||
125 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>········c1[d]·=·c0[d];</div> | ||
126 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>······<span·class="keywordflow">for</span>·(<span·class="keywordtype">int</span>·d·=·GridView::dimensionworld;·d·<·Coordinate::dimension;·++d)</div> | ||
127 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>········c1[d]·=·<span·class="keywordtype">double</span>(0);</div> | ||
128 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>······corners.push_back(c1);</div> | ||
129 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>····}</div> | ||
130 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>··}</div> | ||
110 | <div·class="line"><a·id="l000 | 131 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</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>····out·<<·<span·class="stringliteral">"DATASET·UNSTRUCTURED_GRID\n"</span></div> | ||
134 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>········<<·<span·class="stringliteral">"POINTS·"</span>·<<·corners.size()·<<·<span·class="stringliteral">"·double\n"</span>;</div> | ||
135 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>····<span·class="keywordflow">for</span>·(<span·class="keyword">const</span>·<span·class="keyword">auto</span>&·c·:·corners)</div> | ||
136 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>······out·<<·c·<<·<span·class="stringliteral">"\n"</span>;</div> | ||
137 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>··}</div> | ||
138 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>··{</div> | ||
139 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>····out·<<·<span·class="stringliteral">"CELLS·"</span>·<<·gv.size(1)·<<·<span·class="stringliteral">"·"</span>·<<·(gv.size(1)·+·corners.size())·<<·<span·class="stringliteral">"\n"</span>;</div> | ||
140 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>····std::size_t·c·=·0;</div> | ||
141 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>····<span·class="keywordflow">for</span>·(<span·class="keyword">const</span>·<span·class="keyword">auto</span>&·facet·:·facets(gv))·{</div> | ||
142 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>······<span·class="keyword">const</span>·<span·class="keyword">auto</span>·geometry·=·facet.geometry();</div> | ||
143 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>······out·<<·geometry.corners();</div> | ||
144 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>······<span·class="keywordflow">for</span>·(<span·class="keywordtype">int</span>·i·=·0;·i·<·geometry.corners();·++i,·++c)</div> | ||
145 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>········out·<<·<span·class="stringliteral">"·"</span>·<<·c;</div> | ||
146 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>······out·<<·<span·class="stringliteral">"\n"</span>;</div> | ||
147 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>····}</div> | ||
148 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>··}</div> | ||
149 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>··{</div> | ||
150 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>····out·<<·<span·class="stringliteral">"CELL_TYPES·"</span>·<<·gv.size(1)·<<·<span·class="stringliteral">"\n"</span>;</div> | ||
151 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>····<span·class="keywordflow">for</span>·(<span·class="keyword">const</span>·<span·class="keyword">auto</span>&·facet·:·facets(gv))·{</div> | ||
152 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>······<span·class="keyword">const</span>·<span·class="keyword">auto</span>·type·=·facet.type();</div> | ||
153 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>······<span·class="keywordflow">if</span>·(type.isVertex())</div> | ||
154 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>········out·<<·<span·class="stringliteral">"1\n"</span>;</div> | ||
155 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>······<span·class="keywordflow">else</span>·<span·class="keywordflow">if</span>·(type.isLine())</div> | ||
156 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>········out·<<·<span·class="stringliteral">"2\n"</span>;</div> | ||
157 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>······<span·class="keywordflow">else</span>·<span·class="keywordflow">if</span>·(type.isTriangle())</div> | ||
158 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>········out·<<·<span·class="stringliteral">"5\n"</span>;</div> | ||
159 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>······<span·class="keywordflow">else</span>·<span·class="keywordflow">if</span>·(type.isQuadrilateral())</div> | ||
160 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>········out·<<·<span·class="stringliteral">"9\n"</span>;</div> | ||
161 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>······<span·class="keywordflow">else</span>·<span·class="keywordflow">if</span>·(type.isTetrahedron())</div> | ||
162 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>········out·<<·<span·class="stringliteral">"10\n"</span>;</div> | ||
111 | <div·class="line"><a·id="l000 | 163 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>······<span·class="keywordflow">else</span></div> |
164 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>········DUNE_THROW(Dune::Exception,·<span·class="stringliteral">"Unhandled·geometry·type"</span>);</div> | ||
165 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>····}</div> | ||
166 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>··}</div> | ||
167 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>}</div> | ||
168 | </div> | ||
169 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>·</div> | ||
170 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>}·<span·class="comment">/*·namespace·AreaWriterImplementation·*/</span></div> | ||
171 | </div> | ||
172 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>·</div> | ||
173 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span><span·class="keyword">template</span><<span·class="keywordtype">int</span>·s<span·class="keywordtype">id</span>e,·<span·class="keyword">typename</span>·Glue></div> | ||
174 | <div·class="foldopen"·id="foldopen00084"·data-start="{"·data-end="}"> | ||
Max diff block lines reached; 3069/32492 bytes (9.45%) of diff not shown. |
Offset 1, 49 lines modified | Offset 1, 184 lines modified | ||
1 | dune-grid-glue 2.10 | 1 | dune-grid-glue 2.10 |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | ····*·_\x8d_\x8u_\x8n_\x8e | 5 | ····*·_\x8d_\x8u_\x8n_\x8e |
6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e | 6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e |
7 | ····*·_\x8c_\x8o_\x8m_\x8m_\x8o_\x8n | 7 | ····*·_\x8c_\x8o_\x8m_\x8m_\x8o_\x8n |
8 | 8 | areawriter_impl.hh | |
9 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 9 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
10 | 1//·SPDX-FileCopyrightInfo:·Copyright·Â©·DUNE·Project·contributors,·see·file | 10 | 1//·SPDX-FileCopyrightInfo:·Copyright·Â©·DUNE·Project·contributors,·see·file |
11 | LICENSE.md·in·module·root | 11 | LICENSE.md·in·module·root |
12 | 2//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with- | 12 | 2//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with- |
13 | dune-grid-glue-exception | 13 | dune-grid-glue-exception |
14 | 3#ifndef·DUNE_GRIDGLUE_COMMON_CROSSPRODUCT_HH | ||
15 | 14 | 3#include·<fstream> | |
15 | 4#include·<vector> | ||
16 | 5 | 16 | 5 |
17 | 6#include·<dune/common/fvector.hh> | ||
18 | 7#include·<dune/geometry/type.hh> | ||
19 | 8#include·<dune/grid/common/mcmgmapper.hh> | ||
20 | 9 | ||
17 | 21 | 10namespace·_\x8D_\x8u_\x8n_\x8e·{ | |
18 | 22 | 11namespace·GridGlue·{ | |
19 | 8 | ||
20 | 14template·<class·T,·int·dim> | ||
21 | _\x81_\x85static·Dune::FieldVector<T,dim>·_\x8c_\x8r_\x8o_\x8s_\x8s_\x8P_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t(const·Dune::FieldVector<T,dim>& | ||
22 | a, | ||
23 | 1 | 23 | 12 |
24 | _\x81_\x83namespace·AreaWriterImplementation·{ | ||
25 | 14 | ||
26 | 15template<int·dimgrid> | ||
27 | _\x81_\x86struct·_\x8F_\x8a_\x8c_\x8e_\x8t_\x8L_\x8a_\x8y_\x8o_\x8u_\x8t | ||
24 | 17{ | 28 | 17{ |
29 | _\x81_\x88·bool·_\x8c_\x8o_\x8n_\x8t_\x8a_\x8i_\x8n_\x8s(Dune::GeometryType·gt)·const | ||
30 | 19·{ | ||
31 | 20·return·gt.dim()·==·dimgrid·-·1; | ||
32 | 21·} | ||
33 | 22}; | ||
34 | 23 | ||
35 | 24template<typename·GridView> | ||
36 | _\x82_\x85void·_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8f_\x8a_\x8c_\x8e_\x8t_\x8__\x8g_\x8e_\x8o_\x8m_\x8e_\x8t_\x8r_\x8y(const·GridView&·gv,·std::ostream&·out) | ||
37 | 26{ | ||
38 | 27·using·Coordinate·=·Dune::FieldVector<double,·3>; | ||
25 | 18·if·(dim!=3) | ||
26 | 19·DUNE_THROW(Dune::NotImplemented,·"crossProduct·does·not·work·for·dimension·" | ||
27 | <<·dim); | ||
28 | 20 | ||
29 | 21·Dune::FieldVector<T,dim>·c; | ||
30 | 22·c[0]·=·a[1]*b[2]·-·a[2]*b[1]; | ||
31 | 23·c[1]·=·a[2]*b[0]·-·a[0]*b[2]; | ||
32 | 24·c[2]·=·a[0]*b[1]·-·a[1]*b[0]; | ||
33 | 25 | ||
34 | 26·return·c; | ||
35 | 27} | ||
36 | 28 | 39 | 28 |
40 | 29·std::vector<Coordinate>·corners; | ||
41 | 30·for·(const·auto&·facet·:·facets(gv))·{ | ||
42 | 31·const·auto·geometry·=·facet.geometry(); | ||
43 | 32·for·(int·i·=·0;·i·<·geometry.corners();·++i)·{ | ||
44 | 33·/*·VTK·always·needs·3-dim·coordinates...·*/ | ||
45 | 34·const·auto·c0·=·geometry.corner(i); | ||
46 | 35·Coordinate·c1; | ||
47 | 36·for·(int·d·=·0;·d·<·GridView::dimensionworld;·++d) | ||
48 | 37·c1[d]·=·c0[d]; | ||
49 | 38·for·(int·d·=·GridView::dimensionworld;·d·<·Coordinate::dimension;·++d) | ||
50 | 39·c1[d]·=·double(0); | ||
51 | 40·corners.push_back(c1); | ||
52 | 41·} | ||
53 | 42·} | ||
54 | 43 | ||
55 | 44·{ | ||
56 | 45·out·<<·"DATASET·UNSTRUCTURED_GRID\n" | ||
57 | 46·<<·"POINTS·"·<<·corners.size()·<<·"·double\n"; | ||
58 | 47·for·(const·auto&·c·:·corners) | ||
59 | 48·out·<<·c·<<·"\n"; | ||
60 | 49·} | ||
61 | 50·{ | ||
62 | 51·out·<<·"CELLS·"·<<·gv.size(1)·<<·"·"·<<·(gv.size(1)·+·corners.size())·<< | ||
63 | "\n"; | ||
64 | 52·std::size_t·c·=·0; | ||
65 | 53·for·(const·auto&·facet·:·facets(gv))·{ | ||
66 | 54·const·auto·geometry·=·facet.geometry(); | ||
67 | 55·out·<<·geometry.corners(); | ||
68 | 56·for·(int·i·=·0;·i·<·geometry.corners();·++i,·++c) | ||
69 | 57·out·<<·"·"·<<·c; | ||
70 | 58·out·<<·"\n"; | ||
71 | 59·} | ||
72 | 60·} | ||
73 | 61·{ | ||
74 | 62·out·<<·"CELL_TYPES·"·<<·gv.size(1)·<<·"\n"; | ||
75 | 63·for·(const·auto&·facet·:·facets(gv))·{ | ||
76 | 64·const·auto·type·=·facet.type(); | ||
77 | 65·if·(type.isVertex()) | ||
78 | 66·out·<<·"1\n"; | ||
79 | 67·else·if·(type.isLine()) | ||
80 | 68·out·<<·"2\n"; | ||
81 | 69·else·if·(type.isTriangle()) | ||
82 | 70·out·<<·"5\n"; | ||
83 | 71·else·if·(type.isQuadrilateral()) | ||
84 | 72·out·<<·"9\n"; | ||
85 | 73·else·if·(type.isTetrahedron()) | ||
86 | 74·out·<<·"10\n"; | ||
87 | 75·else | ||
88 | 76·DUNE_THROW(Dune::Exception,·"Unhandled·geometry·type"); | ||
89 | 77·} | ||
90 | 78·} | ||
91 | 79} | ||
92 | 80 | ||
93 | 81}·/*·namespace·AreaWriterImplementation·*/ | ||
94 | 82 | ||
95 | 83template<int·side,·typename·Glue> | ||
96 | _\x88_\x84void·_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8g_\x8l_\x8u_\x8e_\x8__\x8a_\x8r_\x8e_\x8a_\x8__\x8v_\x8t_\x8k(const·Glue&·glue,·std::ostream&·out) | ||
97 | 85{ | ||
98 | 86·using·GridView·=·typename·std::decay<·decltype(glue.template·gridView<side> | ||
99 | ())·>::type; | ||
100 | 87·using·Mapper·=·Dune::MultipleCodimMultipleGeomTypeMapper<GridView, | ||
101 | AreaWriterImplementation::FacetLayout>; | ||
102 | 88·using·ctype·=·typename·GridView::ctype; | ||
103 | 89 | ||
104 | 90·const·GridView·gv·=·glue.template·gridView<side>(); | ||
105 | 91·Mapper·mapper(gv); | ||
106 | 92·std::vector<ctype>·coveredArea(mapper.size(),·ctype(0)); | ||
107 | 93·std::vector<ctype>·totalArea(mapper.size(),·ctype(1)); | ||
108 | 94 | ||
109 | 95·for·(const·auto&·in·:·_\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8s(glue,·_\x8R_\x8e_\x8v_\x8e_\x8r_\x8s_\x8e_\x8<_\x8s_\x8i_\x8d_\x8e_\x8·_\x8=_\x8=_\x8·_\x81_\x8>()))·{ | ||
110 | 96·const·auto·element·=·in.inside(); | ||
111 | 97·const·auto·index·=·mapper.subIndex(element,·in.indexInInside(),·1); | ||
Max diff block lines reached; 2103/7961 bytes (26.42%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-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 71, 47 lines modified | Offset 71, 77 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>·| | ||
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">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·/> |
84 | <code>#include·<functional></code><br·/> | ||
83 | <code>#include·< | 85 | <code>#include·<utility></code><br·/> |
84 | <code>#include·<<a·class="el"·href="a00050_source.html">dune/grid-glue/common/projection.hh</a>></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="namespaces"·name="namespaces"></a> | 92 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
90 | Namespaces</h2></td></tr> | 93 | 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> | 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> |
92 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 95 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
93 | <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> |
94 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 97 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
95 | </table><table·class="memberdecls"> | 98 | </table><table·class="memberdecls"> |
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"> | ||
96 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> | 104 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> |
97 | Functions</h2></td></tr> | 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> | ||
98 | <tr·class="memitem:a4dcc05f4b64a511b2e9548e371e140a7"·id="r_a4dcc05f4b64a511b2e9548e371e140a7"><td·class="memTemplParams"·colspan="2">template<typename·Coordinate·,·typename·Corners·,·typename·Normals·>·</td></tr> | ||
99 | <tr·class="memitem:a4dcc05f4b64a511b2e9548e371e140a7"><td·class="memTemplItemLeft"·align="right"·valign="top">void </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00104.html#a4dcc05f4b64a511b2e9548e371e140a7">Dune::GridGlue::write</a>·(const·<a·class="el"·href="a00994.html">Projection</a><·Coordinate·>·&projection,·const·Corners·&corners,·const·Normals·&normals,·std::ostream·&out)</td></tr> | ||
100 | <tr·class="memdesc:a4dcc05f4b64a511b2e9548e371e140a7"><td·class="mdescLeft"> </td><td·class="mdescRight">write·projection·in·VTK·format··<br·/></td></tr> | ||
101 | <tr·class="separator:a4dcc05f4b64a511b2e9548e371e140a7"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
102 | <tr·class="memitem:a6cd6ef06c8419ceef0432658a35d97bb"·id="r_a6cd6ef06c8419ceef0432658a35d97bb"><td·class="memTemplParams"·colspan="2">template<typename·Coordinate·,·typename·Corners·,·typename·Normals·>·</td></tr> | ||
103 | <tr·class="memitem:a6cd6ef06c8419ceef0432658a35d97bb"><td·class="memTemplItemLeft"·align="right"·valign="top">void </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00104.html#a6cd6ef06c8419ceef0432658a35d97bb">Dune::GridGlue::write</a>·(const·<a·class="el"·href="a00994.html">Projection</a><·Coordinate·>·&projection,·const·Corners·&corners,·const·Normals·&normals,·const·std::string·&filename)</td></tr> | ||
104 | <tr·class="memdesc:a6cd6ef06c8419ceef0432658a35d97bb"><td·class="mdescLeft"> </td><td·class="mdescRight">write·projection·in·VTK·format··<br·/></td></tr> | ||
105 | <tr·class="separator:a | 109 | <tr·class="separator:ad5f2c9c42d7cc552cfdc87724ec03a30"><td·class="memSeparator"·colspan="2"> </td></tr> |
106 | <tr·class="memitem:ace9cbed627c90927e36d71a65a5498a3"·id="r_ace9cbed627c90927e36d71a65a5498a3"><td·class="memTemplParams"·colspan="2">template<typename·Coordinate·,·typename·Corners·,·typename·Normals·>·</td></tr> | ||
107 | <tr·class="memitem:ace9cbed627c90927e36d71a65a5498a3"><td·class="memTemplItemLeft"·align="right"·valign="top">void </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00104.html#ace9cbed627c90927e36d71a65a5498a3">Dune::GridGlue::print</a>·(const·<a·class="el"·href="a00994.html">Projection</a><·Coordinate·>·&projection,·const·Corners·&corners,·const·Normals·&normals)</td></tr> | ||
108 | <tr·class="memdesc:ace9cbed627c90927e36d71a65a5498a3"><td·class="mdescLeft"> </td><td·class="mdescRight">Print·information·about·the·projection·to·std::cout·stream.··<br·/></td></tr> | ||
109 | <tr·class="separator:ace9cbed627c90927e36d71a65a5498a3"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
110 | </table> | 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> | ||
111 | </div><!--·contents·--> | 139 | </div><!--·contents·--> |
112 | <!--·start·footer·part·--> | 140 | <!--·start·footer·part·--> |
113 | <hr·class="footer"/><address·class="footer"><small> | 141 | <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 | 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 |
115 | </small></address> | 143 | </small></address> |
116 | </body> | 144 | </body> |
117 | </html> | 145 | </html> |
Offset 1, 37 lines modified | Offset 1, 39 lines modified | ||
1 | dune-grid-glue 2.10 | 1 | dune-grid-glue 2.10 |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | ····*·_\x8d_\x8u_\x8n_\x8e | 5 | ····*·_\x8d_\x8u_\x8n_\x8e |
6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e | 6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e |
7 | ····*·_\x8c_\x8o_\x8m_\x8m_\x8o_\x8n | 7 | ····*·_\x8c_\x8o_\x8m_\x8m_\x8o_\x8n |
8 | _\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s·|·_\x8F_\x8u_\x8n_\x8c_\x8t_\x8i_\x8o_\x8n_\x8s | 8 | _\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s·|·_\x8M_.a_.c_.r_.o_.s·|·_.F_\x8u_\x8n_\x8c_\x8t_\x8i_\x8o_\x8n_\x8s |
9 | projectionwriter.hh·File·Reference | ||
10 | #include·<iostream> | ||
11 | #include·<string> | ||
12 | #include·<_\x8d_\x8u_\x8n_\x8e_\x8/_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e_\x8/_\x8c_\x8o_\x8m_\x8m_\x8o_\x8n_\x8/_\x8p_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8._\x8h_\x8h> | ||
13 | 9 | ringcomm.hh·File·Reference | |
10 | #include·<mpi.h> | ||
11 | #include·<functional> | ||
12 | #include·<utility> | ||
13 | #include·<dune/common/fvector.hh> | ||
14 | #include·<dune/common/hybridutilities.hh> | ||
15 | #include·<dune/geometry/type.hh> | ||
14 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 16 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
15 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s | 17 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s |
16 | namespace· ·_\x8D_\x8u_\x8n_\x8e | 18 | namespace· ·_\x8D_\x8u_\x8n_\x8e |
17 | 19 | ||
18 | namespace· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8 | 20 | namespace· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8P_.a_.r_.a_.l_.l_.e_.l |
19 | 21 | ||
22 | M\x8Ma\x8ac\x8cr\x8ro\x8os\x8s | ||
23 | #define ·_\x8C_\x8h_\x8e_\x8c_\x8k_\x8M_\x8P_\x8I_\x8S_\x8t_\x8a_\x8t_\x8u_\x8s(A,·B) {} | ||
20 | F\x8Fu\x8un\x8nc\x8ct\x8ti\x8io\x8on\x8ns\x8s | ||
21 | template<typename·Coordinate·,·typename·Corners·,·typename·Normals·> | ||
22 | void ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8w_\x8r_\x8i_\x8t_\x8e·(const·_\x8P_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n<·Coordinate·>·&projection,·const | ||
23 | ······Corners·&corners,·const·Normals·&normals,·std::ostream·&out) | ||
24 | ·····write·projection·in·VTK·format | ||
25 | |||
26 | template<typename·Coordinate·,·typename·Corners·,·typename·Normals·> | ||
27 | void ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8w_\x8r_\x8i_\x8t_\x8e·(const·_\x8P_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n<·Coordinate·>·&projection,·const | ||
28 | ······Corners·&corners,·const·Normals·&normals,·const·std::string·&filename) | ||
29 | ·····write·projection·in·VTK·format | ||
30 | 24 | ||
31 | template<typename·Coordinate·,·typename·Corners·,·typename·Normals·> | ||
32 | void ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8p_\x8r_\x8i_\x8n_\x8t·(const·_\x8P_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n<·Coordinate·>·&projection,·const | ||
33 | ······Corners·&corners,·const·Normals·&normals) | ||
34 | 25 | F.Fu.un.nc.ct.ti.io.on.ns.s | |
26 | template<typename·OP·,·typename...·Args> | ||
27 | void ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8P_\x8a_\x8r_\x8a_\x8l_\x8l_\x8e_\x8l_\x8:_\x8:_\x8M_\x8P_\x8I_\x8__\x8A_\x8l_\x8l_\x8A_\x8p_\x8p_\x8l_\x8y·(MPI_Comm·mpicomm,·OP·&&op,·const·Args·&... | ||
28 | ······data) | ||
29 | ·····apply·an·operator·locally·to·a·difstributed·data·set | ||
35 | 30 | ||
31 | *\x8**\x8**\x8**\x8**\x8*·M\x8Ma\x8ac\x8cr\x8ro\x8o·D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·D\x8Do\x8oc\x8cu\x8um\x8me\x8en\x8nt\x8ta\x8at\x8ti\x8io\x8on\x8n·*\x8**\x8**\x8**\x8**\x8* | ||
32 | *\x8**\x8**\x8**\x8**\x8*·_\x8?\x8◆_\x8?\x8 C\x8Ch\x8he\x8ec\x8ck\x8kM\x8MP\x8PI\x8IS\x8St\x8ta\x8at\x8tu\x8us\x8s·*\x8**\x8**\x8**\x8**\x8* | ||
33 | #define·CheckMPIStatus·(· ·A, | ||
34 | ························· ·B | ||
35 | ·······················)··· {} | ||
36 | ··_\x8T\x8T_\x8o\x8o_\x8d\x8d_\x8o\x8o_\x8:\x8: | ||
37 | ······Implement·MPI·Status·check·with·exception·handling | ||
36 | =============================================================================== | 38 | =============================================================================== |
37 | ·····Generated·by _\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]·1.9.8 | 39 | ·····Generated·by _\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]·1.9.8 |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-grid-glue:· | 8 | <title>dune-grid-glue:·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, 57 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_PROJECTIONWRITER_HH</span></div> | ||
86 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_GRIDGLUE_COMMON_PROJECTIONWRITER_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·<iostream></span></div> | ||
89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#include·<string></span></div> | ||
90 | <div·class="line"><a·id="l0000 | 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> | ||
91 | <div·class="line"><a·id="l000 | 92 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<functional></span></div> |
92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span>·</div> | ||
93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00103.html">Dune</a>·{</div> | ||
94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class=" | 93 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<utility></span></div> |
95 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> | 94 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> |
96 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="keyword">template</span><<span·class="keyword">typename</span>·Coordinate,·<span·class="keyword">typename</span>·Corners,·<span·class="keyword">typename</span>·Normals></div> | ||
97 | <div·class="line"><a·id="l000 | 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="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> | ||
101 | <div·class="foldopen"·id="foldopen00020"·data-start="{"·data-end="}"> | ||
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> | ||
103 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div> | ||
98 | <div·class="line"><a·id="l000 | 104 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>··<span·class="keyword">namespace·</span>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> | ||
99 | <div·class="line"><a·id="l000 | 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> | ||
100 | <div·class="line"><a·id="l0003 | 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> | ||
101 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div> | 114 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>······{</div> |
102 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span><span·class="keyword">template</span><<span·class="keyword">typename</span>·Coordinate,·<span·class="keyword">typename</span>·Corners,·<span·class="keyword">typename</span>·Normals></div> | ||
103 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span><span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a00104.html#a4dcc05f4b64a511b2e9548e371e140a7">write</a>(<span·class="keyword">const</span>·Projection<Coordinate>&·projection,</div> | ||
104 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>···········<span·class="keyword">const</span>·Corners&·corners,</div> | ||
105 | <div·class="line"><a·id="l000 | 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="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div> | ||
106 | <div·class="line"><a·id="l0004 | 129 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>····<span·class="keyword">template</span><></div> |
107 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span><span·class="keyword">template</span><<span·class="keyword">typename</span>·Coordinate,·<span·class="keyword">typename</span>·Corners,·<span·class="keyword">typename</span>·Normals></div> | ||
108 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span><span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a00104.html#ace9cbed627c90927e36d71a65a5498a3">print</a>(<span·class="keyword">const</span>·Projection<Coordinate>&·projection,</div> | ||
109 | <div·class="line"><a·id="l000 | 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> | ||
110 | <div·class="line"><a·id="l0005 | 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> | ||
111 | <div·class="line"><a·id="l0005 | 138 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div> |
112 | <div·class="line"><a·id="l0005 | 139 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>····<span·class="keyword">template</span><></div> |
113 | <div·class="line"><a·id="l000 | 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> |
114 | <div·class="line"><a·id="l0006 | 141 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>····{</div> |
115 | <div·class="line"><a·id="l0006 | 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> | ||
116 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</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="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> | ||
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="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> | ||
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> | ||
Max diff block lines reached; 1712/50639 bytes (3.38%) of diff not shown. |
Offset 1, 62 lines modified | Offset 1, 308 lines modified | ||
1 | dune-grid-glue 2.10 | 1 | dune-grid-glue 2.10 |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | ····*·_\x8d_\x8u_\x8n_\x8e | 5 | ····*·_\x8d_\x8u_\x8n_\x8e |
6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e | 6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e |
7 | ····*·_\x8c_\x8o_\x8m_\x8m_\x8o_\x8n | 7 | ····*·_\x8c_\x8o_\x8m_\x8m_\x8o_\x8n |
8 | 8 | ringcomm.hh | |
9 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 9 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | ||
11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: | ||
10 | 12 | 3//·SPDX-FileCopyrightInfo:·Copyright·Â©·DUNE·Project·contributors,·see·file | |
11 | LICENSE.md·in·module·root | 13 | LICENSE.md·in·module·root |
12 | 14 | 4//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with- | |
13 | dune-grid-glue-exception | 15 | dune-grid-glue-exception |
16 | 5/*·IMPLEMENTATION·OF·CLASS·G·R·I·D·G·L·U·E·*/ | ||
17 | 6 | ||
18 | _\x88#define·CheckMPIStatus(A,B)·{} | ||
19 | 9 | ||
20 | 10#include·<mpi.h> | ||
21 | 11#include·<functional> | ||
22 | 12#include·<utility> | ||
14 | 3#ifndef·DUNE_GRIDGLUE_COMMON_PROJECTIONWRITER_HH | ||
15 | 4#define·DUNE_GRIDGLUE_COMMON_PROJECTIONWRITER_HH | ||
16 | 5 | ||
17 | 6#include·<iostream> | ||
18 | 7#include·<string> | ||
19 | 8 | ||
20 | 9#include·<_\x8d_\x8u_\x8n_\x8e_\x8/_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e_\x8/_\x8c_\x8o_\x8m_\x8m_\x8o_\x8n_\x8/_\x8p_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8._\x8h_\x8h> | ||
21 | 10 | ||
22 | 11namespace·_\x8D_\x8u_\x8n_\x8e·{ | ||
23 | 12namespace·GridGlue·{ | ||
24 | 13 | 23 | 13 |
25 | 28template<typename·Coordinate,·typename·Corners,·typename·Normals> | ||
26 | 29void·_\x8w_\x8r_\x8i_\x8t_\x8e(const·Projection<Coordinate>&·projection, | ||
27 | 30·const·Corners&·corners, | ||
28 | 31·const·Normals&·normals, | ||
29 | 32·std::ostream&·out); | ||
30 | 33 | ||
31 | 40template<typename·Coordinate,·typename·Corners,·typename·Normals> | ||
32 | 41void·_\x8w_\x8r_\x8i_\x8t_\x8e(const·Projection<Coordinate>&·projection, | ||
33 | 42·const·Corners&·corners, | ||
34 | 43·const·Normals&·normals, | ||
35 | 44·const·std::string&·filename); | ||
36 | 54template<typename·Coordinate,·typename·Corners,·typename·Normals> | ||
37 | 55void·_\x8p_\x8r_\x8i_\x8n_\x8t(const·Projection<Coordinate>&·projection, | ||
38 | 56·const·Corners&·corners, | ||
39 | 57·const·Normals&·normals); | ||
40 | 58 | ||
41 | 24 | 14#include·<dune/common/fvector.hh> | |
25 | 15#include·<dune/common/hybridutilities.hh> | ||
26 | 16 | ||
27 | 17#include·<dune/geometry/type.hh> | ||
28 | 18 | ||
29 | 19namespace·_\x8D_\x8u_\x8n_\x8e·{ | ||
30 | _\x82_\x80namespace·Parallel·{ | ||
31 | 21 | ||
32 | 22·namespace·Impl·{ | ||
33 | 23 | ||
34 | 25·template<typename·T> | ||
35 | 26·struct·MPITypeInfo·{}; | ||
36 | 27 | ||
37 | 28·template<> | ||
38 | 29·struct·MPITypeInfo<·int·> | ||
39 | 30·{ | ||
40 | 31·static·const·unsigned·int·size·=·1; | ||
41 | 32·static·inline·MPI_Datatype·getType() | ||
42 | 33·{ | ||
43 | 34·return·MPI_INT; | ||
44 | 35·} | ||
45 | 36·}; | ||
46 | 37 | ||
47 | 38·template<typename·K,·int·N> | ||
48 | 39·struct·MPITypeInfo<·_\x8D_\x8u_\x8n_\x8e::FieldVector<K,N>·> | ||
49 | 40·{ | ||
50 | 41·static·const·unsigned·int·size·=·N; | ||
51 | 42·static·inline·MPI_Datatype·getType() | ||
52 | 43·{ | ||
53 | 44·return·Dune::MPITraits<K>::getType(); | ||
54 | 45·} | ||
55 | 46·}; | ||
56 | 47 | ||
57 | 48·template<> | ||
58 | 49·struct·MPITypeInfo<·unsigned·int·> | ||
59 | 50·{ | ||
60 | 51·static·const·unsigned·int·size·=·1; | ||
61 | 52·static·inline·MPI_Datatype·getType() | ||
62 | 53·{ | ||
63 | 54·return·MPI_UNSIGNED; | ||
64 | 55·} | ||
65 | 56·}; | ||
66 | 57 | ||
67 | 58·template<> | ||
68 | 59·struct·MPITypeInfo<·_\x8D_\x8u_\x8n_\x8e::GeometryType·> | ||
69 | 60·{ | ||
70 | 61·static·const·unsigned·int·size·=·1; | ||
71 | 62·static·inline·MPI_Datatype·getType() | ||
72 | 63·{ | ||
73 | 64·return·Dune::MPITraits<·Dune::GeometryType·>::getType(); | ||
74 | 65·} | ||
75 | 66·}; | ||
76 | 67 | ||
77 | 68·template<typename·T> | ||
78 | 69·void·MPI_SetVectorSize( | ||
79 | 70·std::vector<T>·&·data, | ||
80 | 71·MPI_Status·&·status) | ||
81 | 72·{ | ||
82 | 73·typedef·MPITypeInfo<T>·Info; | ||
83 | 74·int·sz; | ||
84 | 75·MPI_Get_count(&status,·Info::getType(),·&sz); | ||
85 | 76·assert(sz%Info::size·==·0); | ||
86 | 77·data.resize(sz/Info::size); | ||
87 | 78·} | ||
88 | 79 | ||
89 | 89·template<typename·T> | ||
90 | 90·void·MPI_SendVectorInRing( | ||
91 | 91·std::vector<T>·&·data, | ||
92 | 92·std::vector<T>·&·next, | ||
93 | 93·int·tag, | ||
94 | 94·int·rightrank, | ||
95 | 95·int·leftrank, | ||
96 | 96·MPI_Comm·comm, | ||
97 | 97·MPI_Request&·r_send, | ||
98 | 98·MPI_Request&·r_recv | ||
99 | 99·) | ||
100 | 100·{ | ||
101 | 101·//·mpi·status·stuff | ||
Max diff block lines reached; 1010/10693 bytes (9.45%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-grid-glue:·projection | 8 | <title>dune-grid-glue:·projection_impl.hh·File·Reference</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 72, 59 lines modified | Offset 72, 47 lines modified | ||
72 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_65f347cff0208f20f00d27c542208238.html">common</a></li>··</ul> | 72 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_65f347cff0208f20f00d27c542208238.html">common</a></li>··</ul> |
73 | </div> | 73 | </div> |
74 | </div><!--·top·--> | 74 | </div><!--·top·--> |
75 | <div·class="header"> | 75 | <div·class="header"> |
76 | ··<div·class="summary"> | 76 | ··<div·class="summary"> |
77 | <a·href="#namespaces">Namespaces</a>·| | 77 | <a·href="#namespaces">Namespaces</a>·| |
78 | <a·href="#func-members">Functions</a>··</div> | 78 | <a·href="#func-members">Functions</a>··</div> |
79 | ··<div·class="headertitle"><div·class="title">projection | 79 | ··<div·class="headertitle"><div·class="title">projection_impl.hh·File·Reference</div></div> |
80 | </div><!--header--> | 80 | </div><!--header--> |
81 | <div·class="contents"> | 81 | <div·class="contents"> |
82 | <div·class="textblock"><code>#include·<f | 82 | <div·class="textblock"><code>#include·<dune/common/fmatrix.hh></code><br·/> |
83 | <code>#include·<cmath></code><br·/> | ||
83 | </div> | 84 | </div> |
84 | <p><a·href="a00038_source.html">Go·to·the·source·code·of·this·file.</a></p> | 85 | <p><a·href="a00038_source.html">Go·to·the·source·code·of·this·file.</a></p> |
85 | <table·class="memberdecls"> | 86 | <table·class="memberdecls"> |
86 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 87 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
87 | Namespaces</h2></td></tr> | 88 | 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> | 89 | <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> | 90 | <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> | 91 | <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> | 92 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
92 | <tr·class="memitem:a0010 | 93 | <tr·class="memitem:a00106"·id="r_a00106"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00106.html">Dune::GridGlue::ProjectionImplementation</a></td></tr> |
93 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 94 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
94 | </table><table·class="memberdecls"> | 95 | </table><table·class="memberdecls"> |
95 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> | 96 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> |
96 | Functions</h2></td></tr> | 97 | Functions</h2></td></tr> |
97 | <tr·class="memitem: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:ac | 98 | <tr·class="memitem:aceaac4969247e38262453f82aca8bedf"·id="r_aceaac4969247e38262453f82aca8bedf"><td·class="memTemplParams"·colspan="2">template<typename·Coordinate·,·typename·Field·>·</td></tr> |
107 | <tr·class="memitem:ac | 99 | <tr·class="memitem:aceaac4969247e38262453f82aca8bedf"><td·class="memTemplItemLeft"·align="right"·valign="top">Coordinate </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00106.html#aceaac4969247e38262453f82aca8bedf">Dune::GridGlue::ProjectionImpleme[·...·truncated·by·diffoscope;·len:·31,·SHA:·26dfa39124009ebb02f25df27203a0c959ae84e0db90cc099034a2d81f7a3721·...·])</td></tr> |
108 | <tr·class="separator:ac | 100 | <tr·class="separator:aceaac4969247e38262453f82aca8bedf"><td·class="memSeparator"·colspan="2"> </td></tr> |
101 | <tr·class="memitem:aacdd5e2a100b6f25a5b4f83d91d29a0f"·id="r_aacdd5e2a100b6f25a5b4f83d91d29a0f"><td·class="memItemLeft"·align="right"·valign="top">std::pair<·unsigned,·unsigned·> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00106.html#aacdd5e2a100b6f25a5b4f83d91d29a0f">Dune::GridGlue::ProjectionImplementation::edgeToCorners</a>·(unsigned·edge)</td></tr> | ||
109 | <tr·class="memitem:a38c6fb299869cdd0448404d39bfac63f"·id="r_a38c6fb299869cdd0448404d39bfac63f"><td·class="memTemplParams"·colspan="2">template<unsigned·side,·typename·Coordinate·>·</td></tr> | ||
110 | <tr·class="memitem:a38c6fb299869cdd0448404d39bfac63f"><td·class="memTemplItemLeft"·align="right"·valign="top">void </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00107.html#a38c6fb299869cdd0448404d39bfac63f">Dune::GridGlue::ProjectionWriterImplementation::write_success</a>·(const·<a·class="el"·href="a00994.html">Projection</a><·Coordinate·>·&projection,·std::ostream·&out)</td></tr> | ||
111 | <tr·class="separator:a38c6fb299869cdd0448404d39bfac63f"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
112 | <tr·class="memitem:a4dcc05f4b64a511b2e9548e371e140a7"·id="r_a4dcc05f4b64a511b2e9548e371e140a7"><td·class="memTemplParams"·colspan="2">template<typename·Coordinate·,·typename·Corners·,·typename·Normals·>·</td></tr> | ||
113 | <tr·class="memitem:a4dcc05f4b64a511b2e9548e371e140a7"><td·class="memTemplItemLeft"·align="right"·valign="top">void </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00104.html#a4dcc05f4b64a511b2e9548e371e140a7">Dune::GridGlue::write</a>·(const·<a·class="el"·href="a00994.html">Projection</a><·Coordinate·>·&projection,·const·Corners·&corners,·const·Normals·&normals,·std::ostream·&out)</td></tr> | ||
114 | <tr·class="memdesc:a4dcc05f4b64a511b2e9548e371e140a7"><td·class="mdescLeft"> </td><td·class="mdescRight">write·projection·in·VTK·format··<br·/></td></tr> | ||
115 | <tr·class="separator:a | 102 | <tr·class="separator:aacdd5e2a100b6f25a5b4f83d91d29a0f"><td·class="memSeparator"·colspan="2"> </td></tr> |
103 | <tr·class="memitem:a6cad77ef0322dd2d36743bee614e74e6"·id="r_a6cad77ef0322dd2d36743bee614e74e6"><td·class="memTemplParams"·colspan="2">template<typename·Coordinate·,·typename·Corners·>·</td></tr> | ||
104 | <tr·class="memitem:a6cad77ef0322dd2d36743bee614e74e6"><td·class="memTemplItemLeft"·align="right"·valign="top">Corners::value_type </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00106.html#a6cad77ef0322dd2d36743bee614e74e6">Dune::GridGlue::ProjectionImplementation::interpolate</a>·(const·Coordinate·&x,·const·Corners·&corners)</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:a6cd | 105 | <tr·class="separator:a6cad77ef0322dd2d36743bee614e74e6"><td·class="memSeparator"·colspan="2"> </td></tr> |
106 | <tr·class="memitem:ad16a87230471ed2c5af0980dfa1668f0"·id="r_ad16a87230471ed2c5af0980dfa1668f0"><td·class="memTemplParams"·colspan="2">template<typename·Coordinate·,·typename·Normals·>·</td></tr> | ||
107 | <tr·class="memitem:ad16a87230471ed2c5af0980dfa1668f0"><td·class="memTemplItemLeft"·align="right"·valign="top">Normals::value_type </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00106.html#ad16a87230471ed2c5af0980dfa1668f0">Dune::GridGlue::ProjectionImplementation::interpolate_unit_normals</a>·(const·Coordinate·&x,·const·Normals·&normals)</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 | 108 | <tr·class="separator:ad16a87230471ed2c5af0980dfa1668f0"><td·class="memSeparator"·colspan="2"> </td></tr> |
109 | <tr·class="memitem:a870cd1d1b2cb9d977ceab3032db9dca6"·id="r_a870cd1d1b2cb9d977ceab3032db9dca6"><td·class="memTemplParams"·colspan="2">template<typename·Coordinate·,·typename·Field·>·</td></tr> | ||
110 | <tr·class="memitem:a870cd1d1b2cb9d977ceab3032db9dca6"><td·class="memTemplItemLeft"·align="right"·valign="top">bool </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00106.html#a870cd1d1b2cb9d977ceab3032db9dca6">Dune::GridGlue::ProjectionImplementation::inside</a>·(const·Coordinate·&x,·const·Field·&epsilon)</td></tr> | ||
111 | <tr·class="separator:a870cd1d1b2cb9d977ceab3032db9dca6"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
124 | </table> | 112 | </table> |
125 | </div><!--·contents·--> | 113 | </div><!--·contents·--> |
126 | <!--·start·footer·part·--> | 114 | <!--·start·footer·part·--> |
127 | <hr·class="footer"/><address·class="footer"><small> | 115 | <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 | 116 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
129 | </small></address> | 117 | </small></address> |
130 | </body> | 118 | </body> |
Offset 2, 59 lines modified | Offset 2, 43 lines modified | ||
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | ····*·_\x8d_\x8u_\x8n_\x8e | 5 | ····*·_\x8d_\x8u_\x8n_\x8e |
6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e | 6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e |
7 | ····*·_\x8c_\x8o_\x8m_\x8m_\x8o_\x8n | 7 | ····*·_\x8c_\x8o_\x8m_\x8m_\x8o_\x8n |
8 | _\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s·|·_\x8F_\x8u_\x8n_\x8c_\x8t_\x8i_\x8o_\x8n_\x8s | 8 | _\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s·|·_\x8F_\x8u_\x8n_\x8c_\x8t_\x8i_\x8o_\x8n_\x8s |
9 | projection | 9 | projection_impl.hh·File·Reference |
10 | #include·<f | 10 | #include·<dune/common/fmatrix.hh> |
11 | #include·<cmath> | ||
11 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 12 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
12 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s | 13 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s |
13 | namespace· ·_\x8D_\x8u_\x8n_\x8e | 14 | namespace· ·_\x8D_\x8u_\x8n_\x8e |
14 | 15 | ||
15 | namespace· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e | 16 | namespace· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e |
16 | 17 | ||
17 | namespace· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8P_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8 | 18 | namespace· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8P_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8I_\x8m_\x8p_\x8l_\x8e_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n |
18 | 19 | ||
19 | F\x8Fu\x8un\x8nc\x8ct\x8ti\x8io\x8on\x8ns\x8s | 20 | F\x8Fu\x8un\x8nc\x8ct\x8ti\x8io\x8on\x8ns\x8s |
20 | template< | 21 | template<typename·Coordinate·,·typename·Field·> |
22 | ·····················Coordinate ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8P_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8I_\x8m_\x8p_\x8l_\x8e_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8:_\x8: | ||
23 | ·································_\x8c_\x8o_\x8r_\x8n_\x8e_\x8r·(unsigned·c) | ||
21 | void ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8P_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8W_\x8r_\x8i_\x8t_\x8e_\x8r_\x8I_\x8m_\x8p_\x8l_\x8e_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8:_\x8:_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8p_\x8o_\x8i_\x8n_\x8t_\x8s·(const | ||
22 | ······_\x8P_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n<·Coordinate·>·&projection,·const·Corners·&corners,·std:: | ||
23 | ······ostream·&out) | ||
24 | 24 | ||
25 | std::pair<·unsigned,·unsigned·> ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8P_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8I_\x8m_\x8p_\x8l_\x8e_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8:_\x8: | ||
26 | ·································_\x8e_\x8d_\x8g_\x8e_\x8T_\x8o_\x8C_\x8o_\x8r_\x8n_\x8e_\x8r_\x8s·(unsigned·edge) | ||
25 | template<unsigned·side,·typename·Coordinate·,·typename·Normals·> | ||
26 | void ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8P_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8W_\x8r_\x8i_\x8t_\x8e_\x8r_\x8I_\x8m_\x8p_\x8l_\x8e_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8:_\x8:_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8n_\x8o_\x8r_\x8m_\x8a_\x8l_\x8s·(const | ||
27 | ······_\x8P_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n<·Coordinate·>·&projection,·const·Normals·&normals,·std:: | ||
28 | ······ostream·&out) | ||
29 | 27 | ||
30 | template<typename·Coordinate·,·typename·Corners·> | 28 | template<typename·Coordinate·,·typename·Corners·> |
31 | v | 29 | ············Corners::value_type ·_.D_.u_.n_.e_.:_.:_.G_.r_.i_.d_.G_.l_.u_.e_.:_.:_.P_.r_.o_.j_.e_.c_.t_.i_.o_.n_\x8I_\x8m_\x8p_\x8l_\x8e_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8:_\x8: |
32 | ······_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8e_\x8d_\x8g_\x8e_\x8__\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8p_\x8o_\x8i_\x8n_\x8t_\x8s·(const·_\x8P_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n<·Coordinate·> | ||
33 | ······ | 30 | ·································_.i_.n_.t_.e_.r_.p_.o_.l_.a_.t_.e·(const·Coordinate·&x,·const |
31 | ·································Corners·&corners) | ||
34 | 32 | ||
35 | template<typename·Coordinate·,·typename·Normals·> | 33 | template<typename·Coordinate·,·typename·Normals·> |
36 | v | 34 | ············Normals::value_type ·_.D_.u_.n_.e_.:_.:_.G_.r_.i_.d_.G_.l_.u_.e_.:_.:_.P_.r_.o_.j_.e_.c_.t_.i_.o_.n_\x8I_\x8m_\x8p_\x8l_\x8e_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8:_\x8: |
37 | ······_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8e_\x8d_\x8g_\x8e_\x8__\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8n_\x8o_\x8r_\x8m_\x8a_\x8l_\x8s·(const·_\x8P_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n<·Coordinate·> | ||
38 | ······ | 35 | ·································_.i_.n_.t_.e_.r_.p_.o_.l_.a_.t_.e_.__.u_.n_.i_.t_.__.n_.o_.r_.m_.a_.l_.s·(const·Coordinate·&x, |
36 | ·································const·Normals·&normals) | ||
39 | 37 | ||
40 | template<unsigned·side,·typename·Coordinate·> | ||
41 | void ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8P_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8W_\x8r_\x8i_\x8t_\x8e_\x8r_\x8I_\x8m_\x8p_\x8l_\x8e_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8:_\x8:_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8s_\x8u_\x8c_\x8c_\x8e_\x8s_\x8s·(const | ||
42 | ······_\x8P_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n<·Coordinate·>·&projection,·std::ostream·&out) | ||
43 | |||
44 | template<typename·Coordinate·,·typename· | 38 | template<typename·Coordinate·,·typename·Field·> |
39 | ···························bool ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8P_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8I_\x8m_\x8p_\x8l_\x8e_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8:_\x8: | ||
40 | ·································_\x8i_\x8n_\x8s_\x8i_\x8d_\x8e·(const·Coordinate·&x,·const·Field | ||
41 | ·································&epsilon) | ||
45 | void ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8w_\x8r_\x8i_\x8t_\x8e·(const·_\x8P_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n<·Coordinate·>·&projection,·const | ||
46 | ······Corners·&corners,·const·Normals·&normals,·std::ostream·&out) | ||
47 | ·····write·projection·in·VTK·format | ||
48 | |||
49 | template<typename·Coordinate·,·typename·Corners·,·typename·Normals·> | ||
50 | void ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8w_\x8r_\x8i_\x8t_\x8e·(const·_\x8P_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n<·Coordinate·>·&projection,·const | ||
51 | ······Corners·&corners,·const·Normals·&normals,·const·std::string·&filename) | ||
52 | ·····write·projection·in·VTK·format | ||
53 | |||
54 | template<typename·Coordinate·,·typename·Corners·,·typename·Normals·> | ||
55 | void ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8p_\x8r_\x8i_\x8n_\x8t·(const·_\x8P_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n<·Coordinate·>·&projection,·const | ||
56 | ······Corners·&corners,·const·Normals·&normals) | ||
57 | ·····Print·information·about·the·projection·to·std::cout·stream. | ||
58 | 42 | ||
59 | =============================================================================== | 43 | =============================================================================== |
60 | ·····Generated·by _\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]·1.9.8 | 44 | ·····Generated·by _\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]·1.9.8 |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-grid-glue:·projection | 8 | <title>dune-grid-glue:·projection_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, 464 lines modified | ||
74 | <div·id="nav-path"·class="navpath"> | 74 | <div·id="nav-path"·class="navpath"> |
75 | ··<ul> | 75 | ··<ul> |
76 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_65f347cff0208f20f00d27c542208238.html">common</a></li>··</ul> | 76 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_65f347cff0208f20f00d27c542208238.html">common</a></li>··</ul> |
77 | </div> | 77 | </div> |
78 | </div><!--·top·--> | 78 | </div><!--·top·--> |
79 | <div·class="header"> | 79 | <div·class="header"> |
80 | ··<div·class="headertitle"><div·class="title">projection | 80 | ··<div·class="headertitle"><div·class="title">projection_impl.hh</div></div> |
81 | </div><!--header--> | 81 | </div><!--header--> |
82 | <div·class="contents"> | 82 | <div·class="contents"> |
83 | <a·href="a00038.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·©·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div> | 83 | <a·href="a00038.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·©·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div> |
84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with-dune-grid-glue-exception</span></div> | 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with-dune-grid-glue-exception</span></div> |
85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#include·<f | 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#include·<dune/common/fmatrix.hh></span></div> |
86 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span>·</div> | 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="preprocessor">#include·<cmath></span></div> | ||
88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> | ||
87 | <div·class="line"><a·id="l0000 | 89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00103.html">Dune</a>·{</div> |
88 | <div·class="line"><a·id="l0000 | 90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="keyword">namespace·</span>GridGlue·{</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> |
93 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="keyword">template</span><<span·class="keywordtype">unsigned</span>·s<span·class="keywordtype">id</span>e,·<span·class="keyword">typename</span>·Coordinate,·<span·class="keyword">typename</span>·Corners></div> | ||
94 | <div·class="foldopen"·id="foldopen0001 | 92 | <div·class="foldopen"·id="foldopen00010"·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>{</div> | ||
97 | <div·class="line"><a·id="l0001 | 93 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno"><a·class="line"·href="a00106.html">···10</a></span><span·class="keyword">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> | ||
100 | <div·class="line"><a·id="l0001 | 94 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div> |
95 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="keyword">template</span><<span·class="keyword">typename</span>·Coordinate,·<span·class="keyword">typename</span>·Field></div> | ||
101 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>··<span·class="keywordflow">for</span>·(<span·class="keyword">const</span>·<span·class="keyword">auto</span>&·c·:·get<side>(corners))</div> | ||
102 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>····out·<<·c·<<·<span·class="stringliteral">"\n"</span>;</div> | ||
103 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> | ||
104 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>··<span·class="keywordflow">for</span>·(<span·class="keyword">const</span>·<span·class="keyword">auto</span>&·i·:·get<side>(projection.<a·class="code·hl_function"·href="a00994.html#aeab213dc7d5226a105d2ddf4f59c3183">images</a>()))·{</div> | ||
105 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>····<span·class="keyword">const</span>·<span·class="keyword">auto</span>·global·=·interpolate(i,·get<other_side>(corners));</div> | ||
106 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>····out·<<·global·<<·<span·class="stringliteral">"\n"</span>;</div> | ||
107 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·· | 96 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="keyword">inline</span>·Coordinate</div> |
108 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>}</div> | ||
109 | < | 97 | <div·class="foldopen"·id="foldopen00024"·data-start="{"·data-end="}"> |
98 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno"><a·class="line"·href="a00106.html#aceaac4969247e38262453f82aca8bedf">···24</a></span><a·class="code·hl_function"·href="a00106.html#aceaac4969247e38262453f82aca8bedf">corner</a>(<span·class="keywordtype">unsigned</span>·c)</div> | ||
110 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span> | 99 | <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="l0002 | 100 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>··Coordinate·x(Field(0));</div> |
101 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>··<span·class="keywordflow">if</span>·(c·==·0)</div> | ||
102 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>····<span·class="keywordflow">return</span>·x;</div> | ||
114 | <div·class="line"><a·id="l0002 | 103 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>··x[c-1]·=·Field(1);</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"> | 104 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>··<span·class="keywordflow">return</span>·x;</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="l0003 | 105 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>}</div> |
126 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>}</div> | ||
127 | </div> | 106 | </div> |
128 | <div·class="line"><a·id="l000 | 107 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div> |
129 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span><span·class="keyword"> | 108 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span><span·class="keyword">inline</span>·std::pair<unsigned,·unsigned></div> |
130 | <div·class="foldopen"·id="foldopen00043"·data-start="{"·data-end="}"> | 109 | <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="a0010 | 110 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno"><a·class="line"·href="a00106.html#aacdd5e2a100b6f25a5b4f83d91d29a0f">···43</a></span><a·class="code·hl_function"·href="a00106.html#aacdd5e2a100b6f25a5b4f83d91d29a0f">edgeToCorners</a>(<span·class="keywordtype">unsigned</span>·edge)</div> |
132 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>{</div> | 111 | <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 | 112 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>··<span·class="keywordflow">switch</span>(edge)·{</div> |
113 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>····<span·class="keywordflow">case</span>·0:·<span·class="keywordflow">return</span>·{0,·1};</div> | ||
114 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>····<span·class="keywordflow">case</span>·1:·<span·class="keywordflow">return</span>·{0,·2};</div> | ||
115 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>····<span·class="keywordflow">case</span>·2:·<span·class="keywordflow">return</span>·{1,·2};</div> | ||
135 | <div·class="line"><a·id="l0004 | 116 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>··}</div> |
117 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>··DUNE_THROW(Dune::Exception,·<span·class="stringliteral">"Unexpected·edge·number."</span>);</div> | ||
136 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>··<span·class="keywordflow">for</span>·(std::size_t·i·=·0;·i·<·projection.<a·class="code·hl_function"·href="a00994.html#ad775f9e1a7b13cfb01807f00013053c7">numberOfEdgeIntersections</a>();·++i)·{</div> | ||
137 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>····<span·class="keyword">const</span>·<span·class="keyword">auto</span>&·local·=·projection.<a·class="code·hl_function"·href="a00994.html#af3ffe2462d703112315d56f040da3ed5">edgeIntersections</a>()[i].local;</div> | ||
138 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>····out·<<·interpolate(local[0],·get<0>(corners))·<<·<span·class="stringliteral">"\n"</span></div> | ||
139 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>········<<·interpolate(local[1],·get<1>(corners))·<<·<span·class="stringliteral">"\n"</span>;</div> | ||
140 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>··}</div> | ||
141 | <div·class="line"><a·id="l0005 | 118 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>}</div> |
142 | </div> | 119 | </div> |
143 | <div·class="line"><a·id="l0005 | 120 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div> |
121 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span><span·class="keyword">template</span><<span·class="keyword">typename</span>·Coordinate,·<span·class="keyword">typename</span>·Corners></div> | ||
144 | <div·class="line"><a·id="l000 | 122 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span><span·class="keyword">inline</span>·<span·class="keyword">typename</span>·Corners::value_type</div> |
145 | <div·class="foldopen"·id="foldopen00056"·data-start="{"·data-end="}"> | ||
146 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno"><a·class="line"·href="a00107.html#acba14119e369d32663687241e6abcca5">···56</a></span><span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a00107.html#acba14119e369d32663687241e6abcca5">write_edge_intersection_normals</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a00994.html">Projection<Coordinate></a>&·projection,·<span·class="keyword">const</span>·Normals&·normals,·std::ostream&·out)</div> | ||
147 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>{</div> | ||
148 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>··<span·class="keyword">using·namespace·</span>ProjectionImplementation;</div> | ||
149 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>··<span·class="keyword">using·</span>std::get;</div> | ||
150 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div> | ||
151 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>··<span·class="keywordflow">for</span>·(std::size_t·i·=·0;·i·<·projection.<a·class="code·hl_function"·href="a00994.html#ad775f9e1a7b13cfb01807f00013053c7">numberOfEdgeIntersections</a>();·++i)·{</div> | ||
152 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>····<span·class="keyword">const</span>·<span·class="keyword">auto</span>&·local·=·projection.<a·class="code·hl_function"·href="a00994.html#af3ffe2462d703112315d56f040da3ed5">edgeIntersections</a>()[i].local;</div> | ||
153 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>····<span·class="keyword">const</span>·<span·class="keyword">auto</span>·n0·=·interpolate_unit_normals(local[0],·get<0>(normals));</div> | ||
154 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>····<span·class="keyword">const</span>·<span·class="keyword">auto</span>·n1·=·interpolate_unit_normals(local[1],·get<1>(normals));</div> | ||
155 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>·</div> | ||
156 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>····out·<<·n0·<<·<span·class="stringliteral">"\n"</span></div> | ||
157 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>········<<·n1·<<·<span·class="stringliteral">"\n"</span>;</div> | ||
158 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>··}</div> | ||
159 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>}</div> | ||
160 | </div> | ||
161 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div> | ||
162 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span><span·class="keyword">template</span><<span·class="keywordtype">unsigned</span>·s<span·class="keywordtype">id</span>e,·<span·class="keyword">typename</span>·Coordinate></div> | ||
163 | <div·class="foldopen"·id="foldopen0007 | 123 | <div·class="foldopen"·id="foldopen00070"·data-start="{"·data-end="}"> |
164 | <div·class="line"><a·id="l0007 | 124 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno"><a·class="line"·href="a00106.html#a6cad77ef0322dd2d36743bee614e74e6">···70</a></span><a·class="code·hl_function"·href="a00106.html#a6cad77ef0322dd2d36743bee614e74e6">interpolate</a>(<span·class="keyword">const</spa[·...·truncated·by·diffoscope;·len:·77,·SHA:·b0e58ef6a576dbf8bc65982e26c1fed89482287179dadccf765f4d1af7495e82·...·])</div> |
165 | <div·class="line"><a·id="l0007 | 125 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>{</div> |
126 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>··<span·class="keyword">auto</span>·y·=·corners[0];</div> | ||
127 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>··<span·class="keywordflow">for</span>·(<span·class="keywordtype">unsigned</span>·i·=·0;·i·<·corners.size()·-·1;·++i)</div> | ||
128 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>····y.axpy(x[i],·corners[i+1]·-·corners[0]);</div> | ||
166 | <div·class="line"><a·id="l0007 | 129 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>··<span·class="keywordflow">return</span>·y;</div> |
167 | <div·class="line"><a·id="l0007 | 130 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>}</div> |
168 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>··out·<<·side·<<·<span·class="stringliteral">"\n"</span>;</div> | ||
169 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>·</div> | ||
Max diff block lines reached; 73888/106184 bytes (69.58%) of diff not shown. |
Offset 1, 238 lines modified | Offset 1, 480 lines modified | ||
1 | dune-grid-glue 2.10 | 1 | dune-grid-glue 2.10 |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | ····*·_\x8d_\x8u_\x8n_\x8e | 5 | ····*·_\x8d_\x8u_\x8n_\x8e |
6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e | 6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e |
7 | ····*·_\x8c_\x8o_\x8m_\x8m_\x8o_\x8n | 7 | ····*·_\x8c_\x8o_\x8m_\x8m_\x8o_\x8n |
8 | projection | 8 | projection_impl.hh |
9 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 9 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
10 | 1//·SPDX-FileCopyrightInfo:·Copyright·Â©·DUNE·Project·contributors,·see·file | 10 | 1//·SPDX-FileCopyrightInfo:·Copyright·Â©·DUNE·Project·contributors,·see·file |
11 | LICENSE.md·in·module·root | 11 | LICENSE.md·in·module·root |
12 | 2//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with- | 12 | 2//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with- |
13 | dune-grid-glue-exception | 13 | dune-grid-glue-exception |
14 | 3#include·<f | 14 | 3#include·<dune/common/fmatrix.hh> |
15 | 4 | 15 | 4 |
16 | 5#include·<cmath> | ||
17 | 6 | ||
16 | 18 | 7namespace·_\x8D_\x8u_\x8n_\x8e·{ | |
17 | 19 | 8namespace·GridGlue·{ | |
18 | 7 | ||
19 | _\x88namespace·ProjectionWriterImplementation·{ | ||
20 | 9 | 20 | 9 |
21 | 10template<unsigned·side,·typename·Coordinate,·typename·Corners> | ||
22 | _\x81_\x81void·_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8p_\x8o_\x8i_\x8n_\x8t_\x8s(const·_\x8P_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8<_\x8C_\x8o_\x8o_\x8r_\x8d_\x8i_\x8n_\x8a_\x8t_\x8e_\x8>&·projection,·const·Corners& | ||
23 | corners,·std::ostream&·out) | ||
24 | 12{ | ||
25 | 21 | _.1_.0namespace·ProjectionImplementation·{ | |
22 | 11 | ||
23 | 22template<typename·Coordinate,·typename·Field> | ||
24 | 23inline·Coordinate | ||
25 | _\x82_\x84_\x8c_\x8o_\x8r_\x8n_\x8e_\x8r(unsigned·c) | ||
26 | 14·using·std::get; | ||
27 | 15·const·unsigned·other_side·=·1·-·side; | ||
28 | 16 | ||
29 | 17·for·(const·auto&·c·:·get<side>(corners)) | ||
30 | 18·out·<<·c·<<·"\n"; | ||
31 | 19 | ||
32 | 20·for·(const·auto&·i·:·get<side>(projection._\x8i_\x8m_\x8a_\x8g_\x8e_\x8s()))·{ | ||
33 | 21·const·auto·global·=·interpolate(i,·get<other_side>(corners)); | ||
34 | 22·out·<<·global·<<·"\n"; | ||
35 | 23·} | ||
36 | 24} | ||
37 | 25 | 26 | 25{ |
27 | 26·Coordinate·x(Field(0)); | ||
28 | 27·if·(c·==·0) | ||
29 | 28·return·x; | ||
30 | 29·x[c-1]·=·Field(1); | ||
31 | 30·return·x; | ||
32 | 31} | ||
38 | 26template<unsigned·side,·typename·Coordinate,·typename·Normals> | ||
39 | _\x82_\x87void·_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8n_\x8o_\x8r_\x8m_\x8a_\x8l_\x8s(const·_\x8P_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8<_\x8C_\x8o_\x8o_\x8r_\x8d_\x8i_\x8n_\x8a_\x8t_\x8e_\x8>&·projection,·const·Normals& | ||
40 | normals,·std::ostream&·out) | ||
41 | 28{ | ||
42 | 29·using·namespace·ProjectionImplementation; | ||
43 | 30·using·std::get; | ||
44 | 31·const·unsigned·other_side·=·1·-·side; | ||
45 | 32 | 33 | 32 |
34 | 42inline·std::pair<unsigned,·unsigned> | ||
35 | _\x84_\x83_\x8e_\x8d_\x8g_\x8e_\x8T_\x8o_\x8C_\x8o_\x8r_\x8n_\x8e_\x8r_\x8s(unsigned·edge) | ||
46 | 33·for·(const·auto&·n·:·get<side>(normals)) | ||
47 | 34·out·<<·n·<<·"\n"; | ||
48 | 35 | ||
49 | 36·for·(const·auto&·x·:·get<side>(projection._\x8i_\x8m_\x8a_\x8g_\x8e_\x8s()))·{ | ||
50 | 37·const·auto·n·=·interpolate_unit_normals(x,·get<other_side>(normals)); | ||
51 | 38·out·<<·n·<<·"\n"; | ||
52 | 39·} | ||
53 | 40} | ||
54 | 41 | ||
55 | 42template<typename·Coordinate,·typename·Corners> | ||
56 | _\x84_\x83void·_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8e_\x8d_\x8g_\x8e_\x8__\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8p_\x8o_\x8i_\x8n_\x8t_\x8s(const·_\x8P_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8<_\x8C_\x8o_\x8o_\x8r_\x8d_\x8i_\x8n_\x8a_\x8t_\x8e_\x8>&·projection, | ||
57 | const·Corners&·corners,·std::ostream&·out) | ||
58 | 44{ | 36 | 44{ |
37 | 45·switch(edge)·{ | ||
38 | 46·case·0:·return·{0,·1}; | ||
39 | 47·case·1:·return·{0,·2}; | ||
40 | 48·case·2:·return·{1,·2}; | ||
41 | 49·} | ||
42 | 50·DUNE_THROW(Dune::Exception,·"Unexpected·edge·number."); | ||
43 | 51} | ||
44 | 52 | ||
59 | 45·using·namespace·ProjectionImplementation; | ||
60 | 46·using·std::get; | ||
61 | 47 | ||
62 | 48·for·(std::size_t·i·=·0;·i·<·projection._\x8n_\x8u_\x8m_\x8b_\x8e_\x8r_\x8O_\x8f_\x8E_\x8d_\x8g_\x8e_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8s();·++i)·{ | ||
63 | 49·const·auto&·local·=·projection._\x8e_\x8d_\x8g_\x8e_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8s()[i].local; | ||
64 | 50·out·<<·interpolate(local[0],·get<0>(corners))·<<·"\n" | ||
65 | 51·<<·interpolate(local[1],·get<1>(corners))·<<·"\n"; | ||
66 | 52·} | ||
67 | 53} | ||
68 | 54 | ||
69 | 45 | 68template<typename·Coordinate,·typename·Corners> | |
46 | 69inline·typename·Corners::value_type | ||
47 | _\x87_\x80_\x8i_\x8n_\x8t_\x8e_\x8r_\x8p_\x8o_\x8l_\x8a_\x8t_\x8e(const·Coordinate&·x,·const·Corners&·corners) | ||
48 | 71{ | ||
49 | 72·auto·y·=·corners[0]; | ||
50 | 73·for·(unsigned·i·=·0;·i·<·corners.size()·-·1;·++i) | ||
51 | 74·y.axpy(x[i],·corners[i+1]·-·corners[0]); | ||
52 | 75·return·y; | ||
53 | 76} | ||
70 | _\x85_\x86void·_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8e_\x8d_\x8g_\x8e_\x8__\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8n_\x8o_\x8r_\x8m_\x8a_\x8l_\x8s(const·_\x8P_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8<_\x8C_\x8o_\x8o_\x8r_\x8d_\x8i_\x8n_\x8a_\x8t_\x8e_\x8>& | ||
71 | projection,·const·Normals&·normals,·std::ostream&·out) | ||
72 | 57{ | ||
73 | 58·using·namespace·ProjectionImplementation; | ||
74 | 59·using·std::get; | ||
75 | 60 | ||
76 | 61·for·(std::size_t·i·=·0;·i·<·projection._\x8n_\x8u_\x8m_\x8b_\x8e_\x8r_\x8O_\x8f_\x8E_\x8d_\x8g_\x8e_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8s();·++i)·{ | ||
77 | 62·const·auto&·local·=·projection._\x8e_\x8d_\x8g_\x8e_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8s()[i].local; | ||
78 | 63·const·auto·n0·=·interpolate_unit_normals(local[0],·get<0>(normals)); | ||
79 | 64·const·auto·n1·=·interpolate_unit_normals(local[1],·get<1>(normals)); | ||
80 | 65 | ||
81 | 66·out·<<·n0·<<·"\n" | ||
82 | 67·<<·n1·<<·"\n"; | ||
83 | 68·} | ||
84 | 69} | ||
85 | 70 | ||
86 | 71template<unsigned·side,·typename·Coordinate> | ||
87 | _\x87_\x82void·_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8s_\x8u_\x8c_\x8c_\x8e_\x8s_\x8s(const·_\x8P_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8<_\x8C_\x8o_\x8o_\x8r_\x8d_\x8i_\x8n_\x8a_\x8t_\x8e_\x8>&·projection,·std::ostream& | ||
88 | out) | ||
89 | 73{ | ||
90 | 74·using·std::get; | ||
91 | 75 | ||
92 | 76·out·<<·side·<<·"\n"; | ||
93 | 77 | 54 | 77 |
94 | 78·const·auto&·success·=·get<side>(projection._\x8s_\x8u_\x8c_\x8c_\x8e_\x8s_\x8s()); | ||
95 | 79·for·(std::size_t·i·=·0;·i·<·success.size();·++i) | ||
96 | 80·out·<<·(success[i]·?·"1\n"·:·"0\n"); | ||
97 | 81} | ||
Max diff block lines reached; 5577/27879 bytes (20.00%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-grid-glue:· | 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 71, 55 lines modified | Offset 71, 40 lines modified | ||
71 | ··<ul> | 71 | ··<ul> |
72 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_65f347cff0208f20f00d27c542208238.html">common</a></li>··</ul> | 72 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_65f347cff0208f20f00d27c542208238.html">common</a></li>··</ul> |
73 | </div> | 73 | </div> |
74 | </div><!--·top·--> | 74 | </div><!--·top·--> |
75 | <div·class="header"> | 75 | <div·class="header"> |
76 | ··<div·class="summary"> | 76 | ··<div·class="summary"> |
77 | <a·href="#nested-classes">Classes</a>·| | 77 | <a·href="#nested-classes">Classes</a>·| |
78 | <a·href="#namespaces">Namespaces</a>· | 78 | <a·href="#namespaces">Namespaces</a>··</div> |
79 | <a·href="#func-members">Functions</a>··</div> | ||
80 | ··<div·class="headertitle"><div·class="title"> | 79 | ··<div·class="headertitle"><div·class="title">projection.hh·File·Reference</div></div> |
81 | </div><!--header--> | 80 | </div><!--header--> |
82 | <div·class="contents"> | 81 | <div·class="contents"> |
83 | <div·class="textblock"><code>#include·< | 82 | <div·class="textblock"><code>#include·<array></code><br·/> |
84 | <code>#include·< | 83 | <code>#include·<bitset></code><br·/> |
85 | <code>#include·<dune/common/fvector.hh></code><br·/> | ||
86 | <code>#include·< | 84 | <code>#include·<tuple></code><br·/> |
87 | <code>#include·& | 85 | <code>#include·"<a·class="el"·href="a00038_source.html">projection_impl.hh</a>"</code><br·/> |
88 | </div> | 86 | </div> |
89 | <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> |
90 | <table·class="memberdecls"> | 88 | <table·class="memberdecls"> |
91 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 89 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
92 | Classes</h2></td></tr> | 90 | Classes</h2></td></tr> |
93 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"> | 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> | ||
94 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 96 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
95 | </table><table·class="memberdecls"> | 97 | </table><table·class="memberdecls"> |
96 | <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> |
97 | Namespaces</h2></td></tr> | 99 | 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> | 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> |
99 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 101 | <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> | 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> |
101 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 103 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
102 | <tr·class="memitem:a00105"·id="r_a00105"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00105.html">Dune::GridGlue::AreaWriterImplementation</a></td></tr> | ||
103 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
104 | </table><table·class="memberdecls"> | ||
105 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> | ||
106 | Functions</h2></td></tr> | ||
107 | <tr·class="memitem:a316a8c6e2c55f8ee9a9a9424794632a7"·id="r_a316a8c6e2c55f8ee9a9a9424794632a7"><td·class="memTemplParams"·colspan="2">template<typename·GridView·>·</td></tr> | ||
108 | <tr·class="memitem:a316a8c6e2c55f8ee9a9a9424794632a7"><td·class="memTemplItemLeft"·align="right"·valign="top">void </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00105.html#a316a8c6e2c55f8ee9a9a9424794632a7">Dune::GridGlue::AreaWriterImplementation::write_facet_geometry</a>·(const·GridView·&gv,·std::ostream·&out)</td></tr> | ||
109 | <tr·class="separator:a316a8c6e2c55f8ee9a9a9424794632a7"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
110 | <tr·class="memitem:a16ccdbde4466d3073eab2a0f25d78f4e"·id="r_a16ccdbde4466d3073eab2a0f25d78f4e"><td·class="memTemplParams"·colspan="2">template<int·side,·typename·Glue·>·</td></tr> | ||
111 | <tr·class="memitem:a16ccdbde4466d3073eab2a0f25d78f4e"><td·class="memTemplItemLeft"·align="right"·valign="top">void </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00104.html#a16ccdbde4466d3073eab2a0f25d78f4e">Dune::GridGlue::write_glue_area_vtk</a>·(const·Glue·&glue,·std::ostream·&out)</td></tr> | ||
112 | <tr·class="separator:a16ccdbde4466d3073eab2a0f25d78f4e"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
113 | <tr·class="memitem:a426e3cf8b8d851b1091af8ad0b2ff2de"·id="r_a426e3cf8b8d851b1091af8ad0b2ff2de"><td·class="memTemplParams"·colspan="2">template<int·side,·typename·Glue·>·</td></tr> | ||
114 | <tr·class="memitem:a426e3cf8b8d851b1091af8ad0b2ff2de"><td·class="memTemplItemLeft"·align="right"·valign="top">void </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00104.html#a426e3cf8b8d851b1091af8ad0b2ff2de">Dune::GridGlue::write_glue_area_vtk</a>·(const·Glue·&glue,·const·std::string·&filename)</td></tr> | ||
115 | <tr·class="separator:a426e3cf8b8d851b1091af8ad0b2ff2de"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
116 | <tr·class="memitem:ab4463688255524d5d7433ae6af851884"·id="r_ab4463688255524d5d7433ae6af851884"><td·class="memTemplParams"·colspan="2">template<typename·Glue·>·</td></tr> | ||
117 | <tr·class="memitem:ab4463688255524d5d7433ae6af851884"><td·class="memTemplItemLeft"·align="right"·valign="top">void </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00104.html#ab4463688255524d5d7433ae6af851884">Dune::GridGlue::write_glue_areas_vtk</a>·(const·Glue·&glue,·const·std::string·&base)</td></tr> | ||
118 | <tr·class="separator:ab4463688255524d5d7433ae6af851884"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
119 | </table> | 104 | </table> |
120 | </div><!--·contents·--> | 105 | </div><!--·contents·--> |
121 | <!--·start·footer·part·--> | 106 | <!--·start·footer·part·--> |
122 | <hr·class="footer"/><address·class="footer"><small> | 107 | <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 | 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 |
124 | </small></address> | 109 | </small></address> |
125 | </body> | 110 | </body> |
Offset 1, 43 lines modified | Offset 1, 28 lines modified | ||
1 | dune-grid-glue 2.10 | 1 | dune-grid-glue 2.10 |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | ····*·_\x8d_\x8u_\x8n_\x8e | 5 | ····*·_\x8d_\x8u_\x8n_\x8e |
6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e | 6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e |
7 | ····*·_\x8c_\x8o_\x8m_\x8m_\x8o_\x8n | 7 | ····*·_\x8c_\x8o_\x8m_\x8m_\x8o_\x8n |
8 | _\x8C_\x8l_\x8a_\x8s_\x8s_\x8e_\x8s·|·_\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s | 8 | _\x8C_\x8l_\x8a_\x8s_\x8s_\x8e_\x8s·|·_\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s |
9 | 9 | projection.hh·File·Reference | |
10 | #include·< | 10 | #include·<array> |
11 | #include·< | 11 | #include·<bitset> |
12 | #include·<tuple> | ||
13 | #include·"_\x8p_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8i_\x8m_\x8p_\x8l_\x8._\x8h_\x8h" | ||
12 | #include·<dune/common/fvector.hh> | ||
13 | #include·<dune/geometry/type.hh> | ||
14 | #include·<dune/grid/common/mcmgmapper.hh> | ||
15 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 14 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
16 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s | 15 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s |
17 | 16 | ·class· ·_.D_.u_.n_.e_.:_.:_.G_.r_.i_.d_.G_.l_.u_.e_.:_.:_.P_.r_.o_.j_.e_.c_.t_.i_.o_.n_.<_.·_.C_.o_.o_.r_.d_.i_.n_.a_.t_.e_\x8·_\x8> | |
17 | ········_\x8P_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n·of·a·line·(triangle)·on·another·line·(triangle).·_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
18 | |||
19 | struct· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8P_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8<_\x8·_\x8C_\x8o_\x8o_\x8r_\x8d_\x8i_\x8n_\x8a_\x8t_\x8e_\x8·_\x8>_\x8:_\x8:_\x8E_\x8d_\x8g_\x8e_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n | ||
20 | ········_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n·between·two·edges·of·a·triangle.·_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
18 | 21 | ||
19 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s | 22 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s |
20 | namespace· ·_\x8D_\x8u_\x8n_\x8e | 23 | namespace· ·_\x8D_\x8u_\x8n_\x8e |
21 | 24 | ||
22 | namespace· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e | 25 | namespace· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e |
23 | 26 | ||
24 | namespace· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8A_\x8r_\x8e_\x8a_\x8W_\x8r_\x8i_\x8t_\x8e_\x8r_\x8I_\x8m_\x8p_\x8l_\x8e_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n | ||
25 | |||
26 | F\x8Fu\x8un\x8nc\x8ct\x8ti\x8io\x8on\x8ns\x8s | ||
27 | template<typename·GridView·> | ||
28 | void ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8A_\x8r_\x8e_\x8a_\x8W_\x8r_\x8i_\x8t_\x8e_\x8r_\x8I_\x8m_\x8p_\x8l_\x8e_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8:_\x8:_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8f_\x8a_\x8c_\x8e_\x8t_\x8__\x8g_\x8e_\x8o_\x8m_\x8e_\x8t_\x8r_\x8y·(const | ||
29 | ······GridView·&gv,·std::ostream·&out) | ||
30 | |||
31 | template<int·side,·typename·Glue·> | ||
32 | void ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8g_\x8l_\x8u_\x8e_\x8__\x8a_\x8r_\x8e_\x8a_\x8__\x8v_\x8t_\x8k·(const·Glue·&glue,·std::ostream·&out) | ||
33 | |||
34 | template<int·side,·typename·Glue·> | ||
35 | void ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8g_\x8l_\x8u_\x8e_\x8__\x8a_\x8r_\x8e_\x8a_\x8__\x8v_\x8t_\x8k·(const·Glue·&glue,·const·std::string | ||
36 | ······&filename) | ||
37 | |||
38 | template<typename·Glue·> | ||
39 | void ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8g_\x8l_\x8u_\x8e_\x8__\x8a_\x8r_\x8e_\x8a_\x8s_\x8__\x8v_\x8t_\x8k·(const·Glue·&glue,·const·std::string | ||
40 | ······&base) | ||
41 | |||
42 | =============================================================================== | 27 | =============================================================================== |
43 | ·····Generated·by _\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]·1.9.8 | 28 | ·····Generated·by _\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]·1.9.8 |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-grid-glue:· | 8 | <title>dune-grid-glue:·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, 183 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">#in | 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">#in | 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·< | 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> | 91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> |
92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00103.html">Dune</a>·{</div> | 92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00103.html">Dune</a>·{</div> |
93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="keyword">namespace·</span>GridGlue·{</div> | 93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="keyword">namespace·</span>GridGlue·{</div> |
94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div> | 94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div> |
95 | <div·class="foldopen"·id="foldopen00013"·data-start="{"·data-end="}"> | ||
96 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno"><a·class="line"·href="a00105.html">···13</a></span><span·class="keyword">namespace·</span>AreaWriterImplementation·{</div> | ||
97 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div> | ||
98 | <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> |
99 | <div·class="foldopen"·id="foldopen000 | 96 | <div·class="foldopen"·id="foldopen00020"·data-start="{"·data-end="};"> |
100 | <div·class="line"><a·id="l000 | 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> |
101 | <div·class="line"><a·id="l000 | 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> | ||
102 | <div·class="foldopen"·id="foldopen000 | 100 | <div·class="foldopen"·id="foldopen00028"·data-start="{"·data-end="};"> |
103 | <div·class="line"><a·id="l000 | 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> |
104 | <div·class="line"><a·id="l000 | 102 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>··{</div> |
105 | <div·class="line"><a·id="l000 | 103 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno"><a·class="line"·href="a00998.html#ab90b76190e394936843aa6b2660daa4b">···33</a></span>····std::array<unsigned,·2>·<a·class="code·hl_variable"·href="a00998.html#ab90b76190e394936843aa6b2660daa4b">edge</a>;</div> |
104 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div> | ||
105 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno"><a·class="line"·href="a00998.html#a9f56ba8b83f7c78628392e802a09da36">···41</a></span>····std::array<Coordinate,·2>·<a·class="code·hl_variable"·href="a00998.html#a9f56ba8b83f7c78628392e802a09da36">local</a>;</div> | ||
106 | <div·class="line"><a·id="l000 | 106 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>··};</div> |
107 | </div> | 107 | </div> |
108 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>};</div> | ||
109 | </div> | ||
110 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div> | ||
111 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="keyword">template</span><<span·class="keyword">typename</span>·Gr<span·class="keywordtype">id</span>View></div> | ||
112 | <div·class="foldopen"·id="foldopen00025"·data-start="{"·data-end="}"> | ||
113 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno"><a·class="line"·href="a00105.html#a316a8c6e2c55f8ee9a9a9424794632a7">···25</a></span><span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a00105.html#a316a8c6e2c55f8ee9a9a9424794632a7">write_facet_geometry</a>(<span·class="keyword">const</span>·GridView&·gv,·std::ostream&·out)</div> | ||
114 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>{</div> | ||
115 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>··<span·class="keyword">using·</span>Coordinate·=·Dune::FieldVector<double,·3>;</div> | ||
116 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div> | ||
117 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>··std::vector<Coordinate>·corners;</div> | ||
118 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>··<span·class="keywordflow">for</span>·(<span·class="keyword">const</span>·<span·class="keyword">auto</span>&·facet·:·facets(gv))·{</div> | ||
119 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>····<span·class="keyword">const</span>·<span·class="keyword">auto</span>·geometry·=·facet.geometry();</div> | ||
120 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>····<span·class="keywordflow">for</span>·(<span·class="keywordtype">int</span>·i·=·0;·i·<·geometry.corners();·++i)·{</div> | ||
121 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>······<span·class="comment">/*·VTK·always·needs·3-dim·coordinates...·*/</span></div> | ||
122 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>······<span·class="keyword">const</span>·<span·class="keyword">auto</span>·c0·=·geometry.corner(i);</div> | ||
123 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>······Coordinate·c1;</div> | ||
124 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>······<span·class="keywordflow">for</span>·(<span·class="keywordtype">int</span>·d·=·0;·d·<·GridView::dimensionworld;·++d)</div> | ||
125 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>········c1[d]·=·c0[d];</div> | ||
126 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>······<span·class="keywordflow">for</span>·(<span·class="keywordtype">int</span>·d·=·GridView::dimensionworld;·d·<·Coordinate::dimension;·++d)</div> | ||
127 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>········c1[d]·=·<span·class="keywordtype">double</span>(0);</div> | ||
128 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>······corners.push_back(c1);</div> | ||
129 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>····}</div> | ||
130 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>··}</div> | ||
131 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div> | 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> | ||
132 | <div·class="line"><a·id="l0004 | 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> | ||
133 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>····out·<<·<span·class="stringliteral">"DATASET·UNSTRUCTURED_GRID\n"</span></div> | ||
134 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>········<<·<span·class="stringliteral">"POINTS·"</span>·<<·corners.size()·<<·<span·class="stringliteral">"·double\n"</span>;</div> | ||
135 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>····<span·class="keywordflow">for</span>·(<span·class="keyword">const</span>·<span·class="keyword">auto</span>&·c·:·corners)</div> | ||
136 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>······out·<<·c·<<·<span·class="stringliteral">"\n"</span>;</div> | ||
137 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>··}</div> | ||
138 | <div·class="line"><a·id="l0005 | 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> | ||
139 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>····out·<<·<span·class="stringliteral">"CELLS·"</span>·<<·gv.size(1)·<<·<span·class="stringliteral">"·"</span>·<<·(gv.size(1)·+·corners.size())·<<·<span·class="stringliteral">"\n"</span>;</div> | ||
140 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>····std::size_t·c·=·0;</div> | ||
141 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>····<span·class="keywordflow">for</span>·(<span·class="keyword">const</span>·<span·class="keyword">auto</span>&·facet·:·facets(gv))·{</div> | ||
142 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>······<span·class="keyword">const</span>·<span·class="keyword">auto</span>·geometry·=·facet.geometry();</div> | ||
143 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>······out·<<·geometry.corners();</div> | ||
144 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>······<span·class="keywordflow">for</span>·(<span·class="keywordtype">int</span>·i·=·0;·i·<·geometry.corners();·++i,·++c)</div> | ||
145 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>········out·<<·<span·class="stringliteral">"·"</span>·<<·c;</div> | ||
146 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>······out·<<·<span·class="stringliteral">"\n"</span>;</div> | ||
147 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>····}</div> | ||
148 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>··}</div> | ||
149 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>··{</div> | ||
150 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>····out·<<·<span·class="stringliteral">"CELL_TYPES·"</span>·<<·gv.size(1)·<<·<span·class="stringliteral">"\n"</span>;</div> | ||
151 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>····<span·class="keywordflow">for</span>·(<span·class="keyword">const</span>·<span·class="keyword">auto</span>&·facet·:·facets(gv))·{</div> | ||
152 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>······<span·class="keyword">const</span>·<span·class="keyword">auto</span>·type·=·facet.type();</div> | ||
153 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>······<span·class="keywordflow">if</span>·(type.isVertex())</div> | ||
154 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>········out·<<·<span·class="stringliteral">"1\n"</span>;</div> | ||
155 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>······<span·class="keywordflow">else</span>·<span·class="keywordflow">if</span>·(type.isLine())</div> | ||
156 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>········out·<<·<span·class="stringliteral">"2\n"</span>;</div> | ||
157 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>······<span·class="keywordflow">else</span>·<span·class="keywordflow">if</span>·(type.isTriangle())</div> | ||
158 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>········out·<<·<span·class="stringliteral">"5\n"</span>;</div> | ||
159 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>······<span·class="keywordflow">else</span>·<span·class="keywordflow">if</span>·(type.isQuadrilateral())</div> | ||
160 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>········out·<<·<span·class="stringliteral">"9\n"</span>;</div> | ||
161 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>······<span·class="keywordflow">else</span>·<span·class="keywordflow">if</span>·(type.isTetrahedron())</div> | ||
162 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>········out·<<·<span·class="stringliteral">"10\n"</span>;</div> | ||
163 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>······<span·class="keywordflow">else</span></div> | ||
164 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>········DUNE_THROW(Dune::Exception,·<span·class="stringliteral">"Unhandled·geometry·type"</span>);</div> | ||
165 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>····}</div> | ||
166 | <div·class="line"><a·id="l000 | 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> | ||
167 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span> | 120 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>·</div> |
168 | </div> | ||
169 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>·</div> | 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> | ||
170 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>}·<span·class="comment">/*·namespace·AreaWriterImplementation·*/</span></div> | ||
171 | </div> | ||
Max diff block lines reached; 23168/51102 bytes (45.34%) of diff not shown. |
Offset 1, 184 lines modified | Offset 1, 175 lines modified | ||
1 | dune-grid-glue 2.10 | 1 | dune-grid-glue 2.10 |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | ····*·_\x8d_\x8u_\x8n_\x8e | 5 | ····*·_\x8d_\x8u_\x8n_\x8e |
6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e | 6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e |
7 | ····*·_\x8c_\x8o_\x8m_\x8m_\x8o_\x8n | 7 | ····*·_\x8c_\x8o_\x8m_\x8m_\x8o_\x8n |
8 | 8 | projection.hh | |
9 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 9 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
10 | 1//·SPDX-FileCopyrightInfo:·Copyright·Â©·DUNE·Project·contributors,·see·file | 10 | 1//·SPDX-FileCopyrightInfo:·Copyright·Â©·DUNE·Project·contributors,·see·file |
11 | LICENSE.md·in·module·root | 11 | LICENSE.md·in·module·root |
12 | 2//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with- | 12 | 2//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with- |
13 | dune-grid-glue-exception | 13 | dune-grid-glue-exception |
14 | 3#include·<fstream> | ||
15 | 14 | 3#ifndef·DUNE_GRIDGLUE_COMMON_PROJECTIONHELPER2_HH | |
15 | 4#define·DUNE_GRIDGLUE_COMMON_PROJECTIONHELPER2_HH | ||
16 | 5 | 16 | 5 |
17 | 6#include·<dune/common/fvector.hh> | ||
18 | 7#include·<dune/geometry/type.hh> | ||
19 | 17 | 6#include·<array> | |
18 | 7#include·<bitset> | ||
19 | 8#include·<tuple> | ||
20 | 9 | 20 | 9 |
21 | 10namespace·_\x8D_\x8u_\x8n_\x8e·{ | 21 | 10namespace·_\x8D_\x8u_\x8n_\x8e·{ |
22 | 11namespace·GridGlue·{ | 22 | 11namespace·GridGlue·{ |
23 | 12 | 23 | 12 |
24 | 19template<typename·Coordinate> | ||
25 | _\x82_\x80class·_\x8P_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n | ||
26 | 21{ | ||
27 | 22public: | ||
28 | _\x82_\x88·struct·_\x8E_\x8d_\x8g_\x8e_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n | ||
24 | _\x81_\x83namespace·AreaWriterImplementation·{ | ||
25 | 14 | ||
26 | 15template<int·dimgrid> | ||
27 | _\x81_\x86struct·_\x8F_\x8a_\x8c_\x8e_\x8t_\x8L_\x8a_\x8y_\x8o_\x8u_\x8t | ||
28 | 17{ | ||
29 | _\x81_\x88·bool·_\x8c_\x8o_\x8n_\x8t_\x8a_\x8i_\x8n_\x8s(Dune::GeometryType·gt)·const | ||
30 | 29 | 29·{ | |
30 | _\x83_\x83·std::array<unsigned,·2>·_\x8e_\x8d_\x8g_\x8e; | ||
31 | 34 | ||
32 | _\x84_\x81·std::array<Coordinate,·2>·_\x8l_\x8o_\x8c_\x8a_\x8l; | ||
31 | 20·return·gt.dim()·==·dimgrid·-·1; | ||
32 | 21·} | ||
33 | 22}; | ||
34 | 23 | ||
35 | 24template<typename·GridView> | ||
36 | _\x82_\x85void·_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8f_\x8a_\x8c_\x8e_\x8t_\x8__\x8g_\x8e_\x8o_\x8m_\x8e_\x8t_\x8r_\x8y(const·GridView&·gv,·std::ostream&·out) | ||
37 | 26{ | ||
38 | 27·using·Coordinate·=·Dune::FieldVector<double,·3>; | ||
39 | 28 | ||
40 | 29·std::vector<Coordinate>·corners; | ||
41 | 30·for·(const·auto&·facet·:·facets(gv))·{ | ||
42 | 31·const·auto·geometry·=·facet.geometry(); | ||
43 | 32·for·(int·i·=·0;·i·<·geometry.corners();·++i)·{ | ||
44 | 33·/*·VTK·always·needs·3-dim·coordinates...·*/ | ||
45 | 34·const·auto·c0·=·geometry.corner(i); | ||
46 | 35·Coordinate·c1; | ||
47 | 36·for·(int·d·=·0;·d·<·GridView::dimensionworld;·++d) | ||
48 | 37·c1[d]·=·c0[d]; | ||
49 | 38·for·(int·d·=·GridView::dimensionworld;·d·<·Coordinate::dimension;·++d) | ||
50 | 39·c1[d]·=·double(0); | ||
51 | 40·corners.push_back(c1); | ||
52 | 41·} | ||
53 | 42·} | 33 | 42·}; |
54 | 43 | 34 | 43 |
35 | _\x84_\x87·constexpr·static·unsigned·_\x8d_\x8i_\x8m·=·Coordinate::dimension; | ||
36 | 48 | ||
37 | _\x85_\x84·constexpr·static·unsigned·_\x8m_\x8a_\x8x_\x8E_\x8d_\x8g_\x8e_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8s·=·_\x8d_\x8i_\x8m·==·3·?·9·:·0; | ||
38 | 55 | ||
39 | 56·static_assert(_\x8d_\x8i_\x8m·==·2·||·_\x8d_\x8i_\x8m·==·3,·"Projection·only·implemented·for·dim=2 | ||
40 | or·dim=3"); | ||
41 | 57 | ||
42 | _\x86_\x81·typedef·typename·Coordinate::field_type·_\x8F_\x8i_\x8e_\x8l_\x8d; | ||
43 | 62 | ||
44 | _\x87_\x80·typedef·std::array<Coordinate,·dim>·_\x8I_\x8m_\x8a_\x8g_\x8e_\x8s; | ||
45 | 71 | ||
46 | _\x87_\x88·typedef·_\x8I_\x8m_\x8a_\x8g_\x8e_\x8s·_\x8P_\x8r_\x8e_\x8i_\x8m_\x8a_\x8g_\x8e_\x8s; | ||
55 | 44·{ | ||
56 | 45·out·<<·"DATASET·UNSTRUCTURED_GRID\n" | ||
57 | 46·<<·"POINTS·"·<<·corners.size()·<<·"·double\n"; | ||
58 | 47·for·(const·auto&·c·:·corners) | ||
59 | 48·out·<<·c·<<·"\n"; | ||
60 | 49·} | ||
61 | 50·{ | ||
62 | 51·out·<<·"CELLS·"·<<·gv.size(1)·<<·"·"·<<·(gv.size(1)·+·corners.size())·<< | ||
63 | "\n"; | ||
64 | 52·std::size_t·c·=·0; | ||
65 | 53·for·(const·auto&·facet·:·facets(gv))·{ | ||
66 | 54·const·auto·geometry·=·facet.geometry(); | ||
67 | 55·out·<<·geometry.corners(); | ||
68 | 56·for·(int·i·=·0;·i·<·geometry.corners();·++i,·++c) | ||
69 | 57·out·<<·"·"·<<·c; | ||
70 | 58·out·<<·"\n"; | ||
71 | 59·} | ||
72 | 60·} | ||
73 | 61·{ | ||
74 | 62·out·<<·"CELL_TYPES·"·<<·gv.size(1)·<<·"\n"; | ||
75 | 63·for·(const·auto&·facet·:·facets(gv))·{ | ||
76 | 64·const·auto·type·=·facet.type(); | ||
77 | 65·if·(type.isVertex()) | ||
78 | 66·out·<<·"1\n"; | ||
79 | 67·else·if·(type.isLine()) | ||
80 | 68·out·<<·"2\n"; | ||
81 | 69·else·if·(type.isTriangle()) | ||
82 | 70·out·<<·"5\n"; | ||
83 | 71·else·if·(type.isQuadrilateral()) | ||
84 | 72·out·<<·"9\n"; | ||
85 | 73·else·if·(type.isTetrahedron()) | ||
86 | 74·out·<<·"10\n"; | ||
87 | 75·else | ||
88 | 76·DUNE_THROW(Dune::Exception,·"Unhandled·geometry·type"); | ||
89 | 77·} | ||
90 | 78·} | ||
91 | 79 | 47 | 79 |
48 | 80private: | ||
49 | 84·const·_\x8F_\x8i_\x8e_\x8l_\x8d·m_overlap; | ||
92 | 80 | ||
93 | 81}·/*·namespace·AreaWriterImplementation·*/ | ||
94 | 82 | ||
95 | 83template<int·side,·typename·Glue> | ||
96 | _\x88_\x84void·_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8g_\x8l_\x8u_\x8e_\x8__\x8a_\x8r_\x8e_\x8a_\x8__\x8v_\x8t_\x8k(const·Glue&·glue,·std::ostream&·out) | ||
97 | 85 | 50 | 85 |
51 | 94·const·_\x8F_\x8i_\x8e_\x8l_\x8d·m_max_normal_product; | ||
52 | 95 | ||
53 | 101·_\x8F_\x8i_\x8e_\x8l_\x8d·m_epsilon·=·_\x8F_\x8i_\x8e_\x8l_\x8d(1e-12); | ||
54 | 102 | ||
55 | 104·std::tuple<Images,·Preimages>·m_images; | ||
Max diff block lines reached; 8794/14141 bytes (62.19%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-grid-glue:·rin | 8 | <title>dune-grid-glue:·projectionwriter.hh·File·Reference</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 71, 77 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_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">rin | 79 | ··<div·class="headertitle"><div·class="title">projectionwriter.hh·File·Reference</div></div> |
81 | </div><!--header--> | 80 | </div><!--header--> |
82 | <div·class="contents"> | 81 | <div·class="contents"> |
83 | <div·class="textblock"><code>#include·< | 82 | <div·class="textblock"><code>#include·<iostream></code><br·/> |
84 | <code>#include·<functional></code><br·/> | ||
85 | <code>#include·< | 83 | <code>#include·<string></code><br·/> |
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="a00050_source.html">projectionwriter_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> | 86 | </div> |
90 | <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> |
91 | <table·class="memberdecls"> | 88 | <table·class="memberdecls"> |
92 | <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> |
93 | Namespaces</h2></td></tr> | 90 | 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> | 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> |
95 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 92 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
96 | <tr·class="memitem:a0010 | 93 | <tr·class="memitem:a00104"·id="r_a00104"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00104.html">Dune::GridGlue</a></td></tr> |
97 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 94 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
98 | </table><table·class="memberdecls"> | 95 | </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="a00044.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> | 96 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> |
105 | Functions</h2></td></tr> | 97 | 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 | 98 | <tr·class="memitem:a4dcc05f4b64a511b2e9548e371e140a7"·id="r_a4dcc05f4b64a511b2e9548e371e140a7"><td·class="memTemplParams"·colspan="2">template<typename·Coordinate·,·typename·Corners·,·typename·Normals·>·</td></tr> |
99 | <tr·class="memitem:a4dcc05f4b64a511b2e9548e371e140a7"><td·class="memTemplItemLeft"·align="right"·valign="top">void </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00104.html#a4dcc05f4b64a511b2e9548e371e140a7">Dune::GridGlue::write</a>·(const·<a·class="el"·href="a00994.html">Projection</a><·Coordinate·>·&projection,·const·Corners·&corners,·const·Normals·&normals,·std::ostream·&out)</td></tr> | ||
100 | <tr·class="memdesc:a4dcc05f4b64a511b2e9548e371e140a7"><td·class="mdescLeft"> </td><td·class="mdescRight">write·projection·in·VTK·format··<br·/></td></tr> | ||
101 | <tr·class="separator:a4dcc05f4b64a511b2e9548e371e140a7"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
102 | <tr·class="memitem:a6cd6ef06c8419ceef0432658a35d97bb"·id="r_a6cd6ef06c8419ceef0432658a35d97bb"><td·class="memTemplParams"·colspan="2">template<typename·Coordinate·,·typename·Corners·,·typename·Normals·>·</td></tr> | ||
103 | <tr·class="memitem:a6cd6ef06c8419ceef0432658a35d97bb"><td·class="memTemplItemLeft"·align="right"·valign="top">void </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00104.html#a6cd6ef06c8419ceef0432658a35d97bb">Dune::GridGlue::write</a>·(const·<a·class="el"·href="a00994.html">Projection</a><·Coordinate·>·&projection,·const·Corners·&corners,·const·Normals·&normals,·const·std::string·&filename)</td></tr> | ||
104 | <tr·class="memdesc:a6cd6ef06c8419ceef0432658a35d97bb"><td·class="mdescLeft"> </td><td·class="mdescRight">write·projection·in·VTK·format··<br·/></td></tr> | ||
105 | <tr·class="separator:a6cd6ef06c8419ceef0432658a35d97bb"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
106 | <tr·class="memitem:ace9cbed627c90927e36d71a65a5498a3"·id="r_ace9cbed627c90927e36d71a65a5498a3"><td·class="memTemplParams"·colspan="2">template<typename·Coordinate·,·typename·Corners·,·typename·Normals·>·</td></tr> | ||
107 | <tr·class="memitem:ace9cbed627c90927e36d71a65a5498a3"><td·class="memTemplItemLeft"·align="right"·valign="top">void </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00104.html#ace9cbed627c90927e36d71a65a5498a3">Dune::GridGlue::print</a>·(const·<a·class="el"·href="a00994.html">Projection</a><·Coordinate·>·&projection,·const·Corners·&corners,·const·Normals·&normals)</td></tr> | ||
108 | <tr·class="memdesc:ace9cbed627c90927e36d71a65a5498a3"><td·class="mdescLeft"> </td><td·class="mdescRight">Print·information·about·the·projection·to·std::cout·stream.··<br·/></td></tr> | ||
109 | <tr·class="separator:a | 109 | <tr·class="separator:ace9cbed627c90927e36d71a65a5498a3"><td·class="memSeparator"·colspan="2"> </td></tr> |
110 | </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> | ||
139 | </div><!--·contents·--> | 111 | </div><!--·contents·--> |
140 | <!--·start·footer·part·--> | 112 | <!--·start·footer·part·--> |
141 | <hr·class="footer"/><address·class="footer"><small> | 113 | <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 | 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 |
143 | </small></address> | 115 | </small></address> |
144 | </body> | 116 | </body> |
145 | </html> | 117 | </html> |
Offset 1, 39 lines modified | Offset 1, 37 lines modified | ||
1 | dune-grid-glue 2.10 | 1 | dune-grid-glue 2.10 |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | ····*·_\x8d_\x8u_\x8n_\x8e | 5 | ····*·_\x8d_\x8u_\x8n_\x8e |
6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e | 6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e |
7 | ····*·_\x8c_\x8o_\x8m_\x8m_\x8o_\x8n | 7 | ····*·_\x8c_\x8o_\x8m_\x8m_\x8o_\x8n |
8 | _\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s·|·_\x8 | 8 | _\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s·|·_\x8F_\x8u_\x8n_\x8c_\x8t_\x8i_\x8o_\x8n_\x8s |
9 | projectionwriter.hh·File·Reference | ||
10 | #include·<iostream> | ||
11 | #include·<string> | ||
12 | #include·<_\x8d_\x8u_\x8n_\x8e_\x8/_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e_\x8/_\x8c_\x8o_\x8m_\x8m_\x8o_\x8n_\x8/_\x8p_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8._\x8h_\x8h> | ||
13 | #include·"_\x8p_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8w_\x8r_\x8i_\x8t_\x8e_\x8r_\x8__\x8i_\x8m_\x8p_\x8l_\x8._\x8h_\x8h" | ||
9 | ringcomm.hh·File·Reference | ||
10 | #include·<mpi.h> | ||
11 | #include·<functional> | ||
12 | #include·<utility> | ||
13 | #include·<dune/common/fvector.hh> | ||
14 | #include·<dune/common/hybridutilities.hh> | ||
15 | #include·<dune/geometry/type.hh> | ||
16 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 14 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
17 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s | 15 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s |
18 | namespace· ·_\x8D_\x8u_\x8n_\x8e | 16 | namespace· ·_\x8D_\x8u_\x8n_\x8e |
19 | 17 | ||
20 | namespace· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8 | 18 | namespace· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_.r_.i_.d_.G_.l_.u_.e |
21 | |||
22 | M\x8Ma\x8ac\x8cr\x8ro\x8os\x8s | ||
23 | #define ·_\x8C_\x8h_\x8e_\x8c_\x8k_\x8M_\x8P_\x8I_\x8S_\x8t_\x8a_\x8t_\x8u_\x8s(A,·B) {} | ||
24 | 19 | ||
25 | F\x8Fu\x8un\x8nc\x8ct\x8ti\x8io\x8on\x8ns\x8s | 20 | F\x8Fu\x8un\x8nc\x8ct\x8ti\x8io\x8on\x8ns\x8s |
26 | template<typename·OP·,·typename...·Args> | ||
27 | void ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8P_\x8a_\x8r_\x8a_\x8l_\x8l_\x8e_\x8l_\x8:_\x8:_\x8M_\x8P_\x8I_\x8__\x8A_\x8l_\x8l_\x8A_\x8p_\x8p_\x8l_\x8y·(MPI_Comm·mpicomm,·OP·&&op,·const·Args·&... | ||
28 | ······data) | ||
29 | 21 | template<typename·Coordinate·,·typename·Corners·,·typename·Normals·> | |
22 | void ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8w_\x8r_\x8i_\x8t_\x8e·(const·_\x8P_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n<·Coordinate·>·&projection,·const | ||
23 | ······Corners·&corners,·const·Normals·&normals,·std::ostream·&out) | ||
24 | ·····write·projection·in·VTK·format | ||
25 | |||
26 | template<typename·Coordinate·,·typename·Corners·,·typename·Normals·> | ||
27 | void ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8w_\x8r_\x8i_\x8t_\x8e·(const·_\x8P_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n<·Coordinate·>·&projection,·const | ||
28 | ······Corners·&corners,·const·Normals·&normals,·const·std::string·&filename) | ||
29 | ·····write·projection·in·VTK·format | ||
30 | |||
31 | template<typename·Coordinate·,·typename·Corners·,·typename·Normals·> | ||
32 | void ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8p_\x8r_\x8i_\x8n_\x8t·(const·_\x8P_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n<·Coordinate·>·&projection,·const | ||
33 | ······Corners·&corners,·const·Normals·&normals) | ||
34 | ·····Print·information·about·the·projection·to·std::cout·stream. | ||
30 | 35 | ||
31 | *\x8**\x8**\x8**\x8**\x8*·M\x8Ma\x8ac\x8cr\x8ro\x8o·D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·D\x8Do\x8oc\x8cu\x8um\x8me\x8en\x8nt\x8ta\x8at\x8ti\x8io\x8on\x8n·*\x8**\x8**\x8**\x8**\x8* | ||
32 | *\x8**\x8**\x8**\x8**\x8*·_\x8?\x8◆_\x8?\x8 C\x8Ch\x8he\x8ec\x8ck\x8kM\x8MP\x8PI\x8IS\x8St\x8ta\x8at\x8tu\x8us\x8s·*\x8**\x8**\x8**\x8**\x8* | ||
33 | #define·CheckMPIStatus·(· ·A, | ||
34 | ························· ·B | ||
35 | ·······················)··· {} | ||
36 | ··_\x8T\x8T_\x8o\x8o_\x8d\x8d_\x8o\x8o_\x8:\x8: | ||
37 | ······Implement·MPI·Status·check·with·exception·handling | ||
38 | =============================================================================== | 36 | =============================================================================== |
39 | ·····Generated·by _\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]·1.9.8 | 37 | ·····Generated·by _\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]·1.9.8 |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-grid-glue:·rin | 8 | <title>dune-grid-glue:·projectionwriter.hh·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 74, 309 lines modified | Offset 74, 57 lines modified | ||
74 | <div·id="nav-path"·class="navpath"> | 74 | <div·id="nav-path"·class="navpath"> |
75 | ··<ul> | 75 | ··<ul> |
76 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_65f347cff0208f20f00d27c542208238.html">common</a></li>··</ul> | 76 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_65f347cff0208f20f00d27c542208238.html">common</a></li>··</ul> |
77 | </div> | 77 | </div> |
78 | </div><!--·top·--> | 78 | </div><!--·top·--> |
79 | <div·class="header"> | 79 | <div·class="header"> |
80 | ··<div·class="headertitle"><div·class="title">rin | 80 | ··<div·class="headertitle"><div·class="title">projectionwriter.hh</div></div> |
81 | </div><!--header--> | 81 | </div><!--header--> |
82 | <div·class="contents"> | 82 | <div·class="contents"> |
83 | <a·href="a00044.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·©·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div> | ||
83 | <a·href="a00044.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | ||
84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | ||
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_PROJECTIONWRITER_HH</span></div> |
86 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_GRIDGLUE_COMMON_PROJECTIONWRITER_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·<iostream></span></div> |
89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#include·<string></span></div> | ||
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="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> | ||
91 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span> | 92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span>·</div> |
92 | <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><a·class="code·hl_namespace"·href="a00103.html">Dune</a>·{</div> |
93 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class=" | 94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="keyword">namespace·</span>GridGlue·{</div> |
94 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> | 95 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> |
96 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="keyword">template</span><<span·class="keyword">typename</span>·Coordinate,·<span·class="keyword">typename</span>·Corners,·<span·class="keyword">typename</span>·Normals></div> | ||
97 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a00104.html#a4dcc05f4b64a511b2e9548e371e140a7">write</a>(<span·class="keyword">const</span>·Projection<Coordinate>&·projection,</div> | ||
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="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> | ||
101 | <div·class="foldopen"·id="foldopen00020"·data-start="{"·data-end="}"> | ||
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> | ||
103 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div> | ||
104 | <div·class="line"><a·id="l000 | 98 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>···········<span·class="keyword">const</span>·Corners&·corners,</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="l000 | 99 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>···········<span·class="keyword">const</span>·Normals&·normals,</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="l0003 | 100 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>···········std::ostream&·out);</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>· | 101 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div> |
102 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span><span·class="keyword">template</span><<span·class="keyword">typename</span>·Coordinate,·<span·class="keyword">typename</span>·Corners,·<span·class="keyword">typename</span>·Normals></div> | ||
103 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span><span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a00104.html#a4dcc05f4b64a511b2e9548e371e140a7">write</a>(<span·class="keyword">const</span>·Projection<Coordinate>&·projection,</div> | ||
104 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>···········<span·class="keyword">const</span>·Corners&·corners,</div> | ||
115 | <div·class="line"><a·id="l000 | 105 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>···········<span·class="keyword">const</span>·Normals&·normals,</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="keyword | 106 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>···········<span·class="keyword">const</span>·std::string&·filename);</div> |
107 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span><span·class="keyword">template</span><<span·class="keyword">typename</span>·Coordinate,·<span·class="keyword">typename</span>·Corners,·<span·class="keyword">typename</span>·Normals></div> | ||
108 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span><span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a00104.html#ace9cbed627c90927e36d71a65a5498a3">print</a>(<span·class="keyword">const</span>·Projection<Coordinate>&·projection,</div> | ||
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="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div> | ||
129 | <div·class="line"><a·id="l000 | 109 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>···········<span·class="keyword">const</span>·Corners&·corners,</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="l0005 | 110 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>···········<span·class="keyword">const</span>·Normals&·normals);</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="l0005 | 111 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·</div> |
139 | <div·class="line"><a·id="l0005 | 112 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>}·<span·class="comment">/*·namespace·GridGlue·*/</span></div> |
140 | <div·class="line"><a·id="l000 | 113 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>}·<span·class="comment">/*·namespace·Dune·*/</span></div> |
141 | <div·class="line"><a·id="l0006 | 114 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>·</div> |
115 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span><span·class="preprocessor">#include·"<a·class="code"·href="a00050.html">projectionwriter_impl.hh</a>"</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>· | 116 | <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="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> | ||
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="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> | ||
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> | ||
Max diff block lines reached; 1712/50639 bytes (3.38%) of diff not shown. |
Offset 1, 308 lines modified | Offset 1, 62 lines modified | ||
1 | dune-grid-glue 2.10 | 1 | dune-grid-glue 2.10 |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | ····*·_\x8d_\x8u_\x8n_\x8e | 5 | ····*·_\x8d_\x8u_\x8n_\x8e |
6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e | 6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e |
7 | ····*·_\x8c_\x8o_\x8m_\x8m_\x8o_\x8n | 7 | ····*·_\x8c_\x8o_\x8m_\x8m_\x8o_\x8n |
8 | rin | 8 | projectionwriter.hh |
9 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 9 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | ||
11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: | ||
12 | 10 | 1//·SPDX-FileCopyrightInfo:·Copyright·Â©·DUNE·Project·contributors,·see·file | |
13 | LICENSE.md·in·module·root | 11 | LICENSE.md·in·module·root |
14 | 12 | 2//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with- | |
15 | dune-grid-glue-exception | 13 | dune-grid-glue-exception |
16 | 5/*·IMPLEMENTATION·OF·CLASS·G·R·I·D·G·L·U·E·*/ | ||
17 | 6 | ||
18 | _\x88#define·CheckMPIStatus(A,B)·{} | ||
19 | 9 | ||
20 | 10#include·<mpi.h> | ||
21 | 11#include·<functional> | ||
22 | 14 | 3#ifndef·DUNE_GRIDGLUE_COMMON_PROJECTIONWRITER_HH | |
15 | 4#define·DUNE_GRIDGLUE_COMMON_PROJECTIONWRITER_HH | ||
16 | 5 | ||
17 | 6#include·<iostream> | ||
18 | 7#include·<string> | ||
19 | 8 | ||
20 | 9#include·<_\x8d_\x8u_\x8n_\x8e_\x8/_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e_\x8/_\x8c_\x8o_\x8m_\x8m_\x8o_\x8n_\x8/_\x8p_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8._\x8h_\x8h> | ||
21 | 10 | ||
22 | 11namespace·_\x8D_\x8u_\x8n_\x8e·{ | ||
23 | 12namespace·GridGlue·{ | ||
23 | 13 | 24 | 13 |
25 | 28template<typename·Coordinate,·typename·Corners,·typename·Normals> | ||
26 | 29void·_\x8w_\x8r_\x8i_\x8t_\x8e(const·Projection<Coordinate>&·projection, | ||
27 | 30·const·Corners&·corners, | ||
28 | 31·const·Normals&·normals, | ||
29 | 32·std::ostream&·out); | ||
30 | 33 | ||
31 | 40template<typename·Coordinate,·typename·Corners,·typename·Normals> | ||
32 | 41void·_\x8w_\x8r_\x8i_\x8t_\x8e(const·Projection<Coordinate>&·projection, | ||
33 | 42·const·Corners&·corners, | ||
34 | 43·const·Normals&·normals, | ||
35 | 44·const·std::string&·filename); | ||
36 | 54template<typename·Coordinate,·typename·Corners,·typename·Normals> | ||
37 | 55void·_\x8p_\x8r_\x8i_\x8n_\x8t(const·Projection<Coordinate>&·projection, | ||
38 | 56·const·Corners&·corners, | ||
39 | 57·const·Normals&·normals); | ||
40 | 58 | ||
41 | 59}·/*·namespace·GridGlue·*/ | ||
24 | 14#include·<dune/common/fvector.hh> | ||
25 | 15#include·<dune/common/hybridutilities.hh> | ||
26 | 16 | ||
27 | 17#include·<dune/geometry/type.hh> | ||
28 | 18 | ||
29 | 19namespace·_\x8D_\x8u_\x8n_\x8e·{ | ||
30 | _\x82_\x80namespace·Parallel·{ | ||
31 | 21 | ||
32 | 22·namespace·Impl·{ | ||
33 | 23 | ||
34 | 25·template<typename·T> | ||
35 | 26·struct·MPITypeInfo·{}; | ||
36 | 27 | ||
37 | 28·template<> | ||
38 | 29·struct·MPITypeInfo<·int·> | ||
39 | 30·{ | ||
40 | 31·static·const·unsigned·int·size·=·1; | ||
41 | 32·static·inline·MPI_Datatype·getType() | ||
42 | 33·{ | ||
43 | 34·return·MPI_INT; | ||
44 | 35·} | ||
45 | 36·}; | ||
46 | 37 | ||
47 | 38·template<typename·K,·int·N> | ||
48 | 39·struct·MPITypeInfo<·_\x8D_\x8u_\x8n_\x8e::FieldVector<K,N>·> | ||
49 | 40·{ | ||
50 | 41·static·const·unsigned·int·size·=·N; | ||
51 | 42·static·inline·MPI_Datatype·getType() | ||
52 | 43·{ | ||
53 | 44·return·Dune::MPITraits<K>::getType(); | ||
54 | 45·} | ||
55 | 46·}; | ||
56 | 47 | ||
57 | 48·template<> | ||
58 | 49·struct·MPITypeInfo<·unsigned·int·> | ||
59 | 50·{ | ||
60 | 51·static·const·unsigned·int·size·=·1; | ||
61 | 52·static·inline·MPI_Datatype·getType() | ||
62 | 53·{ | ||
63 | 54·return·MPI_UNSIGNED; | ||
64 | 55·} | ||
65 | 56·}; | ||
66 | 57 | ||
67 | 58·template<> | ||
68 | 59·struct·MPITypeInfo<·_\x8D_\x8u_\x8n_\x8e::GeometryType·> | ||
69 | 60·{ | ||
70 | 61·static·const·unsigned·int·size·=·1; | ||
71 | 62·static·inline·MPI_Datatype·getType() | ||
72 | 63·{ | ||
73 | 64·return·Dune::MPITraits<·Dune::GeometryType·>::getType(); | ||
74 | 65·} | ||
75 | 66·}; | ||
76 | 67 | ||
77 | 68·template<typename·T> | ||
78 | 69·void·MPI_SetVectorSize( | ||
79 | 70·std::vector<T>·&·data, | ||
80 | 71·MPI_Status·&·status) | ||
81 | 72·{ | ||
82 | 73·typedef·MPITypeInfo<T>·Info; | ||
83 | 74·int·sz; | ||
84 | 75·MPI_Get_count(&status,·Info::getType(),·&sz); | ||
85 | 76·assert(sz%Info::size·==·0); | ||
86 | 77·data.resize(sz/Info::size); | ||
87 | 78·} | ||
88 | 79 | ||
89 | 89·template<typename·T> | ||
90 | 90·void·MPI_SendVectorInRing( | ||
91 | 91·std::vector<T>·&·data, | ||
92 | 92·std::vector<T>·&·next, | ||
93 | 93·int·tag, | ||
94 | 94·int·rightrank, | ||
95 | 95·int·leftrank, | ||
96 | 96·MPI_Comm·comm, | ||
97 | 97·MPI_Request&·r_send, | ||
98 | 98·MPI_Request&·r_recv | ||
99 | 99·) | ||
100 | 100·{ | ||
101 | 101·//·mpi·status·stuff | ||
Max diff block lines reached; 1010/10693 bytes (9.45%) 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.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, 47 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_65f347cff0208f20f00d27c542208238.html">common</a></li>··</ul> | 72 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_65f347cff0208f20f00d27c542208238.html">common</a></li>··</ul> |
73 | </div> | 73 | </div> |
74 | </div><!--·top·--> | 74 | </div><!--·top·--> |
75 | <div·class="header"> | 75 | <div·class="header"> |
76 | ··<div·class="summary"> | 76 | ··<div·class="summary"> |
77 | <a·href="#namespaces">Namespaces</a>·| | 77 | <a·href="#namespaces">Namespaces</a>·| |
78 | <a·href="#func-members">Functions</a>··</div> | 78 | <a·href="#func-members">Functions</a>··</div> |
79 | ··<div·class="headertitle"><div·class="title"> | 79 | ··<div·class="headertitle"><div·class="title">areawriter.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·<ostream></code><br·/> |
83 | <code>#include·< | 83 | <code>#include·<string></code><br·/> |
84 | <code>#include·"<a·class="el"·href="a00032_source.html">areawriter_impl.hh</a>"</code><br·/> | ||
84 | </div> | 85 | </div> |
85 | <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> |
86 | <table·class="memberdecls"> | 87 | <table·class="memberdecls"> |
87 | <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> |
88 | Namespaces</h2></td></tr> | 89 | Namespaces</h2></td></tr> |
89 | <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> |
90 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 91 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
91 | <tr·class="memitem:a00104"·id="r_a00104"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00104.html">Dune::GridGlue</a></td></tr> | 92 | <tr·class="memitem:a00104"·id="r_a00104"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00104.html">Dune::GridGlue</a></td></tr> |
92 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 93 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
93 | <tr·class="memitem:a00106"·id="r_a00106"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00106.html">Dune::GridGlue::ProjectionImplementation</a></td></tr> | ||
94 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
95 | </table><table·class="memberdecls"> | 94 | </table><table·class="memberdecls"> |
96 | <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> |
97 | Functions</h2></td></tr> | 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> | ||
98 | <tr·class="memitem:aceaac4969247e38262453f82aca8bedf"·id="r_aceaac4969247e38262453f82aca8bedf"><td·class="memTemplParams"·colspan="2">template<typename·Coordinate·,·typename·Field·>·</td></tr> | ||
99 | <tr·class="memitem:aceaac4969247e38262453f82aca8bedf"><td·class="memTemplItemLeft"·align="right"·valign="top">Coordinate </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00106.html#aceaac4969247e38262453f82aca8bedf">Dune::GridGlue::ProjectionImplementation::corner</a>·(unsigned·c)</td></tr> | ||
100 | <tr·class="separator:aceaac4969247e38262453f82aca8bedf"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
101 | <tr·class="memitem:aacdd5e2a100b6f25a5b4f83d91d29a0f"·id="r_aacdd5e2a100b6f25a5b4f83d91d29a0f"><td·class="memItemLeft"·align="right"·valign="top">std::pair<·unsigned,·unsigned·> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00106.html#aacdd5e2a100b6f25a5b4f83d91d29a0f">Dune::GridGlue::ProjectionImplementation::edgeToCorners</a>·(unsigned·edge)</td></tr> | ||
102 | <tr·class="separator:a | 99 | <tr·class="separator:a16ccdbde4466d3073eab2a0f25d78f4e"><td·class="memSeparator"·colspan="2"> </td></tr> |
103 | <tr·class="memitem:a6cad77ef0322dd2d36743bee614e74e6"·id="r_a6cad77ef0322dd2d36743bee614e74e6"><td·class="memTemplParams"·colspan="2">template<typename·Coordinate·,·typename·Corners·>·</td></tr> | ||
104 | <tr·class="memitem:a | 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:a | 105 | <tr·class="separator:ab4463688255524d5d7433ae6af851884"><td·class="memSeparator"·colspan="2"> </td></tr> |
106 | <tr·class="memitem:ad16a87230471ed2c5af0980dfa1668f0"·id="r_ad16a87230471ed2c5af0980dfa1668f0"><td·class="memTemplParams"·colspan="2">template<typename·Coordinate·,·typename·Normals·>·</td></tr> | ||
107 | <tr·class="memitem:ad16a87230471ed2c5af0980dfa1668f0"><td·class="memTemplItemLeft"·align="right"·valign="top">Normals::value_type </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00106.html#ad16a87230471ed2c5af0980dfa1668f0">Dune::GridGlue::ProjectionImplementation::interpolate_unit_normals</a>·(const·Coordinate·&x,·const·Normals·&normals)</td></tr> | ||
108 | <tr·class="separator:ad16a87230471ed2c5af0980dfa1668f0"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
109 | <tr·class="memitem:a870cd1d1b2cb9d977ceab3032db9dca6"·id="r_a870cd1d1b2cb9d977ceab3032db9dca6"><td·class="memTemplParams"·colspan="2">template<typename·Coordinate·,·typename·Field·>·</td></tr> | ||
110 | <tr·class="memitem:a870cd1d1b2cb9d977ceab3032db9dca6"><td·class="memTemplItemLeft"·align="right"·valign="top">bool </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00106.html#a870cd1d1b2cb9d977ceab3032db9dca6">Dune::GridGlue::ProjectionImplementation::inside</a>·(const·Coordinate·&x,·const·Field·&epsilon)</td></tr> | ||
111 | <tr·class="separator:a870cd1d1b2cb9d977ceab3032db9dca6"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
112 | </table> | 106 | </table> |
113 | </div><!--·contents·--> | 107 | </div><!--·contents·--> |
114 | <!--·start·footer·part·--> | 108 | <!--·start·footer·part·--> |
115 | <hr·class="footer"/><address·class="footer"><small> | 109 | <hr·class="footer"/><address·class="footer"><small> |
116 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 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 |
117 | </small></address> | 111 | </small></address> |
118 | </body> | 112 | </body> |
Offset 2, 43 lines modified | Offset 2, 31 lines modified | ||
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | ····*·_\x8d_\x8u_\x8n_\x8e | 5 | ····*·_\x8d_\x8u_\x8n_\x8e |
6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e | 6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e |
7 | ····*·_\x8c_\x8o_\x8m_\x8m_\x8o_\x8n | 7 | ····*·_\x8c_\x8o_\x8m_\x8m_\x8o_\x8n |
8 | _\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s·|·_\x8F_\x8u_\x8n_\x8c_\x8t_\x8i_\x8o_\x8n_\x8s | 8 | _\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s·|·_\x8F_\x8u_\x8n_\x8c_\x8t_\x8i_\x8o_\x8n_\x8s |
9 | projection_impl.hh·File·Reference | ||
10 | #include·<dune/common/fmatrix.hh> | ||
11 | 9 | areawriter.hh·File·Reference | |
10 | #include·<ostream> | ||
11 | #include·<string> | ||
12 | #include·"_\x8a_\x8r_\x8e_\x8a_\x8w_\x8r_\x8i_\x8t_\x8e_\x8r_\x8__\x8i_\x8m_\x8p_\x8l_\x8._\x8h_\x8h" | ||
12 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 13 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
13 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s | 14 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s |
14 | namespace· ·_\x8D_\x8u_\x8n_\x8e | 15 | namespace· ·_\x8D_\x8u_\x8n_\x8e |
15 | 16 | ||
16 | namespace· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e | 17 | namespace· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e |
17 | 18 | ||
18 | namespace· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8P_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8I_\x8m_\x8p_\x8l_\x8e_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n | ||
19 | |||
20 | F\x8Fu\x8un\x8nc\x8ct\x8ti\x8io\x8on\x8ns\x8s | 19 | F\x8Fu\x8un\x8nc\x8ct\x8ti\x8io\x8on\x8ns\x8s |
20 | template<int·side,·typename·Glue·> | ||
21 | void ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8g_\x8l_\x8u_\x8e_\x8__\x8a_\x8r_\x8e_\x8a_\x8__\x8v_\x8t_\x8k·(const·Glue·&glue,·std::ostream·&out) | ||
21 | template<typename·Coordinate·,·typename·Field·> | ||
22 | ·····················Coordinate ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8P_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8I_\x8m_\x8p_\x8l_\x8e_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8:_\x8: | ||
23 | ·································_\x8c_\x8o_\x8r_\x8n_\x8e_\x8r·(unsigned·c) | ||
24 | |||
25 | std::pair<·unsigned,·unsigned·> ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8P_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8I_\x8m_\x8p_\x8l_\x8e_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8:_\x8: | ||
26 | ·································_\x8e_\x8d_\x8g_\x8e_\x8T_\x8o_\x8C_\x8o_\x8r_\x8n_\x8e_\x8r_\x8s·(unsigned·edge) | ||
27 | |||
28 | template<typename·Coordinate·,·typename·Corners·> | ||
29 | ············Corners::value_type ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8P_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8I_\x8m_\x8p_\x8l_\x8e_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8:_\x8: | ||
30 | ·································_\x8i_\x8n_\x8t_\x8e_\x8r_\x8p_\x8o_\x8l_\x8a_\x8t_\x8e·(const·Coordinate·&x,·const | ||
31 | ·································Corners·&corners) | ||
32 | |||
33 | template<typename·Coordinate·,·typename·Normals·> | ||
34 | ············Normals::value_type ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8P_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8I_\x8m_\x8p_\x8l_\x8e_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8:_\x8: | ||
35 | ·································_\x8i_\x8n_\x8t_\x8e_\x8r_\x8p_\x8o_\x8l_\x8a_\x8t_\x8e_\x8__\x8u_\x8n_\x8i_\x8t_\x8__\x8n_\x8o_\x8r_\x8m_\x8a_\x8l_\x8s·(const·Coordinate·&x, | ||
36 | ·································const·Normals·&normals) | ||
37 | 22 | ||
38 | template<typename·Coordinate·,·typename·Field·> | ||
39 | ···························bool ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8P_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8I_\x8m_\x8p_\x8l_\x8e_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8:_\x8: | ||
40 | ·································_\x8i_\x8n_\x8s_\x8i_\x8d_\x8e·(const·Coordinate·&x,·const·Field | ||
41 | 23 | template<int·side,·typename·Glue·> | |
24 | void ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8g_\x8l_\x8u_\x8e_\x8__\x8a_\x8r_\x8e_\x8a_\x8__\x8v_\x8t_\x8k·(const·Glue·&glue,·const·std::string | ||
25 | ······&filename) | ||
26 | |||
27 | template<typename·Glue·> | ||
28 | void ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8g_\x8l_\x8u_\x8e_\x8__\x8a_\x8r_\x8e_\x8a_\x8s_\x8__\x8v_\x8t_\x8k·(const·Glue·&glue,·const·std::string | ||
29 | ······&base) | ||
42 | 30 | ||
43 | =============================================================================== | 31 | =============================================================================== |
44 | ·····Generated·by _\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]·1.9.8 | 32 | ·····Generated·by _\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]·1.9.8 |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-grid-glue:· | 8 | <title>dune-grid-glue:·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, 464 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"> | 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">//·SPDX-FileCopyrightInfo:·Copyright·©·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div> |
84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with-dune-grid-glue-exception</span></div> | 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with-dune-grid-glue-exception</span></div> |
85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#in | 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_GRIDGLUE_COMMON_AREAWRITER_HH</span></div> |
86 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_GRIDGLUE_COMMON_AREAWRITER_HH</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> |
88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#include·<ostream></span></div> | ||
87 | <div·class="line"><a·id="l0000 | 89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#include·<string></span></div> |
88 | <div·class="line"><a·id="l0000 | 90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span>·</div> |
89 | <div·class="line"><a·id="l0000 | 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> |
90 | <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> |
91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> | ||
92 | <div·class="foldopen"·id="foldopen00010"·data-start="{"·data-end="}"> | ||
93 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno"><a·class="line"·href="a00106.html">···10</a></span><span·class="keyword">namespace·</span>ProjectionImplementation·{</div> | ||
94 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div> | 93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div> |
94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="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> | ||
95 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="keyword">template</span><<span·class="keyword">typename</span>·Coordinate,·<span·class="keyword">typename</span>·Field></div> | ||
96 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="keyword">inline</span>·Coordinate</div> | ||
97 | <div·class="foldopen"·id="foldopen00024"·data-start="{"·data-end="}"> | ||
98 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno"><a·class="line"·href="a00106.html#aceaac4969247e38262453f82aca8bedf">···24</a></span><a·class="code·hl_function"·href="a00106.html#aceaac4969247e38262453f82aca8bedf">corner</a>(<span·class="keywordtype">unsigned</span>·c)</div> | ||
99 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>{</div> | ||
100 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>··Coordinate·x(Field(0));</div> | ||
101 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>··<span·class="keywordflow">if</span>·(c·==·0)</div> | ||
102 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>····<span·class="keywordflow">return</span>·x;</div> | ||
103 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>··x[c-1]·=·Field(1);</div> | ||
104 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>··<span·class="keywordflow">return</span>·x;</div> | ||
105 | <div·class="line"><a·id="l000 | 96 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div> |
106 | </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> | ||
107 | <div·class="line"><a·id="l0003 | 102 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div> |
108 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span><span·class="keyword">inline</span>·std::pair<unsigned,·unsigned></div> | ||
109 | <div·class="foldopen"·id="foldopen00043"·data-start="{"·data-end="}"> | ||
110 | <div·class="line"><a·id="l0004 | 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="l00043"·name="l00043"></a><span·class="lineno">···43</span><span·class="preprocessor">#include·"<a·class="code"·href="a00032.html">areawriter_impl.hh</a>"</span></div> | ||
111 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span> | 107 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div> |
112 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>··<span·class="keywordflow">switch</span>(edge)·{</div> | ||
113 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>····<span·class="keywordflow">case</span>·0:·<span·class="keywordflow">return</span>·{0,·1};</div> | ||
114 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>····<span·class="keywordflow">case</span>·1:·<span·class="keywordflow">return</span>·{0,·2};</div> | ||
115 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>····<span·class="keywordflow">case</span>·2:·<span·class="keywordflow">return</span>·{1,·2};</div> | ||
116 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>··}</div> | ||
117 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>··DUNE_THROW(Dune::Exception,·<span·class="stringliteral">"Unexpected·edge·number."</span>);</div> | ||
118 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>}</div> | ||
119 | </div> | ||
120 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div> | ||
121 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span><span·class="keyword">template</span><<span·class="keyword">typename</span>·Coordinate,·<span·class="keyword">typename</span>·Corners></div> | ||
122 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span><span·class="keyword">inline</span>·<span·class="keyword">typename</span>·Corners::value_type</div> | ||
123 | <div·class="foldopen"·id="foldopen00070"·data-start="{"·data-end="}"> | ||
124 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno"><a·class="line"·href="a00106.html#a6cad77ef0322dd2d36743bee614e74e6">···70</a></span><a·class="code·hl_function"·href="a00106.html#a6cad77ef0322dd2d36743bee614e74e6">interpolate</a>(<span·class="keyword">const</span>·Coordinate&·x,·<span·class="keyword">const</span>·Corners&·corners)</div> | ||
125 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>{</div> | ||
126 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>··<span·class="keyword">auto</span>·y·=·corners[0];</div> | ||
127 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>··<span·class="keywordflow">for</span>·(<span·class="keywordtype">unsigned</span>·i·=·0;·i·<·corners.size()·-·1;·++i)</div> | ||
128 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>····y.axpy(x[i],·corners[i+1]·-·corners[0]);</div> | ||
129 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>··<span·class="keywordflow">return</span>·y;</div> | ||
130 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>}</div> | ||
131 | </div> | ||
132 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>·</div> | ||
133 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span><span·class="keyword">template</span><<span·class="keyword">typename</span>·Coordinate,·<span·class="keyword">typename</span>·Normals></div> | ||
134 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span><span·class="keyword">inline</span>·<span·class="keyword">typename</span>·Normals::value_type</div> | ||
135 | <div·class="foldopen"·id="foldopen00091"·data-start="{"·data-end="}"> | ||
136 | <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno"><a·class="line"·href="a00106.html#ad16a87230471ed2c5af0980dfa1668f0">···91</a></span><a·class="code·hl_function"·href="a00106.html#ad16a87230471ed2c5af0980dfa1668f0">interpolate_unit_normals</a>(<span·class="keyword">const</span>·Coordinate&·x,·<span·class="keyword">const</span>·Normals&·normals)</div> | ||
137 | <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>{</div> | ||
138 | <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>··<span·class="keyword">auto</span>·n·=·<a·class="code·hl_function"·href="a00106.html#a6cad77ef0322dd2d36743bee614e74e6">interpolate</a>(x,·normals);</div> | ||
139 | <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>··n·/=·n.two_norm();</div> | ||
140 | <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>··<span·class="keywordflow">return</span>·n;</div> | ||
141 | <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>}</div> | ||
142 | </div> | ||
143 | <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>·</div> | ||
144 | <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span><span·class="keyword">template</span><<span·class="keyword">typename</span>·Coordinate,·<span·class="keyword">typename</span>·Field></div> | ||
145 | <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span><span·class="keyword">inline</span>·<span·class="keywordtype">bool</span></div> | ||
146 | <div·class="foldopen"·id="foldopen00111"·data-start="{"·data-end="}"> | ||
147 | <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno"><a·class="line"·href="a00106.html#a870cd1d1b2cb9d977ceab3032db9dca6">··111</a></span><a·class="code·hl_function"·href="a00106.html#a870cd1d1b2cb9d977ceab3032db9dca6">inside</a>(<span·class="keyword">const</span>·Coordinate&·x,·<span·class="keyword">const</span>·Field&·epsilon)</div> | ||
148 | <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno">··112</span>{</div> | ||
149 | <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno">··113</span>··<span·class="keyword">const</span>·<span·class="keywordtype">unsigned</span>·dim·=·Coordinate::dimension;</div> | ||
150 | <div·class="line"><a·id="l00114"·name="l00114"></a><span·class="lineno">··114</span>··Field·sum(0);</div> | ||
151 | <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno">··115</span>··<span·class="keywordflow">for</span>·(<span·class="keywordtype">unsigned</span>·i·=·0;·i·<·dim-1;·++i)·{</div> | ||
152 | <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno">··116</span>····<span·class="keywordflow">if</span>·(x[i]·<·-epsilon)</div> | ||
153 | <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno">··117</span>······<span·class="keywordflow">return</span>·<span·class="keyword">false</span>;</div> | ||
154 | <div·class="line"><a·id="l00118"·name="l00118"></a><span·class="lineno">··118</span>····sum·+=·x[i];</div> | ||
155 | <div·class="line"><a·id="l00119"·name="l00119"></a><span·class="lineno">··119</span>··}</div> | ||
156 | <div·class="line"><a·id="l00120"·name="l00120"></a><span·class="lineno">··120</span>··<span·class="comment">/*·If·any·xᵢ·is·NaN,·sum·will·be·NaN·and·this·comparison·false!·*/</span></div> | ||
157 | <div·class="line"><a·id="l00121"·name="l00121"></a><span·class="lineno">··121</span>··<span·class="keywordflow">if</span>·(sum·<=·Field(1)·+·epsilon)</div> | ||
158 | <div·class="line"><a·id="l00122"·name="l00122"></a><span·class="lineno">··122</span>····<span·class="keywordflow">return</span>·<span·class="keyword">true</span>;</div> | ||
159 | <div·class="line"><a·id="l00123"·name="l00123"></a><span·class="lineno">··123</span>··<span·class="keywordflow">return</span>·<span·class="keyword">false</span>;</div> | ||
160 | <div·class="line"><a·id="l00124"·name="l00124"></a><span·class="lineno">··124</span>}</div> | ||
161 | </div> | ||
162 | <div·class="line"><a·id="l00125"·name="l00125"></a><span·class="lineno">··125</span>·</div> | ||
163 | <div·class="line"><a·id="l00126"·name="l00126"></a><span·class="lineno">··126</span>}·<span·class="comment">/*·namespace·ProjectionImplementation·*/</span></div> | ||
164 | </div> | ||
165 | <div·class="line"><a·id="l00127"·name="l00127"></a><span·class="lineno">··127</span>·</div> | ||
166 | <div·class="line"><a·id="l00128"·name="l00128"></a><span·class="lineno">··128</span><span·class="keyword">template</span><<span·class="keyword">typename</span>·Coordinate></div> | ||
167 | <div·class="line"><a·id="l00129"·name="l00129"></a><span·class="lineno">··129</span>Projection<Coordinate></div> | ||
168 | <div·class="foldopen"·id="foldopen00130"·data-start="{"·data-end="}"> | ||
169 | <div·class="line"><a·id="l00130"·name="l00130"></a><span·class="lineno"><a·class="line"·href="a00994.html#a0f443c28663148f72a8671a2ef9d096e">··130</a></span>::Projection(<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a00994.html#a0312bd2019c83fcdcfe54f413ae2c832">Field</a>·overlap,·<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a00994.html#a0312bd2019c83fcdcfe54f413ae2c832">Field</a>·max_normal_product)</div> | ||
170 | <div·class="line"><a·id="l00131"·name="l00131"></a><span·class="lineno">··131</span>··:·m_overlap(overlap)</div> | ||
171 | <div·class="line"><a·id="l00132"·name="l00132"></a><span·class="lineno">··132</span>··,·m_max_normal_product(max_normal_product)</div> | ||
172 | <div·class="line"><a·id="l00133"·name="l00133"></a><span·class="lineno">··133</span>{</div> | ||
Max diff block lines reached; 3526/76065 bytes (4.64%) of diff not shown. |
Offset 1, 480 lines modified | Offset 1, 48 lines modified | ||
1 | dune-grid-glue 2.10 | 1 | dune-grid-glue 2.10 |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | ····*·_\x8d_\x8u_\x8n_\x8e | 5 | ····*·_\x8d_\x8u_\x8n_\x8e |
6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e | 6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e |
7 | ····*·_\x8c_\x8o_\x8m_\x8m_\x8o_\x8n | 7 | ····*·_\x8c_\x8o_\x8m_\x8m_\x8o_\x8n |
8 | 8 | areawriter.hh | |
9 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 9 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
10 | 1//·SPDX-FileCopyrightInfo:·Copyright·Â©·DUNE·Project·contributors,·see·file | 10 | 1//·SPDX-FileCopyrightInfo:·Copyright·Â©·DUNE·Project·contributors,·see·file |
11 | LICENSE.md·in·module·root | 11 | LICENSE.md·in·module·root |
12 | 2//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with- | 12 | 2//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with- |
13 | dune-grid-glue-exception | 13 | dune-grid-glue-exception |
14 | 3#include·<dune/common/fmatrix.hh> | ||
15 | 4 | ||
16 | 5#include·<cmath> | ||
17 | 14 | 3#ifndef·DUNE_GRIDGLUE_COMMON_AREAWRITER_HH | |
15 | 4#define·DUNE_GRIDGLUE_COMMON_AREAWRITER_HH | ||
16 | 5 | ||
17 | 6#include·<ostream> | ||
18 | 7#include·<string> | ||
19 | 8 | ||
18 | 20 | 9namespace·_\x8D_\x8u_\x8n_\x8e·{ | |
19 | 21 | 10namespace·GridGlue·{ | |
20 | 9 | ||
21 | _\x81_\x80namespace·ProjectionImplementation·{ | ||
22 | 11 | 22 | 11 |
23 | 12template<int·side,·typename·Glue> | ||
24 | 13void·_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8g_\x8l_\x8u_\x8e_\x8__\x8a_\x8r_\x8e_\x8a_\x8__\x8v_\x8t_\x8k(const·Glue&·glue,·std::ostream&·out); | ||
23 | 22template<typename·Coordinate,·typename·Field> | ||
24 | 23inline·Coordinate | ||
25 | _\x82_\x84_\x8c_\x8o_\x8r_\x8n_\x8e_\x8r(unsigned·c) | ||
26 | 25{ | ||
27 | 26·Coordinate·x(Field(0)); | ||
28 | 27·if·(c·==·0) | ||
29 | 28·return·x; | ||
30 | 29·x[c-1]·=·Field(1); | ||
31 | 30·return·x; | ||
32 | 31} | ||
33 | 32 | ||
34 | 42inline·std::pair<unsigned,·unsigned> | ||
35 | _\x84_\x83_\x8e_\x8d_\x8g_\x8e_\x8T_\x8o_\x8C_\x8o_\x8r_\x8n_\x8e_\x8r_\x8s(unsigned·edge) | ||
36 | 44{ | ||
37 | 45·switch(edge)·{ | ||
38 | 46·case·0:·return·{0,·1}; | ||
39 | 47·case·1:·return·{0,·2}; | ||
40 | 48·case·2:·return·{1,·2}; | ||
41 | 49·} | ||
42 | 50·DUNE_THROW(Dune::Exception,·"Unexpected·edge·number."); | ||
43 | 51} | ||
44 | 52 | ||
45 | 68template<typename·Coordinate,·typename·Corners> | ||
46 | 69inline·typename·Corners::value_type | ||
47 | _\x87_\x80_\x8i_\x8n_\x8t_\x8e_\x8r_\x8p_\x8o_\x8l_\x8a_\x8t_\x8e(const·Coordinate&·x,·const·Corners&·corners) | ||
48 | 71{ | ||
49 | 72·auto·y·=·corners[0]; | ||
50 | 73·for·(unsigned·i·=·0;·i·<·corners.size()·-·1;·++i) | ||
51 | 74·y.axpy(x[i],·corners[i+1]·-·corners[0]); | ||
52 | 75·return·y; | ||
53 | 76} | ||
54 | 77 | ||
55 | 89template<typename·Coordinate,·typename·Normals> | ||
56 | 90inline·typename·Normals::value_type | ||
57 | _\x89_\x81_\x8i_\x8n_\x8t_\x8e_\x8r_\x8p_\x8o_\x8l_\x8a_\x8t_\x8e_\x8__\x8u_\x8n_\x8i_\x8t_\x8__\x8n_\x8o_\x8r_\x8m_\x8a_\x8l_\x8s(const·Coordinate&·x,·const·Normals&·normals) | ||
58 | 92{ | ||
59 | 93·auto·n·=·_\x8i_\x8n_\x8t_\x8e_\x8r_\x8p_\x8o_\x8l_\x8a_\x8t_\x8e(x,·normals); | ||
60 | 94·n·/=·n.two_norm(); | ||
61 | 95·return·n; | ||
62 | 96} | ||
63 | 97 | ||
64 | 109template<typename·Coordinate,·typename·Field> | ||
65 | 110inline·bool | ||
66 | _\x81_\x81_\x81_\x8i_\x8n_\x8s_\x8i_\x8d_\x8e(const·Coordinate&·x,·const·Field&·epsilon) | ||
67 | 112{ | ||
68 | 113·const·unsigned·dim·=·Coordinate::dimension; | ||
69 | 114·Field·sum(0); | ||
70 | 115·for·(unsigned·i·=·0;·i·<·dim-1;·++i)·{ | ||
71 | 116·if·(x[i]·<·-epsilon) | ||
72 | 117·return·false; | ||
73 | 118·sum·+=·x[i]; | ||
74 | 119·} | ||
75 | 120·/*·If·any·xáµ¢·is·NaN,·sum·will·be·NaN·and·this·comparison·false!·*/ | ||
76 | 121·if·(sum·<=·Field(1)·+·epsilon) | ||
77 | 122·return·true; | ||
78 | 123·return·false; | ||
79 | 124} | ||
80 | 125 | ||
81 | 126}·/*·namespace·ProjectionImplementation·*/ | ||
82 | 127 | ||
83 | 128template<typename·Coordinate> | ||
84 | 129Projection<Coordinate> | ||
85 | _\x81_\x83_\x80::Projection(const·_\x8F_\x8i_\x8e_\x8l_\x8d·overlap,·const·_\x8F_\x8i_\x8e_\x8l_\x8d·max_normal_product) | ||
86 | 131·:·m_overlap(overlap) | ||
87 | 132·,·m_max_normal_product(max_normal_product) | ||
88 | 133{ | ||
89 | 134·/*·Nothing.·*/ | ||
90 | 135} | ||
91 | 136 | ||
92 | 137template<typename·Coordinate> | ||
93 | 138void | ||
94 | 139_\x8P_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8<_\x8C_\x8o_\x8o_\x8r_\x8d_\x8i_\x8n_\x8a_\x8t_\x8e_\x8> | ||
95 | _\x81_\x84_\x80_\x8:_\x8:_\x8e_\x8p_\x8s_\x8i_\x8l_\x8o_\x8n(const·_\x8F_\x8i_\x8e_\x8l_\x8d·epsilon) | ||
96 | 141{ | ||
97 | 142·m_epsilon·=·epsilon; | ||
98 | 143} | ||
99 | 14 | 25 | 14 |
26 | 15template<int·side,·typename·Glue> | ||
27 | 16void·_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8g_\x8l_\x8u_\x8e_\x8__\x8a_\x8r_\x8e_\x8a_\x8__\x8v_\x8t_\x8k(const·Glue&·glue,·const·std::string&·filename); | ||
100 | 145template<typename·Coordinate> | ||
101 | 146template<typename·Corners,·typename·Normals> | ||
102 | 147void | ||
103 | 148_\x8P_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8<_\x8C_\x8o_\x8o_\x8r_\x8d_\x8i_\x8n_\x8a_\x8t_\x8e_\x8> | ||
104 | 149_\x8:_\x8:_\x8d_\x8o_\x8P_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n(const·std::tuple<Corners&,·Corners&>&·corners,·const·std:: | ||
105 | tuple<Normals&,·Normals&>&·normals) | ||
106 | 150{ | ||
107 | 151·/*·Try·to·obtain·Î¦(xáµ¢)·for·each·corner·xáµ¢·of·the·preimage·triangle. | ||
108 | 152·*·This·means·solving·a·linear·system·of·equations | ||
109 | 153·*·Î¦(xáµ¢)·=·(1-α-β)·yâ·+·Î±·yâ·+·Î²·yâ·=·xáµ¢·+·Î´·náµ¢ | ||
110 | 154·*·or·Î±·(yâ·-·yâ)·+·Î²·(yâ·-·yâ)·-·Î´·náµ¢·=·xáµ¢·-·yâ | ||
111 | 155·*·to·obtain·the·barycentric·coordinates·(α,·Î²)·of·Î¦(xáµ¢)·in·the·image | ||
112 | 156·*·triangle·and·the·distance·Î´. | ||
113 | 157·* | ||
114 | 158·*·In·the·matrix·m·corresponding·to·the·system,·only·the·third·column·and | ||
115 | the | ||
116 | 159·*·right-hand·side·depend·on·i.·The·first·two·columns·can·be·assembled | ||
117 | before | ||
118 | 160·*·and·reused. | ||
Max diff block lines reached; 2434/18577 bytes (13.10%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-grid-glue:·projection.hh·File·Reference</title> | 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, 41 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>·| |
78 | <a·href="#func-members">Functions</a>··</div> | ||
79 | ··<div·class="headertitle"><div·class="title">projection.hh·File·Reference</div></div> | 79 | ··<div·class="headertitle"><div·class="title">projectionwriter_impl.hh·File·Reference</div></div> |
80 | </div><!--header--> | 80 | </div><!--header--> |
81 | <div·class="contents"> | 81 | <div·class="contents"> |
82 | <div·class="textblock"><code>#include·< | 82 | <div·class="textblock"><code>#include·<fstream></code><br·/> |
83 | <code>#include·<bitset></code><br·/> | ||
84 | <code>#include·<tuple></code><br·/> | ||
85 | <code>#include·"<a·class="el"·href="a00047_source.html">projection_impl.hh</a>"</code><br·/> | ||
86 | </div> | 83 | </div> |
87 | <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> |
88 | <table·class="memberdecls"> | 85 | <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> | 86 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
99 | Namespaces</h2></td></tr> | 87 | 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> | 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> |
101 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 89 | <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> | 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> |
103 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 91 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
92 | <tr·class="memitem:a00107"·id="r_a00107"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00107.html">Dune::GridGlue::ProjectionWriterImplementation</a></td></tr> | ||
93 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
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: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:a6cd6ef06c8419ceef0432658a35d97bb"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
120 | <tr·class="memitem:ace9cbed627c90927e36d71a65a5498a3"·id="r_ace9cbed627c90927e36d71a65a5498a3"><td·class="memTemplParams"·colspan="2">template<typename·Coordinate·,·typename·Corners·,·typename·Normals·>·</td></tr> | ||
121 | <tr·class="memitem:ace9cbed627c90927e36d71a65a5498a3"><td·class="memTemplItemLeft"·align="right"·valign="top">void </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00104.html#ace9cbed627c90927e36d71a65a5498a3">Dune::GridGlue::print</a>·(const·<a·class="el"·href="a00994.html">Projection</a><·Coordinate·>·&projection,·const·Corners·&corners,·const·Normals·&normals)</td></tr> | ||
122 | <tr·class="memdesc:ace9cbed627c90927e36d71a65a5498a3"><td·class="mdescLeft"> </td><td·class="mdescRight">Print·information·about·the·projection·to·std::cout·stream.··<br·/></td></tr> | ||
123 | <tr·class="separator:ace9cbed627c90927e36d71a65a5498a3"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
104 | </table> | 124 | </table> |
105 | </div><!--·contents·--> | 125 | </div><!--·contents·--> |
106 | <!--·start·footer·part·--> | 126 | <!--·start·footer·part·--> |
107 | <hr·class="footer"/><address·class="footer"><small> | 127 | <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 | 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 |
109 | </small></address> | 129 | </small></address> |
110 | </body> | 130 | </body> |
Offset 1, 28 lines modified | Offset 1, 60 lines modified | ||
1 | dune-grid-glue 2.10 | 1 | dune-grid-glue 2.10 |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | ····*·_\x8d_\x8u_\x8n_\x8e | 5 | ····*·_\x8d_\x8u_\x8n_\x8e |
6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e | 6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e |
7 | ····*·_\x8c_\x8o_\x8m_\x8m_\x8o_\x8n | 7 | ····*·_\x8c_\x8o_\x8m_\x8m_\x8o_\x8n |
8 | _\x8 | 8 | _\x8N_.a_.m_.e_.s_.p_.a_.c_.e_.s·|·_.F_.u_.n_.c_.t_.i_.o_.n_\x8s |
9 | projection.hh·File·Reference | 9 | projectionwriter_impl.hh·File·Reference |
10 | #include·<array> | ||
11 | #include·<bitset> | ||
12 | #include·<t | 10 | #include·<fstream> |
13 | #include·"_\x8p_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8i_\x8m_\x8p_\x8l_\x8._\x8h_\x8h" | ||
14 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 11 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
15 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s | ||
16 | ·class· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8P_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8<_\x8·_\x8C_\x8o_\x8o_\x8r_\x8d_\x8i_\x8n_\x8a_\x8t_\x8e_\x8·_\x8> | ||
17 | ········_\x8P_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n·of·a·line·(triangle)·on·another·line·(triangle).·_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
18 | |||
19 | struct· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8P_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8<_\x8·_\x8C_\x8o_\x8o_\x8r_\x8d_\x8i_\x8n_\x8a_\x8t_\x8e_\x8·_\x8>_\x8:_\x8:_\x8E_\x8d_\x8g_\x8e_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n | ||
20 | ········_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n·between·two·edges·of·a·triangle.·_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
21 | |||
22 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s | 12 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s |
23 | namespace· ·_\x8D_\x8u_\x8n_\x8e | 13 | namespace· ·_\x8D_\x8u_\x8n_\x8e |
24 | 14 | ||
25 | namespace· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e | 15 | namespace· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e |
26 | 16 | ||
17 | namespace· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8P_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8W_\x8r_\x8i_\x8t_\x8e_\x8r_\x8I_\x8m_\x8p_\x8l_\x8e_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n | ||
18 | |||
19 | F\x8Fu\x8un\x8nc\x8ct\x8ti\x8io\x8on\x8ns\x8s | ||
20 | template<unsigned·side,·typename·Coordinate·,·typename·Corners·> | ||
21 | void ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8P_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8W_\x8r_\x8i_\x8t_\x8e_\x8r_\x8I_\x8m_\x8p_\x8l_\x8e_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8:_\x8:_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8p_\x8o_\x8i_\x8n_\x8t_\x8s·(const | ||
22 | ······_\x8P_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n<·Coordinate·>·&projection,·const·Corners·&corners,·std:: | ||
23 | ······ostream·&out) | ||
24 | |||
25 | template<unsigned·side,·typename·Coordinate·,·typename·Normals·> | ||
26 | void ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8P_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8W_\x8r_\x8i_\x8t_\x8e_\x8r_\x8I_\x8m_\x8p_\x8l_\x8e_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8:_\x8:_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8n_\x8o_\x8r_\x8m_\x8a_\x8l_\x8s·(const | ||
27 | ······_\x8P_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n<·Coordinate·>·&projection,·const·Normals·&normals,·std:: | ||
28 | ······ostream·&out) | ||
29 | |||
30 | template<typename·Coordinate·,·typename·Corners·> | ||
31 | void ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8P_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8W_\x8r_\x8i_\x8t_\x8e_\x8r_\x8I_\x8m_\x8p_\x8l_\x8e_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8:_\x8: | ||
32 | ······_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8e_\x8d_\x8g_\x8e_\x8__\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8p_\x8o_\x8i_\x8n_\x8t_\x8s·(const·_\x8P_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n<·Coordinate·> | ||
33 | ······&projection,·const·Corners·&corners,·std::ostream·&out) | ||
34 | |||
35 | template<typename·Coordinate·,·typename·Normals·> | ||
36 | void ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8P_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8W_\x8r_\x8i_\x8t_\x8e_\x8r_\x8I_\x8m_\x8p_\x8l_\x8e_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8:_\x8: | ||
37 | ······_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8e_\x8d_\x8g_\x8e_\x8__\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8n_\x8o_\x8r_\x8m_\x8a_\x8l_\x8s·(const·_\x8P_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n<·Coordinate·> | ||
38 | ······&projection,·const·Normals·&normals,·std::ostream·&out) | ||
39 | |||
40 | template<unsigned·side,·typename·Coordinate·> | ||
41 | void ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8P_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8W_\x8r_\x8i_\x8t_\x8e_\x8r_\x8I_\x8m_\x8p_\x8l_\x8e_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8:_\x8:_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8s_\x8u_\x8c_\x8c_\x8e_\x8s_\x8s·(const | ||
42 | ······_\x8P_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n<·Coordinate·>·&projection,·std::ostream·&out) | ||
43 | |||
44 | template<typename·Coordinate·,·typename·Corners·,·typename·Normals·> | ||
45 | void ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8w_\x8r_\x8i_\x8t_\x8e·(const·_\x8P_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n<·Coordinate·>·&projection,·const | ||
46 | ······Corners·&corners,·const·Normals·&normals,·std::ostream·&out) | ||
47 | ·····write·projection·in·VTK·format | ||
48 | |||
49 | template<typename·Coordinate·,·typename·Corners·,·typename·Normals·> | ||
50 | void ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8w_\x8r_\x8i_\x8t_\x8e·(const·_\x8P_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n<·Coordinate·>·&projection,·const | ||
51 | ······Corners·&corners,·const·Normals·&normals,·const·std::string·&filename) | ||
52 | ·····write·projection·in·VTK·format | ||
53 | |||
54 | template<typename·Coordinate·,·typename·Corners·,·typename·Normals·> | ||
55 | void ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8p_\x8r_\x8i_\x8n_\x8t·(const·_\x8P_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n<·Coordinate·>·&projection,·const | ||
56 | ······Corners·&corners,·const·Normals·&normals) | ||
57 | ·····Print·information·about·the·projection·to·std::cout·stream. | ||
58 | |||
27 | =============================================================================== | 59 | =============================================================================== |
28 | ·····Generated·by _\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]·1.9.8 | 60 | ·····Generated·by _\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]·1.9.8 |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-grid-glue:·projection.hh·Source·File</title> | 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, 137 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">projection.hh</div></div> | 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">#i | 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#include·<fstream></span></div> |
86 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_GRIDGLUE_COMMON_PROJECTIONHELPER2_HH</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> | 89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div> |
90 | <div·class=" | 90 | <div·class="foldopen"·id="foldopen00008"·data-start="{"·data-end="}"> |
91 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno"><a·class="line"·href="a00107.html">····8</a></span><span·class="keyword">namespace·</span>ProjectionWriterImplementation·{</div> | ||
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> |
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> | ||
95 | <div·class="line"><a·id="l0001 | 99 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>··<span·class="keyword">const</span>·<span·class="keywordtype">unsigned</span>·other_side·=·1·-·side;</div> |
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="l000 | 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> | ||
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="l000 | 103 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</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="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div> | ||
105 | <div·class="line"><a·id="l000 | 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#aeab213dc7[·...·truncated·by·diffoscope;·len:·41,·SHA:·fee28ba0ff36335f101ed31de8919580de982eaae2559638db551b7afb3b5117·...·]</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> | ||
106 | <div·class="line"><a·id="l000 | 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="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="l000 | 110 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div> |
113 | <div·class="line"><a·id="l000 | 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">typenam[·...·truncated·by·diffoscope;·len:·19,·SHA:·f3fc9b4d04390e16412a5badfc81447cdefd8ee99c7e11ae5a3cb0e409cb3cc4·...·];</div> |
112 | <div·class="foldopen"·id="foldopen00027"·data-start="{"·data-end="}"> | ||
113 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno"><a·class="line"·href="a00107.html#a127c7fdc1ce8ef1da9e80e5e4dc6189d">···27</a></span><span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a00107.html#a127c7fdc1ce8ef1da9e80e5e4dc6189d">write_normals</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a00994.html">Projection<Coordinate></a>&·projection,·<span·class="keyword">const</span>·Normals&·normals,·std::ostream&·out)</div> | ||
114 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>{</div> | ||
115 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>··<span·class="keyword">using·namespace·</span>ProjectionImplementation;</div> | ||
116 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>··<span·class="keyword">using·</span>std::get;</div> | ||
117 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>··<span·class="keyword">const</span>·<span·class="keywordtype">unsigned</span>·other_side·=·1·-·side;</div> | ||
118 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div> | ||
119 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>··<span·class="keywordflow">for</span>·(<span·class="keyword">const</span>·<span·class="keyword">auto</span>&·n·:·get<side>(normals))</div> | ||
120 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>····out·<<·n·<<·<span·class="stringliteral">"\n"</span>;</div> | ||
121 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div> | ||
122 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>··<span·class="keywordflow">for</span>·(<span·class="keyword">const</span>·<span·class="keyword">auto</span>&·x·:·get<side>(projection.<a·class="code·hl_function"·href="a00994.html#aeab213dc7d5226a105d2ddf4f59c3183">images</a>()))·{</div> | ||
123 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>····<span·class="keyword">const</span>·<span·class="keyword">auto</span>·n·=·interpolate_unit_normals(x,·get<other_side>(normals));</div> | ||
124 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>····out·<<·n·<<·<span·class="stringliteral">"\n"</span>;</div> | ||
125 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>··}</div> | ||
126 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>}</div> | ||
127 | </div> | ||
128 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·</div> | ||
129 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span><span·class="keyword">template</span><<span·class="keyword">typename</span>·Coordinate,·<span·class="keyword">typename</span>·Corners></div> | ||
130 | <div·class="foldopen"·id="foldopen00043"·data-start="{"·data-end="}"> | ||
131 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno"><a·class="line"·href="a00107.html#a84bdedfab7dc7e7f9ed2f0ea09499414">···43</a></span><span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a00107.html#a84bdedfab7dc7e7f9ed2f0ea09499414">write_edge_intersection_points</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a00994.html">Projection<Coordinate></a>&·projection,·<span·class="keyword">const</span>·Corners&·corners,·std::ostream&·out)</div> | ||
132 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>{</div> | ||
133 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>··<span·class="keyword">using·namespace·</span>ProjectionImplementation;</div> | ||
134 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>··<span·class="keyword">using·</span>std::get;</div> | ||
135 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div> | ||
136 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>··<span·class="keywordflow">for</span>·(std::size_t·i·=·0;·i·<·projection.<a·class="code·hl_function"·href="a00994.html#ad775f9e1a7b13cfb01807f00013053c7">numberOfEdgeIntersections</a>();·++i)·{</div> | ||
137 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>····<span·class="keyword">const</span>·<span·class="keyword">auto</span>&·local·=·projection.<a·class="code·hl_function"·href="a00994.html#af3ffe2462d703112315d56f040da3ed5">edgeIntersections</a>()[i].local;</div> | ||
138 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>····out·<<·interpolate(local[0],·get<0>(corners))·<<·<span·class="stringliteral">"\n"</span></div> | ||
139 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>········<<·interpolate(local[1],·get<1>(corners))·<<·<span·class="stringliteral">"\n"</span>;</div> | ||
140 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>··}</div> | ||
141 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>}</div> | ||
142 | </div> | ||
143 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div> | ||
144 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span><span·class="keyword">template</span><<span·class="keyword">typename</span>·Coordinate,·<span·class="keyword">typename</span>·Normals></div> | ||
145 | <div·class="foldopen"·id="foldopen00056"·data-start="{"·data-end="}"> | ||
146 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno"><a·class="line"·href="a00107.html#acba14119e369d32663687241e6abcca5">···56</a></span><span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a00107.html#acba14119e369d32663687241e6abcca5">write_edge_intersection_normals</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a00994.html">Projection<Coordinate></a>&·projection,·<span·class="keyword">const</span>·Normals&·normals,·std::ostream&·out)</div> | ||
114 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span> | 147 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>{</div> |
115 | <div·class="line"><a·id="l000 | 148 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>··<span·class="keyword">using·namespace·</span>ProjectionImplementation;</div> |
149 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>··<span·class="keyword">using·</span>std::get;</div> | ||
116 | <div·class="line"><a·id="l0006 | 150 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div> |
151 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>··<span·class="keywordflow">for</span>·(std::size_t·i·=·0;·i·<·projection.<a·class="code·hl_function"·href="a00994.html#ad775f9e1a7b13cfb01807f00013053c7">numberOfEdgeIntersections</a>();·++i)·{</div> | ||
152 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>····<span·class="keyword">const</span>·<span·class="keyword">auto</span>&·local·=·projection.<a·class="code·hl_function"·href="a00994.html#af3ffe2462d703112315d56f040da3ed5">edgeIntersections</a>()[i].local;</div> | ||
153 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>····<span·class="keyword">const</span>·<span·class="keyword">auto</span>·n0·=·interpolate_unit_normals(local[0],·get<0>(normals));</div> | ||
154 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>····<span·class="keyword">const</span>·<span·class="keyword">auto</span>·n1·=·interpolate_unit_normals(local[1],·get<1>(normals));</div> | ||
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="l000 | 155 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>·</div> |
124 | <div·class="line"><a·id="l000 | 156 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>····out·<<·n0·<<·<span·class="stringliteral">"\n"</span></div> |
157 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>········<<·n1·<<·<span·class="stringliteral">"\n"</span>;</div> | ||
158 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>··}</div> | ||
159 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>}</div> | ||
160 | </div> | ||
161 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div> | ||
162 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span><span·class="keyword">template</span><<span·class="keywordtype">unsigned</span>·s<span·class="keywordtype">id</span>e,·<span·class="keyword">typename</span>·Coordinate></div> | ||
163 | <div·class="foldopen"·id="foldopen00072"·data-start="{"·data-end="}"> | ||
164 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno"><a·class="line"·href="a00107.html#a38c6fb299869cdd0448404d39bfac63f">···72</a></span><span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a00107.html#a38c6fb299869cdd0448404d39bfac63f">write_success</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a00994.html">Projection<Coordinate></a>&·projection,·std::ostream&·out)</div> | ||
Max diff block lines reached; 32778/59544 bytes (55.05%) of diff not shown. |
Offset 1, 175 lines modified | Offset 1, 238 lines modified | ||
1 | dune-grid-glue 2.10 | 1 | dune-grid-glue 2.10 |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | ····*·_\x8d_\x8u_\x8n_\x8e | 5 | ····*·_\x8d_\x8u_\x8n_\x8e |
6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e | 6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e |
7 | ····*·_\x8c_\x8o_\x8m_\x8m_\x8o_\x8n | 7 | ····*·_\x8c_\x8o_\x8m_\x8m_\x8o_\x8n |
8 | projection.hh | 8 | projectionwriter_impl.hh |
9 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 9 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
10 | 1//·SPDX-FileCopyrightInfo:·Copyright·Â©·DUNE·Project·contributors,·see·file | 10 | 1//·SPDX-FileCopyrightInfo:·Copyright·Â©·DUNE·Project·contributors,·see·file |
11 | LICENSE.md·in·module·root | 11 | LICENSE.md·in·module·root |
12 | 2//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with- | 12 | 2//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with- |
13 | dune-grid-glue-exception | 13 | dune-grid-glue-exception |
14 | 3#ifndef·DUNE_GRIDGLUE_COMMON_PROJECTIONHELPER2_HH | ||
15 | 4#define·DUNE_GRIDGLUE_COMMON_PROJECTIONHELPER2_HH | ||
16 | 5 | ||
17 | 6#include·<array> | ||
18 | 7#include·<bitset> | ||
19 | 14 | 3#include·<fstream> | |
15 | 4 | ||
16 | 5namespace·_\x8D_\x8u_\x8n_\x8e·{ | ||
17 | 6namespace·GridGlue·{ | ||
18 | 7 | ||
19 | _\x88namespace·ProjectionWriterImplementation·{ | ||
20 | 9 | 20 | 9 |
21 | 10namespace·_\x8D_\x8u_\x8n_\x8e·{ | ||
22 | 1 | 21 | 10template<unsigned·side,·typename·Coordinate,·typename·Corners> |
22 | _\x81_\x81void·_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8p_\x8o_\x8i_\x8n_\x8t_\x8s(const·_\x8P_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8<_\x8C_\x8o_\x8o_\x8r_\x8d_\x8i_\x8n_\x8a_\x8t_\x8e_\x8>&·projection,·const·Corners& | ||
23 | corners,·std::ostream&·out) | ||
23 | 12 | 24 | 12{ |
24 | 19template<typename·Coordinate> | ||
25 | _\x82_\x80class·_\x8P_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n | ||
26 | 21{ | ||
27 | 22public: | ||
28 | _\x82_\x88·struct·_\x8E_\x8d_\x8g_\x8e_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n | ||
29 | 29·{ | ||
30 | _\x83_\x83·std::array<unsigned,·2>·_\x8e_\x8d_\x8g_\x8e; | ||
31 | 34 | ||
32 | _\x84_\x81·std::array<Coordinate,·2>·_\x8l_\x8o_\x8c_\x8a_\x8l; | ||
33 | 42·}; | ||
34 | 43 | ||
35 | _\x84_\x87·constexpr·static·unsigned·_\x8d_\x8i_\x8m·=·Coordinate::dimension; | ||
36 | 48 | ||
37 | _\x85_\x84·constexpr·static·unsigned·_\x8m_\x8a_\x8x_\x8E_\x8d_\x8g_\x8e_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8s·=·_\x8d_\x8i_\x8m·==·3·?·9·:·0; | ||
38 | 55 | ||
39 | 56·static_assert(_\x8d_\x8i_\x8m·==·2·||·_\x8d_\x8i_\x8m·==·3,·"Projection·only·implemented·for·dim=2 | ||
40 | o | 25 | 13·using·namespace·ProjectionImplementation; |
26 | 14·using·std::get; | ||
27 | 15·const·unsigned·other_side·=·1·-·side; | ||
28 | 16 | ||
29 | 17·for·(const·auto&·c·:·get<side>(corners)) | ||
30 | 18·out·<<·c·<<·"\n"; | ||
31 | 19 | ||
32 | 20·for·(const·auto&·i·:·get<side>(projection._\x8i_\x8m_\x8a_\x8g_\x8e_\x8s()))·{ | ||
33 | 21·const·auto·global·=·interpolate(i,·get<other_side>(corners)); | ||
34 | 22·out·<<·global·<<·"\n"; | ||
35 | 23·} | ||
36 | 24} | ||
37 | 25 | ||
38 | 26template<unsigned·side,·typename·Coordinate,·typename·Normals> | ||
39 | _\x82_\x87void·_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8n_\x8o_\x8r_\x8m_\x8a_\x8l_\x8s(const·_\x8P_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8<_\x8C_\x8o_\x8o_\x8r_\x8d_\x8i_\x8n_\x8a_\x8t_\x8e_\x8>&·projection,·const·Normals& | ||
40 | normals,·std::ostream&·out) | ||
41 | 28{ | ||
42 | 29·using·namespace·ProjectionImplementation; | ||
43 | 30·using·std::get; | ||
44 | 31·const·unsigned·other_side·=·1·-·side; | ||
45 | 32 | ||
46 | 33·for·(const·auto&·n·:·get<side>(normals)) | ||
47 | 34·out·<<·n·<<·"\n"; | ||
48 | 35 | ||
49 | 36·for·(const·auto&·x·:·get<side>(projection._\x8i_\x8m_\x8a_\x8g_\x8e_\x8s()))·{ | ||
50 | 37·const·auto·n·=·interpolate_unit_normals(x,·get<other_side>(normals)); | ||
51 | 38·out·<<·n·<<·"\n"; | ||
52 | 39·} | ||
53 | 40} | ||
54 | 41 | ||
55 | 42template<typename·Coordinate,·typename·Corners> | ||
56 | _\x84_\x83void·_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8e_\x8d_\x8g_\x8e_\x8__\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8p_\x8o_\x8i_\x8n_\x8t_\x8s(const·_\x8P_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8<_\x8C_\x8o_\x8o_\x8r_\x8d_\x8i_\x8n_\x8a_\x8t_\x8e_\x8>&·projection, | ||
57 | const·Corners&·corners,·std::ostream&·out) | ||
58 | 44{ | ||
59 | 45·using·namespace·ProjectionImplementation; | ||
60 | 46·using·std::get; | ||
61 | 47 | ||
62 | 48·for·(std::size_t·i·=·0;·i·<·projection._\x8n_\x8u_\x8m_\x8b_\x8e_\x8r_\x8O_\x8f_\x8E_\x8d_\x8g_\x8e_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8s();·++i)·{ | ||
63 | 49·const·auto&·local·=·projection._\x8e_\x8d_\x8g_\x8e_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8s()[i].local; | ||
64 | 50·out·<<·interpolate(local[0],·get<0>(corners))·<<·"\n" | ||
65 | 51·<<·interpolate(local[1],·get<1>(corners))·<<·"\n"; | ||
66 | 52·} | ||
67 | 53} | ||
68 | 54 | ||
69 | 55template<typename·Coordinate,·typename·Normals> | ||
70 | _\x85_\x86void·_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8e_\x8d_\x8g_\x8e_\x8__\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8n_\x8o_\x8r_\x8m_\x8a_\x8l_\x8s(const·_\x8P_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8<_\x8C_\x8o_\x8o_\x8r_\x8d_\x8i_\x8n_\x8a_\x8t_\x8e_\x8>& | ||
71 | projection,·const·Normals&·normals,·std::ostream&·out) | ||
41 | 57 | 72 | 57{ |
42 | _\x86_\x81·typedef·typename·Coordinate::field_type·_\x8F_\x8i_\x8e_\x8l_\x8d; | ||
43 | 62 | ||
44 | _\x87_\x80·typedef·std::array<Coordinate,·dim>·_\x8I_\x8m_\x8a_\x8g_\x8e_\x8s; | ||
45 | 71 | ||
46 | _\x87_\x88·typedef·_\x8I_\x8m_\x8a_\x8g_\x8e_\x8s·_\x8P_\x8r_\x8e_\x8i_\x8m_\x8a_\x8g_\x8e_\x8s; | ||
47 | 79 | ||
48 | 80private: | ||
49 | 84·const·_\x8F_\x8i_\x8e_\x8l_\x8d·m_overlap; | ||
50 | 85 | ||
51 | 73 | 58·using·namespace·ProjectionImplementation; | |
74 | 59·using·std::get; | ||
75 | 60 | ||
76 | 61·for·(std::size_t·i·=·0;·i·<·projection._\x8n_\x8u_\x8m_\x8b_\x8e_\x8r_\x8O_\x8f_\x8E_\x8d_\x8g_\x8e_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8s();·++i)·{ | ||
77 | 62·const·auto&·local·=·projection._\x8e_\x8d_\x8g_\x8e_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8s()[i].local; | ||
78 | 63·const·auto·n0·=·interpolate_unit_normals(local[0],·get<0>(normals)); | ||
79 | 64·const·auto·n1·=·interpolate_unit_normals(local[1],·get<1>(normals)); | ||
80 | 65 | ||
81 | 66·out·<<·n0·<<·"\n" | ||
82 | 67·<<·n1·<<·"\n"; | ||
83 | 68·} | ||
84 | 69} | ||
85 | 70 | ||
86 | 71template<unsigned·side,·typename·Coordinate> | ||
87 | _\x87_\x82void·_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8s_\x8u_\x8c_\x8c_\x8e_\x8s_\x8s(const·_\x8P_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8<_\x8C_\x8o_\x8o_\x8r_\x8d_\x8i_\x8n_\x8a_\x8t_\x8e_\x8>&·projection,·std::ostream& | ||
88 | out) | ||
89 | 73{ | ||
90 | 74·using·std::get; | ||
91 | 75 | ||
92 | 76·out·<<·side·<<·"\n"; | ||
93 | 77 | ||
94 | 78·const·auto&·success·=·get<side>(projection._\x8s_\x8u_\x8c_\x8c_\x8e_\x8s_\x8s()); | ||
95 | 79·for·(std::size_t·i·=·0;·i·<·success.size();·++i) | ||
96 | 80·out·<<·(success[i]·?·"1\n"·:·"0\n"); | ||
Max diff block lines reached; 11852/17373 bytes (68.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:·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 2, 27 lines modified | Offset 2, 27 lines modified | ||
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | ····*·_\x8d_\x8u_\x8n_\x8e | 5 | ····*·_\x8d_\x8u_\x8n_\x8e |
6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e | 6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e |
7 | ····*·_\x8e_\x8x_\x8t_\x8r_\x8a_\x8c_\x8t_\x8o_\x8r_\x8s | 7 | ····*·_\x8e_\x8x_\x8t_\x8r_\x8a_\x8c_\x8t_\x8o_\x8r_\x8s |
8 | _\x8C_\x8l_\x8a_\x8s_\x8s_\x8e_\x8s·|·_\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s | 8 | _\x8C_\x8l_\x8a_\x8s_\x8s_\x8e_\x8s·|·_\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s |
9 | codim0extractor.hh·File·Reference | ||
10 | Mesh·grid·extractor·base·class.·_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
11 | #include·<deque> | ||
12 | #include·<functional> | ||
13 | #include·<dune/common/deprecated.hh> | ||
14 | #include·<dune/grid/common/mcmgmapper.hh> | ||
15 | 9 | vtksurfacewriter.hh·File·Reference | |
10 | helper·class·for·graphical·output·of·grids·in·generic·representation·_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
11 | #include·<fstream> | ||
12 | #include·<iomanip> | ||
13 | #include·<vector> | ||
14 | #include·<cstring> | ||
15 | #include·"_\x8._\x8._\x8/_\x8a_\x8d_\x8a_\x8p_\x8t_\x8e_\x8r_\x8/_\x8g_\x8r_\x8i_\x8d_\x8g_\x8l_\x8u_\x8e_\x8v_\x8t_\x8k_\x8w_\x8r_\x8i_\x8t_\x8e_\x8r_\x8._\x8h_\x8h" | ||
16 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 16 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
17 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s | 17 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s |
18 | class· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8 | 18 | class· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8V_.t_.k_.S_.u_.r_.f_.a_.c_.e_.W_.r_.i_.t_.e_.r |
19 | 19 | ||
20 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s | 20 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s |
21 | namespace· ·_\x8D_\x8u_\x8n_\x8e | 21 | namespace· ·_\x8D_\x8u_\x8n_\x8e |
22 | 22 | ||
23 | namespace· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e | 23 | namespace· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e |
24 | 24 | ||
25 | *\x8**\x8**\x8**\x8**\x8*·D\x8De\x8et\x8ta\x8ai\x8il\x8le\x8ed\x8d·D\x8De\x8es\x8sc\x8cr\x8ri\x8ip\x8pt\x8ti\x8io\x8on\x8n·*\x8**\x8**\x8**\x8**\x8* | 25 | *\x8**\x8**\x8**\x8**\x8*·D\x8De\x8et\x8ta\x8ai\x8il\x8le\x8ed\x8d·D\x8De\x8es\x8sc\x8cr\x8ri\x8ip\x8pt\x8ti\x8io\x8on\x8n·*\x8**\x8**\x8**\x8**\x8* |
26 | 26 | helper·class·for·graphical·output·of·grids·in·generic·representation | |
27 | =============================================================================== | 27 | =============================================================================== |
28 | ·····Generated·by _\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]·1.9.8 | 28 | ·····Generated·by _\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]·1.9.8 |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-grid-glue:· | 8 | <title>dune-grid-glue:·vtksurfacewriter.hh·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 74, 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 1, 325 lines modified | Offset 1, 280 lines modified | ||
1 | dune-grid-glue 2.10 | 1 | dune-grid-glue 2.10 |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | ····*·_\x8d_\x8u_\x8n_\x8e | 5 | ····*·_\x8d_\x8u_\x8n_\x8e |
6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e | 6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e |
7 | ····*·_\x8e_\x8x_\x8t_\x8r_\x8a_\x8c_\x8t_\x8o_\x8r_\x8s | 7 | ····*·_\x8e_\x8x_\x8t_\x8r_\x8a_\x8c_\x8t_\x8o_\x8r_\x8s |
8 | 8 | vtksurfacewriter.hh | |
9 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 9 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: | 11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: |
12 | 3//·SPDX-FileCopyrightInfo:·Copyright·Â©·DUNE·Project·contributors,·see·file | 12 | 3//·SPDX-FileCopyrightInfo:·Copyright·Â©·DUNE·Project·contributors,·see·file |
13 | LICENSE.md·in·module·root | 13 | LICENSE.md·in·module·root |
14 | 4//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with- | 14 | 4//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with- |
15 | dune-grid-glue-exception | 15 | dune-grid-glue-exception |
16 | 5/* | 16 | 5/* |
17 | 6·*·Filename:· | 17 | 6·*·Filename:·VtkSurfaceWriter.hh |
18 | 7·*·Version:·1.0 | 18 | 7·*·Version:·1.0 |
19 | 8·*·Created·on:·J | 19 | 8·*·Created·on:·Jan·16,·2009 |
20 | 9·*·Author:· | 20 | 9·*·Author:·Gerrit·Buse |
21 | 10·*·--------------------------------- | 21 | 10·*·--------------------------------- |
22 | 11·*·Project:·dune-grid-glue | 22 | 11·*·Project:·dune-grid-glue |
23 | 12·*·Description:· | 23 | 12·*·Description:·helper·class·for·graphical·output·of·grids·in·generic |
24 | representation | ||
24 | 13·* | 25 | 13·* |
25 | 14·*/ | 26 | 14·*/ |
26 | 20#ifndef·DUNE_GRIDGLUE_EXTRACTORS_ | 27 | 20#ifndef·DUNE_GRIDGLUE_EXTRACTORS_VTKSURFACEWRITER_HH |
27 | 21#define·DUNE_GRIDGLUE_EXTRACTORS_ | 28 | 21#define·DUNE_GRIDGLUE_EXTRACTORS_VTKSURFACEWRITER_HH |
28 | 22 | 29 | 22 |
30 | 23#include·<fstream> | ||
31 | 24#include·<iomanip> | ||
32 | 25#include·<vector> | ||
33 | 26#include·<cstring> | ||
34 | 27 | ||
35 | 28#include·"../adapter/gridgluevtkwriter.hh" | ||
36 | 29 | ||
29 | 23#include·<deque> | ||
30 | 24#include·<functional> | ||
31 | 25 | ||
32 | 26#include·<dune/common/deprecated.hh> | ||
33 | 27#include·<dune/grid/common/mcmgmapper.hh> | ||
34 | 28 | ||
35 | 29#include·"_\x8e_\x8x_\x8t_\x8r_\x8a_\x8c_\x8t_\x8o_\x8r_\x8._\x8h_\x8h" | ||
36 | 30 | ||
37 | 3 | 37 | 30namespace·_\x8D_\x8u_\x8n_\x8e·{ |
38 | 3 | 38 | 31 |
39 | 3 | 39 | 32·namespace·GridGlue·{ |
40 | 34 | ||
41 | 38template<typename·GV> | ||
42 | 40 | 33 | |
41 | _\x83_\x84class·_\x8V_\x8t_\x8k_\x8S_\x8u_\x8r_\x8f_\x8a_\x8c_\x8e_\x8W_\x8r_\x8i_\x8t_\x8e_\x8r | ||
42 | 35{ | ||
43 | 36public: | ||
44 | 37 | ||
45 | 38 | ||
46 | _\x83_\x89·_\x8V_\x8t_\x8k_\x8S_\x8u_\x8r_\x8f_\x8a_\x8c_\x8e_\x8W_\x8r_\x8i_\x8t_\x8e_\x8r(const·char*·filename)·:·filename_(filename) | ||
43 | 40{ | 47 | 40·{} |
44 | 41 | 48 | 41 |
45 | 42public: | ||
46 | 43 | ||
47 | 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·*/ | ||
48 | 45·using·_\x8E_\x8x_\x8t_\x8r_\x8a_\x8c_\x8t_\x8o_\x8r<GV,0>_\x8:_\x8:_\x8c_\x8o_\x8d_\x8i_\x8m; | ||
49 | _\x84_\x86·typedef·typename·_\x8E_\x8x_\x8t_\x8r_\x8a_\x8c_\x8t_\x8o_\x8r_\x8<_\x8G_\x8V_\x8,_\x80_\x8>_\x8:_\x8:_\x8c_\x8t_\x8y_\x8p_\x8e·_\x8c_\x8t_\x8y_\x8p_\x8e; | ||
50 | 47·using·_\x8E_\x8x_\x8t_\x8r_\x8a_\x8c_\x8t_\x8o_\x8r<GV,0>_\x8:_\x8:_\x8d_\x8i_\x8m; | ||
51 | 48·using·_\x8E_\x8x_\x8t_\x8r_\x8a_\x8c_\x8t_\x8o_\x8r<GV,0>_\x8:_\x8:_\x8d_\x8i_\x8m_\x8w_\x8o_\x8r_\x8l_\x8d; | ||
52 | _\x84_\x8 | 49 | _\x84_\x82·_.~_.V_.t_.k_.S_.u_.r_.f_.a_.c_.e_.W_.r_.i_.t_.e_.r() |
50 | 43·{} | ||
51 | 44 | ||
52 | _\x84_\x85·void·_\x8s_\x8e_\x8t_\x8F_\x8i_\x8l_\x8e_\x8n_\x8a_\x8m_\x8e(const·char*·name) | ||
53 | 46·{ | ||
54 | 47·if·(std::strlen(name)·>·0) | ||
55 | 48·this->filename_·=·name; | ||
56 | 49·} | ||
53 | 50 | 57 | 50 |
58 | 51 | ||
54 | _\x85_\x81·typedef·typename·GV::Traits::template·Codim<dim>::Entity·_\x8V_\x8e_\x8r_\x8t_\x8e_\x8x; | ||
55 | _\x85_\x82·typedef·typename·GV::Traits::template·Codim<0>::Entity·_\x8E_\x8l_\x8e_\x8m_\x8e_\x8n_\x8t; | ||
56 | _\x85_\x83·typedef·std::function<bool(const·_\x8E_\x8l_\x8e_\x8m_\x8e_\x8n_\x8t&,·unsigned·int·subentity)> | ||
57 | _\x8P_\x8r_\x8e_\x8d_\x8i_\x8c_\x8a_\x8t_\x8e; | ||
58 | 54 | ||
59 | 55·//·import·typedefs·from·base·class | ||
60 | _\x85_\x86·typedef·typename·_\x8E_\x8x_\x8t_\x8r_\x8a_\x8c_\x8t_\x8o_\x8r_\x8<_\x8G_\x8V_\x8,_\x80_\x8>_\x8:_\x8:_\x8S_\x8u_\x8b_\x8E_\x8n_\x8t_\x8i_\x8t_\x8y_\x8I_\x8n_\x8f_\x8o·_\x8S_\x8u_\x8b_\x8E_\x8n_\x8t_\x8i_\x8t_\x8y_\x8I_\x8n_\x8f_\x8o; | ||
61 | _\x85_\x87·typedef·typename·_\x8E_\x8x_\x8t_\x8r_\x8a_\x8c_\x8t_\x8o_\x8r_\x8<_\x8G_\x8V_\x8,_\x80_\x8>_\x8:_\x8:_\x8E_\x8l_\x8e_\x8m_\x8e_\x8n_\x8t_\x8I_\x8n_\x8f_\x8o·_\x8E_\x8l_\x8e_\x8m_\x8e_\x8n_\x8t_\x8I_\x8n_\x8f_\x8o; | ||
62 | _\x85_\x88·typedef·typename·_\x8E_\x8x_\x8t_\x8r_\x8a_\x8c_\x8t_\x8o_\x8r_\x8<_\x8G_\x8V_\x8,_\x80_\x8>_\x8:_\x8:_\x8V_\x8e_\x8r_\x8t_\x8e_\x8x_\x8I_\x8n_\x8f_\x8o·_\x8V_\x8e_\x8r_\x8t_\x8e_\x8x_\x8I_\x8n_\x8f_\x8o; | ||
63 | _\x85_\x89·typedef·typename·_\x8E_\x8x_\x8t_\x8r_\x8a_\x8c_\x8t_\x8o_\x8r_\x8<_\x8G_\x8V_\x8,_\x80_\x8>_\x8:_\x8:_\x8C_\x8o_\x8o_\x8r_\x8d_\x8i_\x8n_\x8a_\x8t_\x8e_\x8I_\x8n_\x8f_\x8o·_\x8C_\x8o_\x8o_\x8r_\x8d_\x8i_\x8n_\x8a_\x8t_\x8e_\x8I_\x8n_\x8f_\x8o; | ||
64 | _\x86_\x80·typedef·typename·_\x8E_\x8x_\x8t_\x8r_\x8a_\x8c_\x8t_\x8o_\x8r_\x8<_\x8G_\x8V_\x8,_\x80_\x8>_\x8:_\x8:_\x8V_\x8e_\x8r_\x8t_\x8e_\x8x_\x8I_\x8n_\x8f_\x8o_\x8M_\x8a_\x8p·_\x8V_\x8e_\x8r_\x8t_\x8e_\x8x_\x8I_\x8n_\x8f_\x8o_\x8M_\x8a_\x8p; | ||
65 | 61 | ||
66 | _\x86_\x87·_\x8C_\x8o_\x8d_\x8i_\x8m_\x80_\x8E_\x8x_\x8t_\x8r_\x8a_\x8c_\x8t_\x8o_\x8r(const·GV&·gv,·const·_\x8P_\x8r_\x8e_\x8d_\x8i_\x8c_\x8a_\x8t_\x8e&·predicate) | ||
67 | 68·:·_\x8E_\x8x_\x8t_\x8r_\x8a_\x8c_\x8t_\x8o_\x8r<GV,0>(gv),·_\x8p_\x8o_\x8s_\x8i_\x8t_\x8i_\x8v_\x8e_\x8N_\x8o_\x8r_\x8m_\x8a_\x8l_\x8D_\x8i_\x8r_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8_(false) | ||
68 | 69·{ | ||
69 | 70·std::cout·<<·"This·is·Codim0Extractor·on·a·<" | ||
70 | 71·<<·GV::dimension·<<·","·<<·GV::dimensionworld·<<·">·grid!"·<<·std::endl; | ||
71 | 72·update(predicate); | ||
72 | 73·} | ||
73 | 74 | ||
74 | _\x87_\x85·bool·&·_\x8p_\x8o_\x8s_\x8i_\x8t_\x8i_\x8v_\x8e_\x8N_\x8o_\x8r_\x8m_\x8a_\x8l_\x8D_\x8i_\x8r_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n()·{·return·_\x8p_\x8o_\x8s_\x8i_\x8t_\x8i_\x8v_\x8e_\x8N_\x8o_\x8r_\x8m_\x8a_\x8l_\x8D_\x8i_\x8r_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8_;·} | ||
75 | _\x87_\x86·const·bool·&·_\x8p_\x8o_\x8s_\x8i_\x8t_\x8i_\x8v_\x8e_\x8N_\x8o_\x8r_\x8m_\x8a_\x8l_\x8D_\x8i_\x8r_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n()·const·{·return | ||
76 | _\x8p_\x8o_\x8s_\x8i_\x8t_\x8i_\x8v_\x8e_\x8N_\x8o_\x8r_\x8m_\x8a_\x8l_\x8D_\x8i_\x8r_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8_;·} | ||
77 | 77 | ||
78 | 78protected: | ||
79 | _\x87_\x89·bool·_\x8p_\x8o_\x8s_\x8i_\x8t_\x8i_\x8v_\x8e_\x8N_\x8o_\x8r_\x8m_\x8a_\x8l_\x8D_\x8i_\x8r_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8_; | ||
80 | 80private: | ||
81 | 81·void·update(const·_\x8P_\x8r_\x8e_\x8d_\x8i_\x8c_\x8a_\x8t_\x8e&·predicate); | ||
82 | 82}; | ||
83 | 83 | ||
84 | 84 | ||
85 | 59 | 52·template<typename·K> | |
86 | 86void·_\x8C_\x8o_\x8d_\x8i_\x8m_\x80_\x8E_\x8x_\x8t_\x8r_\x8a_\x8c_\x8t_\x8o_\x8r_\x8<_\x8G_\x8V_\x8>_\x8:_\x8:_\x8u_\x8p_\x8d_\x8a_\x8t_\x8e(const·Predicate&·predicate) | ||
87 | 87{ | ||
88 | 88·//·In·this·first·pass·iterate·over·all·entities·of·codim·0. | ||
89 | 89·//·Get·its·corner·vertices,·find·resp.·store·them·together·with·their | ||
90 | associated·index, | ||
91 | 60 | _.5_.3·void·_.w_.r_.i_.t_.e_.S_.u_.r_.f_.a_.c_.e(const·std::vector<K>&·coords,·const·std::vector<unsigned | |
61 | int>&·indices,·int·corners,·int·dim) | ||
62 | 54·{ | ||
63 | 55·std::ofstream·fos; | ||
64 | 56·char·buffer[64]; | ||
65 | 57·sprintf(buffer,·"%s.vtk",·this->filename_); | ||
66 | 58·fos.open(buffer); | ||
67 | 59·fos·<<·std::setprecision(8)·<<·std::setw(1); | ||
68 | 60·//·write·preamble | ||
69 | 61·fos·<<·"#·vtk·DataFile·Version·2.0\nFilename:·"·<<·buffer·<<·"\nASCII"·<< | ||
70 | std::endl; | ||
71 | 62·this->_\x8w_\x8r_\x8i_\x8t_\x8e_\x8P_\x8o_\x8i_\x8n_\x8t_\x8s(coords,·dim,·fos); | ||
72 | 63·const·int·polycount·=·indices.size()/corners; | ||
73 | 64·int·corner_count[polycount]; | ||
74 | 65·for·(int·i·=·0;·i·<·polycount;·++i) | ||
Max diff block lines reached; 18658/25679 bytes (72.66%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.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 2, 27 lines modified | Offset 2, 27 lines modified | ||
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | ····*·_\x8d_\x8u_\x8n_\x8e | 5 | ····*·_\x8d_\x8u_\x8n_\x8e |
6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e | 6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e |
7 | ····*·_\x8e_\x8x_\x8t_\x8r_\x8a_\x8c_\x8t_\x8o_\x8r_\x8s | 7 | ····*·_\x8e_\x8x_\x8t_\x8r_\x8a_\x8c_\x8t_\x8o_\x8r_\x8s |
8 | _\x8C_\x8l_\x8a_\x8s_\x8s_\x8e_\x8s·|·_\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s | 8 | _\x8C_\x8l_\x8a_\x8s_\x8s_\x8e_\x8s·|·_\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s |
9 | codim0extractor.hh·File·Reference | ||
10 | Mesh·grid·extractor·base·class.·_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
11 | #include·<deque> | ||
9 | vtksurfacewriter.hh·File·Reference | ||
10 | helper·class·for·graphical·output·of·grids·in·generic·representation·_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
11 | #include·<fstream> | ||
12 | #include·<iomanip> | ||
13 | #include·<vector> | ||
14 | #include·< | 12 | #include·<functional> |
15 | #include· | 13 | #include·<dune/common/deprecated.hh> |
14 | #include·<dune/grid/common/mcmgmapper.hh> | ||
15 | #include·"_\x8e_\x8x_\x8t_\x8r_\x8a_\x8c_\x8t_\x8o_\x8r_\x8._\x8h_\x8h" | ||
16 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 16 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
17 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s | 17 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s |
18 | class· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8 | 18 | class· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8C_.o_.d_.i_.m_.0_.E_.x_.t_.r_.a_.c_.t_.o_.r_.<_.·_.G_.V_.·_.> |
19 | 19 | ||
20 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s | 20 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s |
21 | namespace· ·_\x8D_\x8u_\x8n_\x8e | 21 | namespace· ·_\x8D_\x8u_\x8n_\x8e |
22 | 22 | ||
23 | namespace· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e | 23 | namespace· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e |
24 | 24 | ||
25 | *\x8**\x8**\x8**\x8**\x8*·D\x8De\x8et\x8ta\x8ai\x8il\x8le\x8ed\x8d·D\x8De\x8es\x8sc\x8cr\x8ri\x8ip\x8pt\x8ti\x8io\x8on\x8n·*\x8**\x8**\x8**\x8**\x8* | 25 | *\x8**\x8**\x8**\x8**\x8*·D\x8De\x8et\x8ta\x8ai\x8il\x8le\x8ed\x8d·D\x8De\x8es\x8sc\x8cr\x8ri\x8ip\x8pt\x8ti\x8io\x8on\x8n·*\x8**\x8**\x8**\x8**\x8* |
26 | 26 | Mesh·grid·extractor·base·class. | |
27 | =============================================================================== | 27 | =============================================================================== |
28 | ·····Generated·by _\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]·1.9.8 | 28 | ·····Generated·by _\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]·1.9.8 |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-grid-glue:· | 8 | <title>dune-grid-glue:·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 1, 280 lines modified | Offset 1, 325 lines modified | ||
1 | dune-grid-glue 2.10 | 1 | dune-grid-glue 2.10 |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | ····*·_\x8d_\x8u_\x8n_\x8e | 5 | ····*·_\x8d_\x8u_\x8n_\x8e |
6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e | 6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e |
7 | ····*·_\x8e_\x8x_\x8t_\x8r_\x8a_\x8c_\x8t_\x8o_\x8r_\x8s | 7 | ····*·_\x8e_\x8x_\x8t_\x8r_\x8a_\x8c_\x8t_\x8o_\x8r_\x8s |
8 | 8 | codim0extractor.hh | |
9 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 9 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: | 11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: |
12 | 3//·SPDX-FileCopyrightInfo:·Copyright·Â©·DUNE·Project·contributors,·see·file | 12 | 3//·SPDX-FileCopyrightInfo:·Copyright·Â©·DUNE·Project·contributors,·see·file |
13 | LICENSE.md·in·module·root | 13 | LICENSE.md·in·module·root |
14 | 4//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with- | 14 | 4//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with- |
15 | dune-grid-glue-exception | 15 | dune-grid-glue-exception |
16 | 5/* | 16 | 5/* |
17 | 6·*·Filename:· | 17 | 6·*·Filename:·codim0extractor.hh |
18 | 7·*·Version:·1.0 | 18 | 7·*·Version:·1.0 |
19 | 8·*·Created·on:·J | 19 | 8·*·Created·on:·Jun·23,·2009 |
20 | 9·*·Author:· | 20 | 9·*·Author:·Oliver·Sander,·Christian·Engwer |
21 | 10·*·--------------------------------- | 21 | 10·*·--------------------------------- |
22 | 11·*·Project:·dune-grid-glue | 22 | 11·*·Project:·dune-grid-glue |
23 | 12·*·Description:·base·class·for·grid·extractors·extracting·surface·grids | ||
23 | 12·*·Description:·helper·class·for·graphical·output·of·grids·in·generic | ||
24 | representation | ||
25 | 13·* | 24 | 13·* |
26 | 14·*/ | 25 | 14·*/ |
27 | 20#ifndef·DUNE_GRIDGLUE_EXTRACTORS_ | 26 | 20#ifndef·DUNE_GRIDGLUE_EXTRACTORS_CODIM0EXTRACTOR_HH |
28 | 21#define·DUNE_GRIDGLUE_EXTRACTORS_ | 27 | 21#define·DUNE_GRIDGLUE_EXTRACTORS_CODIM0EXTRACTOR_HH |
29 | 22 | 28 | 22 |
30 | 23#include·<fstream> | ||
31 | 24#include·<iomanip> | ||
32 | 25#include·<vector> | ||
33 | 26#include·<cstring> | ||
34 | 27 | ||
35 | 28#include·"../adapter/gridgluevtkwriter.hh" | ||
36 | 2 | 29 | 23#include·<deque> |
30 | 24#include·<functional> | ||
31 | 25 | ||
32 | 26#include·<dune/common/deprecated.hh> | ||
33 | 27#include·<dune/grid/common/mcmgmapper.hh> | ||
34 | 28 | ||
35 | 29#include·"_\x8e_\x8x_\x8t_\x8r_\x8a_\x8c_\x8t_\x8o_\x8r_\x8._\x8h_\x8h" | ||
36 | 30 | ||
37 | 3 | 37 | 31namespace·_\x8D_\x8u_\x8n_\x8e·{ |
38 | 3 | 38 | 32 |
39 | 3 | 39 | 33·namespace·GridGlue·{ |
40 | 34 | ||
41 | 38template<typename·GV> | ||
42 | _\x83_\x89class·_\x8C_\x8o_\x8d_\x8i_\x8m_\x80_\x8E_\x8x_\x8t_\x8r_\x8a_\x8c_\x8t_\x8o_\x8r·:·public·_\x8E_\x8x_\x8t_\x8r_\x8a_\x8c_\x8t_\x8o_\x8r<GV,0> | ||
40 | 33 | ||
41 | _\x83_\x84class·_\x8V_\x8t_\x8k_\x8S_\x8u_\x8r_\x8f_\x8a_\x8c_\x8e_\x8W_\x8r_\x8i_\x8t_\x8e_\x8r | ||
42 | 35{ | ||
43 | 36public: | ||
44 | 37 | ||
45 | 38 | ||
46 | _\x83_\x89·_\x8V_\x8t_\x8k_\x8S_\x8u_\x8r_\x8f_\x8a_\x8c_\x8e_\x8W_\x8r_\x8i_\x8t_\x8e_\x8r(const·char*·filename)·:·filename_(filename) | ||
47 | 40 | 43 | 40{ |
48 | 41 | 44 | 41 |
49 | _\x84_\x82·_\x8~_\x8V_\x8t_\x8k_\x8S_\x8u_\x8r_\x8f_\x8a_\x8c_\x8e_\x8W_\x8r_\x8i_\x8t_\x8e_\x8r() | ||
50 | 43·{} | ||
51 | 44 | ||
52 | _\x84_\x85·void·_\x8s_\x8e_\x8t_\x8F_\x8i_\x8l_\x8e_\x8n_\x8a_\x8m_\x8e(const·char*·name) | ||
53 | 46·{ | ||
54 | 47·if·(std::strlen(name)·>·0) | ||
55 | 48·this->filename_·=·name; | ||
56 | 4 | 45 | 42public: |
46 | 43 | ||
47 | 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·*/ | ||
48 | 45·using·_\x8E_\x8x_\x8t_\x8r_\x8a_\x8c_\x8t_\x8o_\x8r<GV,0>_\x8:_\x8:_\x8c_\x8o_\x8d_\x8i_\x8m; | ||
49 | _\x84_\x86·typedef·typename·_\x8E_\x8x_\x8t_\x8r_\x8a_\x8c_\x8t_\x8o_\x8r_\x8<_\x8G_\x8V_\x8,_\x80_\x8>_\x8:_\x8:_\x8c_\x8t_\x8y_\x8p_\x8e·_\x8c_\x8t_\x8y_\x8p_\x8e; | ||
50 | 47·using·_\x8E_\x8x_\x8t_\x8r_\x8a_\x8c_\x8t_\x8o_\x8r<GV,0>_\x8:_\x8:_\x8d_\x8i_\x8m; | ||
51 | 48·using·_\x8E_\x8x_\x8t_\x8r_\x8a_\x8c_\x8t_\x8o_\x8r<GV,0>_\x8:_\x8:_\x8d_\x8i_\x8m_\x8w_\x8o_\x8r_\x8l_\x8d; | ||
52 | _\x84_\x89·typedef·typename·_\x8E_\x8x_\x8t_\x8r_\x8a_\x8c_\x8t_\x8o_\x8r_\x8<_\x8G_\x8V_\x8,_\x80_\x8>_\x8:_\x8:_\x8I_\x8n_\x8d_\x8e_\x8x_\x8T_\x8y_\x8p_\x8e·_\x8I_\x8n_\x8d_\x8e_\x8x_\x8T_\x8y_\x8p_\x8e; | ||
57 | 50 | 53 | 50 |
58 | 51 | 54 | _.5_.1·typedef·typename·GV::Traits::template·Codim<dim>::Entity·_.V_.e_.r_.t_.e_.x; |
55 | _\x85_\x82·typedef·typename·GV::Traits::template·Codim<0>::Entity·_\x8E_\x8l_\x8e_\x8m_\x8e_\x8n_\x8t; | ||
56 | _\x85_\x83·typedef·std::function<bool(const·_\x8E_\x8l_\x8e_\x8m_\x8e_\x8n_\x8t&,·unsigned·int·subentity)> | ||
57 | _\x8P_\x8r_\x8e_\x8d_\x8i_\x8c_\x8a_\x8t_\x8e; | ||
58 | 54 | ||
59 | 55·//·import·typedefs·from·base·class | ||
60 | _\x85_\x86·typedef·typename·_\x8E_\x8x_\x8t_\x8r_\x8a_\x8c_\x8t_\x8o_\x8r_\x8<_\x8G_\x8V_\x8,_\x80_\x8>_\x8:_\x8:_\x8S_\x8u_\x8b_\x8E_\x8n_\x8t_\x8i_\x8t_\x8y_\x8I_\x8n_\x8f_\x8o·_\x8S_\x8u_\x8b_\x8E_\x8n_\x8t_\x8i_\x8t_\x8y_\x8I_\x8n_\x8f_\x8o; | ||
61 | _\x85_\x87·typedef·typename·_\x8E_\x8x_\x8t_\x8r_\x8a_\x8c_\x8t_\x8o_\x8r_\x8<_\x8G_\x8V_\x8,_\x80_\x8>_\x8:_\x8:_\x8E_\x8l_\x8e_\x8m_\x8e_\x8n_\x8t_\x8I_\x8n_\x8f_\x8o·_\x8E_\x8l_\x8e_\x8m_\x8e_\x8n_\x8t_\x8I_\x8n_\x8f_\x8o; | ||
62 | _\x85_\x88·typedef·typename·_\x8E_\x8x_\x8t_\x8r_\x8a_\x8c_\x8t_\x8o_\x8r_\x8<_\x8G_\x8V_\x8,_\x80_\x8>_\x8:_\x8:_\x8V_\x8e_\x8r_\x8t_\x8e_\x8x_\x8I_\x8n_\x8f_\x8o·_\x8V_\x8e_\x8r_\x8t_\x8e_\x8x_\x8I_\x8n_\x8f_\x8o; | ||
63 | _\x85_\x89·typedef·typename·_\x8E_\x8x_\x8t_\x8r_\x8a_\x8c_\x8t_\x8o_\x8r_\x8<_\x8G_\x8V_\x8,_\x80_\x8>_\x8:_\x8:_\x8C_\x8o_\x8o_\x8r_\x8d_\x8i_\x8n_\x8a_\x8t_\x8e_\x8I_\x8n_\x8f_\x8o·_\x8C_\x8o_\x8o_\x8r_\x8d_\x8i_\x8n_\x8a_\x8t_\x8e_\x8I_\x8n_\x8f_\x8o; | ||
64 | _\x86_\x80·typedef·typename·_\x8E_\x8x_\x8t_\x8r_\x8a_\x8c_\x8t_\x8o_\x8r_\x8<_\x8G_\x8V_\x8,_\x80_\x8>_\x8:_\x8:_\x8V_\x8e_\x8r_\x8t_\x8e_\x8x_\x8I_\x8n_\x8f_\x8o_\x8M_\x8a_\x8p·_\x8V_\x8e_\x8r_\x8t_\x8e_\x8x_\x8I_\x8n_\x8f_\x8o_\x8M_\x8a_\x8p; | ||
65 | 61 | ||
66 | _\x86_\x87·_\x8C_\x8o_\x8d_\x8i_\x8m_\x80_\x8E_\x8x_\x8t_\x8r_\x8a_\x8c_\x8t_\x8o_\x8r(const·GV&·gv,·const·_\x8P_\x8r_\x8e_\x8d_\x8i_\x8c_\x8a_\x8t_\x8e&·predicate) | ||
67 | 68·:·_\x8E_\x8x_\x8t_\x8r_\x8a_\x8c_\x8t_\x8o_\x8r<GV,0>(gv),·_\x8p_\x8o_\x8s_\x8i_\x8t_\x8i_\x8v_\x8e_\x8N_\x8o_\x8r_\x8m_\x8a_\x8l_\x8D_\x8i_\x8r_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8_(false) | ||
68 | 69·{ | ||
69 | 70·std::cout·<<·"This·is·Codim0Extractor·on·a·<" | ||
70 | 71·<<·GV::dimension·<<·","·<<·GV::dimensionworld·<<·">·grid!"·<<·std::endl; | ||
71 | 72·update(predicate); | ||
72 | 73·} | ||
73 | 74 | ||
74 | _\x87_\x85·bool·&·_\x8p_\x8o_\x8s_\x8i_\x8t_\x8i_\x8v_\x8e_\x8N_\x8o_\x8r_\x8m_\x8a_\x8l_\x8D_\x8i_\x8r_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n()·{·return·_\x8p_\x8o_\x8s_\x8i_\x8t_\x8i_\x8v_\x8e_\x8N_\x8o_\x8r_\x8m_\x8a_\x8l_\x8D_\x8i_\x8r_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8_;·} | ||
75 | _\x87_\x86·const·bool·&·_\x8p_\x8o_\x8s_\x8i_\x8t_\x8i_\x8v_\x8e_\x8N_\x8o_\x8r_\x8m_\x8a_\x8l_\x8D_\x8i_\x8r_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n()·const·{·return | ||
76 | _\x8p_\x8o_\x8s_\x8i_\x8t_\x8i_\x8v_\x8e_\x8N_\x8o_\x8r_\x8m_\x8a_\x8l_\x8D_\x8i_\x8r_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8_;·} | ||
77 | 77 | ||
78 | 78protected: | ||
79 | _\x87_\x89·bool·_\x8p_\x8o_\x8s_\x8i_\x8t_\x8i_\x8v_\x8e_\x8N_\x8o_\x8r_\x8m_\x8a_\x8l_\x8D_\x8i_\x8r_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8_; | ||
80 | 80private: | ||
81 | 81·void·update(const·_\x8P_\x8r_\x8e_\x8d_\x8i_\x8c_\x8a_\x8t_\x8e&·predicate); | ||
82 | 82}; | ||
83 | 83 | ||
84 | 84 | ||
59 | 85 | 85template<typename·GV> | |
86 | 86void·_\x8C_\x8o_\x8d_\x8i_\x8m_\x80_\x8E_\x8x_\x8t_\x8r_\x8a_\x8c_\x8t_\x8o_\x8r_\x8<_\x8G_\x8V_\x8>_\x8:_\x8:_\x8u_\x8p_\x8d_\x8a_\x8t_\x8e(const·Predicate&·predicate) | ||
87 | 87{ | ||
88 | 88·//·In·this·first·pass·iterate·over·all·entities·of·codim·0. | ||
89 | 89·//·Get·its·corner·vertices,·find·resp.·store·them·together·with·their | ||
90 | associated·index, | ||
91 | 90·//·and·remember·the·indices·of·the·corners. | ||
60 | _\x85_\x83·void·_\x8w_\x8r_\x8i_\x8t_\x8e_\x8S_\x8u_\x8r_\x8f_\x8a_\x8c_\x8e(const·std::vector<K>&·coords,·const·std::vector<unsigned | ||
61 | int>&·indices,·int·corners,·int·dim) | ||
62 | 54·{ | ||
63 | 55·std::ofstream·fos; | ||
64 | 56·char·buffer[64]; | ||
65 | 57·sprintf(buffer,·"%s.vtk",·this->filename_); | ||
66 | 58·fos.open(buffer); | ||
67 | 59·fos·<<·std::setprecision(8)·<<·std::setw(1); | ||
68 | 60·//·write·preamble | ||
69 | 61·fos·<<·"#·vtk·DataFile·Version·2.0\nFilename:·"·<<·buffer·<<·"\nASCII"·<< | ||
70 | std::endl; | ||
71 | 62·this->_\x8w_\x8r_\x8i_\x8t_\x8e_\x8P_\x8o_\x8i_\x8n_\x8t_\x8s(coords,·dim,·fos); | ||
72 | 63·const·int·polycount·=·indices.size()/corners; | ||
73 | 64·int·corner_count[polycount]; | ||
Max diff block lines reached; 18658/25679 bytes (72.66%) of diff not shown. |
Offset 84, 15 lines modified | Offset 84, 15 lines modified | ||
84 | <a·href="#details">More...</a></p> | 84 | <a·href="#details">More...</a></p> |
85 | <div·class="textblock"><code>#include·"<a·class="el"·href="a00053_source.html">extractor.hh</a>"</code><br·/> | 85 | <div·class="textblock"><code>#include·"<a·class="el"·href="a00053_source.html">extractor.hh</a>"</code><br·/> |
86 | <code>#include·<array></code><br·/> | 86 | <code>#include·<array></code><br·/> |
87 | <code>#include·<deque></code><br·/> | 87 | <code>#include·<deque></code><br·/> |
88 | <code>#include·<functional></code><br·/> | 88 | <code>#include·<functional></code><br·/> |
89 | <code>#include·<dune/common/deprecated.hh></code><br·/> | 89 | <code>#include·<dune/common/deprecated.hh></code><br·/> |
90 | <code>#include·<dune/common/version.hh></code><br·/> | 90 | <code>#include·<dune/common/version.hh></code><br·/> |
91 | <code>#include·<<a·class="el"·href="a000 | 91 | <code>#include·<<a·class="el"·href="a00029_source.html">dune/grid-glue/common/crossproduct.hh</a>></code><br·/> |
92 | </div> | 92 | </div> |
93 | <p><a·href="a00062_source.html">Go·to·the·source·code·of·this·file.</a></p> | 93 | <p><a·href="a00062_source.html">Go·to·the·source·code·of·this·file.</a></p> |
94 | <table·class="memberdecls"> | 94 | <table·class="memberdecls"> |
95 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 95 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
96 | Classes</h2></td></tr> | 96 | Classes</h2></td></tr> |
97 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01034.html">Dune::GridGlue::Codim1Extractor<·GV·></a></td></tr> | 97 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01034.html">Dune::GridGlue::Codim1Extractor<·GV·></a></td></tr> |
98 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 98 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
Offset 102, 15 lines modified | Offset 102, 15 lines modified | ||
102 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> | 102 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> |
103 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#include·<array></span></div> | 103 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#include·<array></span></div> |
104 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#include·<deque></span></div> | 104 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#include·<deque></span></div> |
105 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="preprocessor">#include·<functional></span></div> | 105 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="preprocessor">#include·<functional></span></div> |
106 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div> | 106 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div> |
107 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#include·<dune/common/deprecated.hh></span></div> | 107 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#include·<dune/common/deprecated.hh></span></div> |
108 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·<dune/common/version.hh></span></div> | 108 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·<dune/common/version.hh></span></div> |
109 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#include·<<a·class="code"·href="a000 | 109 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#include·<<a·class="code"·href="a00029.html">dune/grid-glue/common/crossproduct.hh</a>></span></div> |
110 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div> | 110 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div> |
111 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00103.html">Dune</a>·{</div> | 111 | <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> |
112 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div> | 112 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div> |
113 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>··<span·class="keyword">namespace·</span>GridGlue·{</div> | 113 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>··<span·class="keyword">namespace·</span>GridGlue·{</div> |
114 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div> | 114 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div> |
115 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span><span·class="keyword">template</span><<span·class="keyword">typename</span>·GV></div> | 115 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span><span·class="keyword">template</span><<span·class="keyword">typename</span>·GV></div> |
116 | <div·class="foldopen"·id="foldopen00041"·data-start="{"·data-end="};"> | 116 | <div·class="foldopen"·id="foldopen00041"·data-start="{"·data-end="};"> |
Offset 429, 15 lines modified | Offset 429, 15 lines modified | ||
429 | <div·class="line"><a·id="l00369"·name="l00369"></a><span·class="lineno">··369</span>}</div> | 429 | <div·class="line"><a·id="l00369"·name="l00369"></a><span·class="lineno">··369</span>}</div> |
430 | <div·class="line"><a·id="l00370"·name="l00370"></a><span·class="lineno">··370</span>·</div> | 430 | <div·class="line"><a·id="l00370"·name="l00370"></a><span·class="lineno">··370</span>·</div> |
431 | <div·class="line"><a·id="l00371"·name="l00371"></a><span·class="lineno">··371</span>}··<span·class="comment">//·namespace·GridGlue</span></div> | 431 | <div·class="line"><a·id="l00371"·name="l00371"></a><span·class="lineno">··371</span>}··<span·class="comment">//·namespace·GridGlue</span></div> |
432 | <div·class="line"><a·id="l00372"·name="l00372"></a><span·class="lineno">··372</span>·</div> | 432 | <div·class="line"><a·id="l00372"·name="l00372"></a><span·class="lineno">··372</span>·</div> |
433 | <div·class="line"><a·id="l00373"·name="l00373"></a><span·class="lineno">··373</span>}··<span·class="comment">//·namespace·Dune</span></div> | 433 | <div·class="line"><a·id="l00373"·name="l00373"></a><span·class="lineno">··373</span>}··<span·class="comment">//·namespace·Dune</span></div> |
434 | <div·class="line"><a·id="l00374"·name="l00374"></a><span·class="lineno">··374</span>·</div> | 434 | <div·class="line"><a·id="l00374"·name="l00374"></a><span·class="lineno">··374</span>·</div> |
435 | <div·class="line"><a·id="l00375"·name="l00375"></a><span·class="lineno">··375</span><span·class="preprocessor">#endif·</span><span·class="comment">//·DUNE_GRIDGLUE_EXTRACTORS_CODIM1EXTRACTOR_HH</span></div> | 435 | <div·class="line"><a·id="l00375"·name="l00375"></a><span·class="lineno">··375</span><span·class="preprocessor">#endif·</span><span·class="comment">//·DUNE_GRIDGLUE_EXTRACTORS_CODIM1EXTRACTOR_HH</span></div> |
436 | <div·class="ttc"·id="aa000 | 436 | <div·class="ttc"·id="aa00029_html"><div·class="ttname"><a·href="a00029.html">crossproduct.hh</a></div></div> |
437 | <div·class="ttc"·id="aa00053_html"><div·class="ttname"><a·href="a00053.html">extractor.hh</a></div><div·class="ttdoc">extractor·base·class</div></div> | 437 | <div·class="ttc"·id="aa00053_html"><div·class="ttname"><a·href="a00053.html">extractor.hh</a></div><div·class="ttdoc">extractor·base·class</div></div> |
438 | <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> | 438 | <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> |
439 | <div·class="ttc"·id="aa00104_html_ac6a31e555010d279de506e730906a26e"><div·class="ttname"><a·href="a00104.html#ac6a31e555010d279de506e730906a26e">Dune::GridGlue::intersections</a></div><div·class="ttdeci">IteratorRange<...·>·intersections(const·GridGlue<...·>·&glue,·const·Reverse<...·>·&reverse=!reversed)</div><div·class="ttdoc">Iterate·over·all·intersections·of·a·GridGlue.</div></div> | 439 | <div·class="ttc"·id="aa00104_html_ac6a31e555010d279de506e730906a26e"><div·class="ttname"><a·href="a00104.html#ac6a31e555010d279de506e730906a26e">Dune::GridGlue::intersections</a></div><div·class="ttdeci">IteratorRange<...·>·intersections(const·GridGlue<...·>·&glue,·const·Reverse<...·>·&reverse=!reversed)</div><div·class="ttdoc">Iterate·over·all·intersections·of·a·GridGlue.</div></div> |
440 | <div·class="ttc"·id="aa00104_html_acbf555ac0358f96454a5f22dd4ac4de2"><div·class="ttname"><a·href="a00104.html#acbf555ac0358f96454a5f22dd4ac4de2">Dune::GridGlue::crossProduct</a></div><div·class="ttdeci">static·Dune::FieldVector<·T,·dim·>·crossProduct(const·Dune::FieldVector<·T,·dim·>·&a,·const·Dune::FieldVector<·T,·dim·>·&b)</div><div·class="ttdoc">compute·cross·product</div><div·class="ttdef"><b>Definition</b>·crossproduct.hh:15</div></div> | 440 | <div·class="ttc"·id="aa00104_html_acbf555ac0358f96454a5f22dd4ac4de2"><div·class="ttname"><a·href="a00104.html#acbf555ac0358f96454a5f22dd4ac4de2">Dune::GridGlue::crossProduct</a></div><div·class="ttdeci">static·Dune::FieldVector<·T,·dim·>·crossProduct(const·Dune::FieldVector<·T,·dim·>·&a,·const·Dune::FieldVector<·T,·dim·>·&b)</div><div·class="ttdoc">compute·cross·product</div><div·class="ttdef"><b>Definition</b>·crossproduct.hh:15</div></div> |
441 | <div·class="ttc"·id="aa01034_html"><div·class="ttname"><a·href="a01034.html">Dune::GridGlue::Codim1Extractor</a></div><div·class="ttdef"><b>Definition</b>·codim1extractor.hh:42</div></div> | 441 | <div·class="ttc"·id="aa01034_html"><div·class="ttname"><a·href="a01034.html">Dune::GridGlue::Codim1Extractor</a></div><div·class="ttdef"><b>Definition</b>·codim1extractor.hh:42</div></div> |
442 | <div·class="ttc"·id="aa01034_html_a02655254528b7450f1dec4a224a723a4"><div·class="ttname"><a·href="a01034.html#a02655254528b7450f1dec4a224a723a4">Dune::GridGlue::Codim1Extractor::IndexType</a></div><div·class="ttdeci">Extractor<·GV,·1·>::IndexType·IndexType</div><div·class="ttdef"><b>Definition</b>·codim1extractor.hh:51</div></div> | 442 | <div·class="ttc"·id="aa01034_html_a02655254528b7450f1dec4a224a723a4"><div·class="ttname"><a·href="a01034.html#a02655254528b7450f1dec4a224a723a4">Dune::GridGlue::Codim1Extractor::IndexType</a></div><div·class="ttdeci">Extractor<·GV,·1·>::IndexType·IndexType</div><div·class="ttdef"><b>Definition</b>·codim1extractor.hh:51</div></div> |
443 | <div·class="ttc"·id="aa01034_html_a19f33b321676e22f2e361fa73be1ea5d"><div·class="ttname"><a·href="a01034.html#a19f33b321676e22f2e361fa73be1ea5d">Dune::GridGlue::Codim1Extractor::GridView</a></div><div·class="ttdeci">GV·GridView</div><div·class="ttdef"><b>Definition</b>·codim1extractor.hh:56</div></div> | 443 | <div·class="ttc"·id="aa01034_html_a19f33b321676e22f2e361fa73be1ea5d"><div·class="ttname"><a·href="a01034.html#a19f33b321676e22f2e361fa73be1ea5d">Dune::GridGlue::Codim1Extractor::GridView</a></div><div·class="ttdeci">GV·GridView</div><div·class="ttdef"><b>Definition</b>·codim1extractor.hh:56</div></div> |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-grid-glue:· | 8 | <title>dune-grid-glue:·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 71, 68 lines modified | Offset 71, 45 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"> | 79 | ··<div·class="headertitle"><div·class="title">overlappingmerge.hh·File·Reference</div></div> |
81 | </div><!--header--> | 80 | </div><!--header--> |
82 | <div·class="contents"> | 81 | <div·class="contents"> |
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> | ||
83 | <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> |
84 | <table·class="memberdecls"> | 96 | <table·class="memberdecls"> |
85 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 97 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
86 | Classes</h2></td></tr> | 98 | Classes</h2></td></tr> |
87 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01118.html">Dune::GridGlue::SimplexMethod<·dimWorld,·dim1,·dim2,·T·></a></td></tr> | ||
88 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
89 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01122.html">Dune::GridGlue::SimplexMethod<·dimWorld,·0,·0,·T·></a></td></tr> | ||
90 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
91 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01126.html">Dune::GridGlue::SimplexMethod<·dimWorld,·0,·1,·T·></a></td></tr> | ||
92 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
93 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01130.html">Dune::GridGlue::SimplexMethod<·dimWorld,·0,·2,·T·></a></td></tr> | ||
94 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
95 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01134.html">Dune::GridGlue::SimplexMethod<·dimWorld,·0,·3,·T·></a></td></tr> | ||
96 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
97 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01138.html">Dune::GridGlue::SimplexMethod<·dimWorld,·1,·1,·T·></a></td></tr> | ||
98 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
99 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01142.html">Dune::GridGlue::SimplexMethod<·dimWorld,·1,·2,·T·></a></td></tr> | ||
100 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
101 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01146.html">Dune::GridGlue::SimplexMethod<·dimWorld,·1,·3,·T·></a></td></tr> | ||
102 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
103 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01150.html">Dune::GridGlue::SimplexMethod<·dimWorld,·2,·2,·T·></a></td></tr> | ||
104 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
105 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a011 | 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> | ||
106 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
107 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01158.html">Dune::GridGlue::SimplexMethod<·dimWorld,·3,·3,·T·></a></td></tr> | ||
108 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 101 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
109 | </table><table·class="memberdecls"> | 102 | </table><table·class="memberdecls"> |
110 | <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> |
111 | Namespaces</h2></td></tr> | 104 | Namespaces</h2></td></tr> |
112 | <tr·class="memitem:a00103"·id="r_a00103"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00103.html">Dune</a></td></tr> | 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> |
113 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 106 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
114 | <tr·class="memitem:a00104"·id="r_a00104"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00104.html">Dune::GridGlue</a></td></tr> | 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> |
115 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 108 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
116 | </table><table·class="memberdecls"> | ||
117 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> | ||
118 | Functions</h2></td></tr> | ||
119 | <tr·class="memitem:acb8eba4ea70bb9d407216258a1ea38d3"·id="r_acb8eba4ea70bb9d407216258a1ea38d3"><td·class="memTemplParams"·colspan="2">template<int·dimworld,·typename·T·>·</td></tr> | ||
120 | <tr·class="memitem:acb8eba4ea70bb9d407216258a1ea38d3"><td·class="memTemplItemLeft"·align="right"·valign="top">void </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00104.html#acb8eba4ea70bb9d407216258a1ea38d3">Dune::GridGlue::simplexSubdivision</a>·(std::integral_constant<·int,·0·>,·const·std::vector<·Dune::FieldVector<·T,·dimworld·>·>·&elementCorners,·std::vector<·std::vector<·unsigned·int·>·>·&subElements,·std::vector<·std::vector<·int·>·>·&faceIds)</td></tr> | ||
121 | <tr·class="separator:acb8eba4ea70bb9d407216258a1ea38d3"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
122 | <tr·class="memitem:a79ec8d88094aaf764ba7d3fc69f80bfb"·id="r_a79ec8d88094aaf764ba7d3fc69f80bfb"><td·class="memTemplParams"·colspan="2">template<int·dimworld,·typename·T·>·</td></tr> | ||
123 | <tr·class="memitem:a79ec8d88094aaf764ba7d3fc69f80bfb"><td·class="memTemplItemLeft"·align="right"·valign="top">void </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00104.html#a79ec8d88094aaf764ba7d3fc69f80bfb">Dune::GridGlue::simplexSubdivision</a>·(std::integral_constant<·int,·1·>,·const·std::vector<·Dune::FieldVector<·T,·dimworld·>·>·&elementCorners,·std::vector<·std::vector<·unsigned·int·>·>·&subElements,·std::vector<·std::vector<·int·>·>·&faceIds)</td></tr> | ||
124 | <tr·class="separator:a79ec8d88094aaf764ba7d3fc69f80bfb"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
125 | <tr·class="memitem:a686728cec3588405059fdbddc5e89168"·id="r_a686728cec3588405059fdbddc5e89168"><td·class="memTemplParams"·colspan="2">template<int·dimworld,·typename·T·>·</td></tr> | ||
126 | <tr·class="memitem:a686728cec3588405059fdbddc5e89168"><td·class="memTemplItemLeft"·align="right"·valign="top">void </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00104.html#a686728cec3588405059fdbddc5e89168">Dune::GridGlue::simplexSubdivision</a>·(std::integral_constant<·int,·2·>,·const·std::vector<·Dune::FieldVector<·T,·dimworld·>·>·&elementCorners,·std::vector<·std::vector<·unsigned·int·>·>·&subElements,·std::vector<·std::vector<·int·>·>·&faceIds)</td></tr> | ||
127 | <tr·class="separator:a686728cec3588405059fdbddc5e89168"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
128 | <tr·class="memitem:a697e604ca453c314141e6b4c5efe3eab"·id="r_a697e604ca453c314141e6b4c5efe3eab"><td·class="memTemplParams"·colspan="2">template<int·dimworld,·typename·T·>·</td></tr> | ||
129 | <tr·class="memitem:a697e604ca453c314141e6b4c5efe3eab"><td·class="memTemplItemLeft"·align="right"·valign="top">void </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00104.html#a697e604ca453c314141e6b4c5efe3eab">Dune::GridGlue::simplexSubdivision</a>·(std::integral_constant<·int,·3·>,·const·std::vector<·Dune::FieldVector<·T,·dimworld·>·>·&elementCorners,·std::vector<·std::vector<·unsigned·int·>·>·&subElements,·std::vector<·std::vector<·int·>·>·&faceIds)</td></tr> | ||
130 | <tr·class="separator:a697e604ca453c314141e6b4c5efe3eab"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
131 | </table> | 109 | </table> |
132 | </div><!--·contents·--> | 110 | </div><!--·contents·--> |
133 | <!--·start·footer·part·--> | 111 | <!--·start·footer·part·--> |
134 | <hr·class="footer"/><address·class="footer"><small> | 112 | <hr·class="footer"/><address·class="footer"><small> |
135 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 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 |
136 | </small></address> | 114 | </small></address> |
137 | </body> | 115 | </body> |
Offset 1, 65 lines modified | Offset 1, 34 lines modified | ||
1 | dune-grid-glue 2.10 | 1 | dune-grid-glue 2.10 |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | ····*·_\x8d_\x8u_\x8n_\x8e | 5 | ····*·_\x8d_\x8u_\x8n_\x8e |
6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e | 6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e |
7 | ····*·_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g | 7 | ····*·_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g |
8 | _\x8C_\x8l_\x8a_\x8s_\x8s_\x8e_\x8s·|·_\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s | 8 | _\x8C_\x8l_\x8a_\x8s_\x8s_\x8e_\x8s·|·_\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s |
9 | 9 | overlappingmerge.hh·File·Reference | |
10 | #include·<iostream> | ||
11 | #include·<iomanip> | ||
12 | #include·<vector> | ||
13 | #include·<algorithm> | ||
14 | #include·<dune/common/fmatrix.hh> | ||
15 | #include·<dune/common/fvector.hh> | ||
16 | #include·<dune/geometry/referenceelements.hh> | ||
17 | #include·<dune/geometry/multilineargeometry.hh> | ||
18 | #include·<dune/grid/common/grid.hh> | ||
19 | #include·<_\x8d_\x8u_\x8n_\x8e_\x8/_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e_\x8/_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g_\x8/_\x8s_\x8t_\x8a_\x8n_\x8d_\x8a_\x8r_\x8d_\x8m_\x8e_\x8r_\x8g_\x8e_\x8._\x8h_\x8h> | ||
20 | #include·<_\x8d_\x8u_\x8n_\x8e_\x8/_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e_\x8/_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g_\x8/_\x8c_\x8o_\x8m_\x8p_\x8u_\x8t_\x8e_\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8._\x8h_\x8h> | ||
21 | #include·"_\x8o_\x8v_\x8e_\x8r_\x8l_\x8a_\x8p_\x8p_\x8i_\x8n_\x8g_\x8m_\x8e_\x8r_\x8g_\x8e_\x8._\x8c_\x8c" | ||
10 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 22 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
11 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s | 23 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s |
24 | class· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8O_\x8v_\x8e_\x8r_\x8l_\x8a_\x8p_\x8p_\x8i_\x8n_\x8g_\x8M_\x8e_\x8r_\x8g_\x8e_\x8<_\x8·_\x8d_\x8i_\x8m_\x81_\x8,_\x8·_\x8d_\x8i_\x8m_\x82_\x8,_\x8·_\x8d_\x8i_\x8m_\x8w_\x8o_\x8r_\x8l_\x8d_\x8,_\x8·_\x8T_\x8·_\x8> | ||
25 | ·······Computing·overlapping·grid·intersections·for·grids·of·different | ||
26 | ········dimensions.·_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
12 | class· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8S_\x8i_\x8m_\x8p_\x8l_\x8e_\x8x_\x8M_\x8e_\x8t_\x8h_\x8o_\x8d_\x8<_\x8·_\x8d_\x8i_\x8m_\x8W_\x8o_\x8r_\x8l_\x8d_\x8,_\x8·_\x8d_\x8i_\x8m_\x81_\x8,_\x8·_\x8d_\x8i_\x8m_\x82_\x8,_\x8·_\x8T_\x8·_\x8> | ||
13 | |||
14 | class· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8S_\x8i_\x8m_\x8p_\x8l_\x8e_\x8x_\x8M_\x8e_\x8t_\x8h_\x8o_\x8d_\x8<_\x8·_\x8d_\x8i_\x8m_\x8W_\x8o_\x8r_\x8l_\x8d_\x8,_\x8·_\x80_\x8,_\x8·_\x80_\x8,_\x8·_\x8T_\x8·_\x8> | ||
15 | |||
16 | class· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8S_\x8i_\x8m_\x8p_\x8l_\x8e_\x8x_\x8M_\x8e_\x8t_\x8h_\x8o_\x8d_\x8<_\x8·_\x8d_\x8i_\x8m_\x8W_\x8o_\x8r_\x8l_\x8d_\x8,_\x8·_\x80_\x8,_\x8·_\x81_\x8,_\x8·_\x8T_\x8·_\x8> | ||
17 | |||
18 | class· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8S_\x8i_\x8m_\x8p_\x8l_\x8e_\x8x_\x8M_\x8e_\x8t_\x8h_\x8o_\x8d_\x8<_\x8·_\x8d_\x8i_\x8m_\x8W_\x8o_\x8r_\x8l_\x8d_\x8,_\x8·_\x80_\x8,_\x8·_\x82_\x8,_\x8·_\x8T_\x8·_\x8> | ||
19 | |||
20 | class· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8S_\x8i_\x8m_\x8p_\x8l_\x8e_\x8x_\x8M_\x8e_\x8t_\x8h_\x8o_\x8d_\x8<_\x8·_\x8d_\x8i_\x8m_\x8W_\x8o_\x8r_\x8l_\x8d_\x8,_\x8·_\x80_\x8,_\x8·_\x83_\x8,_\x8·_\x8T_\x8·_\x8> | ||
21 | |||
22 | class· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8S_\x8i_\x8m_\x8p_\x8l_\x8e_\x8x_\x8M_\x8e_\x8t_\x8h_\x8o_\x8d_\x8<_\x8·_\x8d_\x8i_\x8m_\x8W_\x8o_\x8r_\x8l_\x8d_\x8,_\x8·_\x81_\x8,_\x8·_\x81_\x8,_\x8·_\x8T_\x8·_\x8> | ||
23 | |||
24 | class· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8S_\x8i_\x8m_\x8p_\x8l_\x8e_\x8x_\x8M_\x8e_\x8t_\x8h_\x8o_\x8d_\x8<_\x8·_\x8d_\x8i_\x8m_\x8W_\x8o_\x8r_\x8l_\x8d_\x8,_\x8·_\x81_\x8,_\x8·_\x82_\x8,_\x8·_\x8T_\x8·_\x8> | ||
25 | |||
26 | class· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8S_\x8i_\x8m_\x8p_\x8l_\x8e_\x8x_\x8M_\x8e_\x8t_\x8h_\x8o_\x8d_\x8<_\x8·_\x8d_\x8i_\x8m_\x8W_\x8o_\x8r_\x8l_\x8d_\x8,_\x8·_\x81_\x8,_\x8·_\x83_\x8,_\x8·_\x8T_\x8·_\x8> | ||
27 | |||
28 | class· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8S_\x8i_\x8m_\x8p_\x8l_\x8e_\x8x_\x8M_\x8e_\x8t_\x8h_\x8o_\x8d_\x8<_\x8·_\x8d_\x8i_\x8m_\x8W_\x8o_\x8r_\x8l_\x8d_\x8,_\x8·_\x82_\x8,_\x8·_\x82_\x8,_\x8·_\x8T_\x8·_\x8> | ||
29 | |||
30 | class· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8S_\x8i_\x8m_\x8p_\x8l_\x8e_\x8x_\x8M_\x8e_\x8t_\x8h_\x8o_\x8d_\x8<_\x8·_\x8d_\x8i_\x8m_\x8W_\x8o_\x8r_\x8l_\x8d_\x8,_\x8·_\x82_\x8,_\x8·_\x83_\x8,_\x8·_\x8T_\x8·_\x8> | ||
31 | |||
32 | class· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8S_\x8i_\x8m_\x8p_\x8l_\x8e_\x8x_\x8M_\x8e_\x8t_\x8h_\x8o_\x8d_\x8<_\x8·_\x8d_\x8i_\x8m_\x8W_\x8o_\x8r_\x8l_\x8d_\x8,_\x8·_\x83_\x8,_\x8·_\x83_\x8,_\x8·_\x8T_\x8·_\x8> | ||
33 | 27 | ||
34 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s | 28 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s |
35 | namespace· ·_\x8D_\x8u_\x8n_\x8e | 29 | namespace· ·_\x8D_\x8u_\x8n_\x8e |
36 | 30 | ||
37 | namespace· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e | 31 | namespace· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e |
38 | 32 | ||
39 | F\x8Fu\x8un\x8nc\x8ct\x8ti\x8io\x8on\x8ns\x8s | ||
40 | template<int·dimworld,·typename·T·> | ||
41 | void ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8s_\x8i_\x8m_\x8p_\x8l_\x8e_\x8x_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8i_\x8s_\x8i_\x8o_\x8n·(std::integral_constant<·int,·0·>, | ||
42 | ······const·std::vector<·Dune::FieldVector<·T,·dimworld·>·>·&elementCorners, | ||
43 | ······std::vector<·std::vector<·unsigned·int·>·>·&subElements,·std::vector< | ||
44 | ······std::vector<·int·>·>·&faceIds) | ||
45 | |||
46 | template<int·dimworld,·typename·T·> | ||
47 | void ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8s_\x8i_\x8m_\x8p_\x8l_\x8e_\x8x_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8i_\x8s_\x8i_\x8o_\x8n·(std::integral_constant<·int,·1·>, | ||
48 | ······const·std::vector<·Dune::FieldVector<·T,·dimworld·>·>·&elementCorners, | ||
49 | ······std::vector<·std::vector<·unsigned·int·>·>·&subElements,·std::vector< | ||
50 | ······std::vector<·int·>·>·&faceIds) | ||
51 | |||
52 | template<int·dimworld,·typename·T·> | ||
53 | void ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8s_\x8i_\x8m_\x8p_\x8l_\x8e_\x8x_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8i_\x8s_\x8i_\x8o_\x8n·(std::integral_constant<·int,·2·>, | ||
54 | ······const·std::vector<·Dune::FieldVector<·T,·dimworld·>·>·&elementCorners, | ||
55 | ······std::vector<·std::vector<·unsigned·int·>·>·&subElements,·std::vector< | ||
56 | ······std::vector<·int·>·>·&faceIds) | ||
57 | |||
58 | template<int·dimworld,·typename·T·> | ||
59 | void ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8s_\x8i_\x8m_\x8p_\x8l_\x8e_\x8x_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8i_\x8s_\x8i_\x8o_\x8n·(std::integral_constant<·int,·3·>, | ||
60 | ······const·std::vector<·Dune::FieldVector<·T,·dimworld·>·>·&elementCorners, | ||
61 | ······std::vector<·std::vector<·unsigned·int·>·>·&subElements,·std::vector< | ||
62 | ······std::vector<·int·>·>·&faceIds) | ||
63 | |||
64 | =============================================================================== | 33 | =============================================================================== |
65 | ·····Generated·by _\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]·1.9.8 | 34 | ·····Generated·by _\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]·1.9.8 |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-grid-glue:· | 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, 1430 lines modified | Offset 74, 102 lines modified | ||
74 | <div·id="nav-path"·class="navpath"> | 74 | <div·id="nav-path"·class="navpath"> |
75 | ··<ul> | 75 | ··<ul> |
76 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_0d8f660a135565b225f6b14e80c278b4.html">merging</a></li>··</ul> | 76 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_0d8f660a135565b225f6b14e80c278b4.html">merging</a></li>··</ul> |
77 | </div> | 77 | </div> |
78 | </div><!--·top·--> | 78 | </div><!--·top·--> |
79 | <div·class="header"> | 79 | <div·class="header"> |
80 | ··<div·class="headertitle"><div·class="title"> | 80 | ··<div·class="headertitle"><div·class="title">overlappingmerge.hh</div></div> |
81 | </div><!--header--> | 81 | </div><!--header--> |
82 | <div·class="contents"> | 82 | <div·class="contents"> |
83 | <a·href="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> | ||
91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·<iomanip></span></div> | ||
92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<vector></span></div> | ||
93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<algorithm></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="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> | ||
98 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·<dune/geometry/referenceelements.hh></span></div> | ||
99 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·<dune/geometry/multilineargeometry.hh></span></div> | ||
100 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div> | ||
101 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·<dune/grid/common/grid.hh></span></div> | ||
102 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div> | ||
103 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·<<a·class="code"·href="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> | ||
105 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div> | ||
88 | <div·class="line"><a·id="l000 | 106 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00103.html">Dune</a>·{</div> |
89 | <div·class="line"><a·id="l000 | 107 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="keyword">namespace·</span>GridGlue·{</div> |
90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span>·</div> | ||
91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="keyword">template</span>·<<span·class="keywordtype">int</span>·dimworld,·<span·class="keyword">typename</span>·T></div> | ||
92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="keyword">inline</span>·<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a00104.html#acb8eba4ea70bb9d407216258a1ea38d3">simplexSubdivision</a>(std::integral_constant<int,0>,<span·class="keyword">const</span>·std::vector<Dune::FieldVector<T,·dimworld>·>&·elementCorners,</div> | ||
93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·····································································std::vector<std::vector<unsigned·int>·>&·subElements,</div> | ||
94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·····································································std::vector<std::vector<int>·>&·faceIds);</div> | ||
95 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="keyword">template</span>·<<span·class="keywordtype">int</span>·dimworld,·<span·class="keyword">typename</span>·T></div> | ||
96 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="keyword">inline</span>·<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a00104.html#acb8eba4ea70bb9d407216258a1ea38d3">simplexSubdivision</a>(std::integral_constant<int,1>,<span·class="keyword">const</span>·std::vector<Dune::FieldVector<T,·dimworld>·>&·elementCorners,</div> | ||
97 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·····································································std::vector<std::vector<unsigned·int>·>&·subElements,</div> | ||
98 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·····································································std::vector<std::vector<int>·>&·faceIds);</div> | ||
99 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="keyword">template</span>·<<span·class="keywordtype">int</span>·dimworld,·<span·class="keyword">typename</span>·T></div> | ||
100 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="keyword">inline</span>·<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a00104.html#acb8eba4ea70bb9d407216258a1ea38d3">simplexSubdivision</a>(std::integral_constant<int,2>,<span·class="keyword">const</span>·std::vector<Dune::FieldVector<T,·dimworld>·>&·elementCorners,</div> | ||
101 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·····································································std::vector<std::vector<unsigned·int>·>&·subElements,</div> | ||
102 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·····································································std::vector<std::vector<int>·>&·faceIds);</div> | ||
103 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="keyword">template</span>·<<span·class="keywordtype">int</span>·dimworld,·<span·class="keyword">typename</span>·T></div> | ||
104 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="keyword">inline</span>·<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a00104.html#acb8eba4ea70bb9d407216258a1ea38d3">simplexSubdivision</a>(std::integral_constant<int,3>,<span·class="keyword">const</span>·std::vector<Dune::FieldVector<T,·dimworld>·>&·elementCorners,</div> | ||
105 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·····································································std::vector<std::vector<unsigned·int>·>&·subElements,</div> | ||
106 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·····································································std::vector<std::vector<int>·>&·faceIds);</div> | ||
107 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div> | ||
108 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div> | 108 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div> |
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">typename</span>·T·=·<span·class="keywordtype">double</span>></div> | ||
109 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> | ||
110 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="comment">//·*****************SIMPLEX·INTERSECTION·COMPUTATION·METHODS·***************************</span></div> | ||
111 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="keyword">template</span><<span·class="keywordtype">int</span>·dimWorld,<span·class="keywordtype">int</span>·dim1,·<span·class="keywordtype">int</span>·dim2,·<span·class="keyword">typename</span>·T></div> | ||
112 | <div·class="foldopen"·id="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> | ||
113 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno"><a·class="line"·href="a01118.html">···30</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01118.html">SimplexMethod</a>·:·<span·class="keyword">public</span>·<a·class="code·hl_class"·href="a01066.html">ComputationMethod</a><dimWorld,dim1,dim2,T>{</div> | ||
114 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno"><a·class="line"·href="a01118.html#a4b07cdfc467f3dc5decd96dd3709f2da">···31</a></span>····<span·class="keyword">static_assert</span>(dim1·>·dim2,·<span·class="stringliteral">"Specialization·missing"</span>);</div> | ||
115 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>····<span·class="keyword">friend</span>·<span·class="keyword">class·</span><a·class="code·hl_class"·href="a01066.html">ComputationMethod</a><dimWorld,dim1,dim2,T>;</div> | ||
116 | <div·class="line"><a·id="l0003 | 113 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>{</div> |
117 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno"><a·class="line"·href="a01118.html#a51ad491a88a364fc3193e3ea197f74a3">···34</a></span>····<span·class="keyword">typedef</span>·FieldVector<T,·dimWorld>·<a·class="code·hl_typedef"·href="a01118.html#a51ad491a88a364fc3193e3ea197f74a3">Vector</a>;</div> | ||
118 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno"><a·class="line"·href="a01118.html#a14816a10d3f9fc0960fdb6147b805888">···35</a></span>····<span·class="keyword">static</span>·<span·class="keyword">const</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_variable"·href="a01118.html#a14816a10d3f9fc0960fdb6147b805888">grid1Dimension</a>·=·dim1;</div> | ||
119 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno"><a·class="line"·href="a01118.html#a487c3688d29eadf7cbda353ce37a2c06">···36</a></span>····<span·class="keyword">static</span>·<span·class="keyword">const</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_variable"·href="a01118.html#a487c3688d29eadf7cbda353ce37a2c06">grid2Dimension</a>·=·dim2;</div> | ||
120 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno"><a·class="line"·href="a01118.html#a52f9a004f9a2b39e122fd6e8edd0b694">···37</a></span>····<span·class="keyword">static</span>·<span·class="keyword">const</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_variable"·href="a01118.html#a52f9a004f9a2b39e122fd6e8edd0b694">intersectionDimension</a>·=·dim2;</div> | ||
121 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div> | 114 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div> |
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> | ||
120 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div> | ||
121 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno"><a·class="line"·href="a01114.html#ae253f08e3f2eb7ce23d4c38a044e1695">···47</a></span>··<span·class="keyword">typedef</span>·Dune::FieldVector<T,·dimworld>··<a·class="code·hl_typedef"·href="a01114.html#ae253f08e3f2eb7ce23d4c38a044e1695">WorldCoords</a>;</div> | ||
122 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div> | ||
123 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>··<span·class="comment">//typedef·Dune::FieldVector<T,·dim>··LocalCoords;</span></div> | ||
124 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div> | ||
122 | <div·class="foldopen"·id="foldopen000 | 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> | ||
123 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno"><a·class="line"·href="a01118.html#aa78b21e9050ebd946c9e1155ece1a15d">···39</a></span>····<span·class="keyword">static</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01118.html#aa78b21e9050ebd946c9e1155ece1a15d">computeIntersectionPoints</a>(<span·class="keyword">const</span>·std::vector<FieldVector<T,dimWorld>·>&···X,</div> | ||
124 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·················<span·class="keyword">const</span>·std::vector<FieldVector<T,dimWorld>·>&···Y,</div> | ||
125 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·················std::vector<std::vector<int>·>·········&·SX,</div> | ||
126 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·················std::vector<std::vector<int>·>·········&·SY,</div> | ||
127 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·················std::vector<FieldVector<T,dimWorld>·>·&·P)</div> | ||
128 | <div·class="line"><a·id="l000 | 127 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>··{}</div> |
129 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>········<span·class="keywordflow">return</span>·<a·class="code·hl_function"·href="a01118.html#aa78b21e9050ebd946c9e1155ece1a15d">SimplexMethod<dimWorld,dim2,dim1,T>::computeIntersectionPoints</a>(Y,·X,·SY,·SX,·P);</div> | ||
130 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>····}</div> | ||
131 | </div> | 128 | </div> |
132 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div> | ||
133 | <div·class="foldopen"·id="foldopen00048"·data-start="{"·data-end="}"> | ||
134 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno"><a·class="line"·href="a01118.html#ab49909d2d3a53b30becf262cd024e314">···48</a></span>····<span·class="keyword">static</span>·<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01118.html#ab49909d2d3a53b30becf262cd024e314">grid1_subdivisions</a>(<span·class="keyword">const</span>·std::vector<Vector>&·elementCorners,</div> | ||
135 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>···································std::vector<std::vector<unsigned·int>·>&·subElements,</div> | ||
136 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>···································std::vector<std::vector<int>·>&·faceIds)</div> | ||
137 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>····{</div> | ||
138 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>········simplexSubdivision<dimWorld,T>(std::integral_constant<int,grid1Dimension>(),</div> | ||
139 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>·······································elementCorners,subElements,·faceIds);</div> | ||
140 | <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> |
130 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span><span·class="keyword">protected</span>:</div> | ||
131 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno"><a·class="line"·href="a01114.html#a24e9e7ef401971aac09ba3d75af45494">···56</a></span>··<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a01162.html#adb5251bea3ebf4ec7d31516d4ef8aba2">StandardMerge<T,dim1,dim2,dimworld>::SimplicialIntersection</a>·<a·class="code·hl_typedef"·href="a01114.html#a24e9e7ef401971aac09ba3d75af45494">SimplicialIntersection</a>;</div> | ||
132 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div> | ||
133 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>··<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01114.html#a6303e85feb1c815ce1ec5771851d7429">computeIntersections</a>(<span·class="keyword">const</span>·Dune::GeometryType&·grid1ElementType,</div> | ||
134 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>···························<span·class="keyword">const</span>·std::vector<Dune::FieldVector<T,dimworld>·>&·grid1ElementCorners,</div> | ||
135 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>···························std::bitset<(1<<dim1)>&·neighborIntersects1,</div> | ||
136 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>···························<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·grid1Index,</div> | ||
137 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>···························<span·class="keyword">const</span>·Dune::GeometryType&·grid2ElementType,</div> | ||
138 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>···························<span·class="keyword">const</span>·std::vector<Dune::FieldVector<T,dimworld>·>&·grid2ElementCorners,</div> | ||
139 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>···························std::bitset<(1<<dim2)>&·neighborIntersects2,</div> | ||
140 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>···························<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·grid2Index,</div> | ||
Max diff block lines reached; 223697/254109 bytes (88.03%) of diff not shown. |
Offset 1, 1578 lines modified | Offset 1, 127 lines modified | ||
1 | dune-grid-glue 2.10 | 1 | dune-grid-glue 2.10 |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | ····*·_\x8d_\x8u_\x8n_\x8e | 5 | ····*·_\x8d_\x8u_\x8n_\x8e |
6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e | 6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e |
7 | ····*·_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g | 7 | ····*·_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g |
8 | 8 | overlappingmerge.hh | |
9 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 9 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: | 11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: |
12 | 3//·SPDX-FileCopyrightInfo:·Copyright·Â©·DUNE·Project·contributors,·see·file | 12 | 3//·SPDX-FileCopyrightInfo:·Copyright·Â©·DUNE·Project·contributors,·see·file |
13 | LICENSE.md·in·module·root | 13 | LICENSE.md·in·module·root |
14 | 4//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with- | 14 | 4//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with- |
15 | dune-grid-glue-exception | 15 | dune-grid-glue-exception |
16 | 5 | 16 | 5#ifndef·DUNE_GRIDGLUE_MERGING_OVERLAPPINGMERGE_HH |
17 | 6#define·DUNE_GRIDGLUE_MERGING_OVERLAPPINGMERGE_HH | ||
18 | 7 | ||
19 | 8#include·<iostream> | ||
20 | 9#include·<iomanip> | ||
21 | 10#include·<vector> | ||
22 | 11#include·<algorithm> | ||
23 | 12 | ||
24 | 13#include·<dune/common/fmatrix.hh> | ||
25 | 14#include·<dune/common/fvector.hh> | ||
26 | 15 | ||
27 | 16#include·<dune/geometry/referenceelements.hh> | ||
28 | 17#include·<dune/geometry/multilineargeometry.hh> | ||
29 | 18 | ||
30 | 19#include·<dune/grid/common/grid.hh> | ||
31 | 20 | ||
32 | 21#include·<_\x8d_\x8u_\x8n_\x8e_\x8/_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e_\x8/_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g_\x8/_\x8s_\x8t_\x8a_\x8n_\x8d_\x8a_\x8r_\x8d_\x8m_\x8e_\x8r_\x8g_\x8e_\x8._\x8h_\x8h> | ||
33 | 22#include·<_\x8d_\x8u_\x8n_\x8e_\x8/_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e_\x8/_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g_\x8/_\x8c_\x8o_\x8m_\x8p_\x8u_\x8t_\x8e_\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8._\x8h_\x8h> | ||
34 | 23 | ||
17 | 35 | 24namespace·_\x8D_\x8u_\x8n_\x8e·{ | |
18 | 36 | 25namespace·GridGlue·{ | |
19 | 8 | ||
20 | 9template·<int·dimworld,·typename·T> | ||
21 | 10inline·void·_\x8s_\x8i_\x8m_\x8p_\x8l_\x8e_\x8x_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8i_\x8s_\x8i_\x8o_\x8n(std::integral_constant<int,0>,const·std:: | ||
22 | vector<Dune::FieldVector<T,·dimworld>·>&·elementCorners, | ||
23 | 11·std::vector<std::vector<unsigned·int>·>&·subElements, | ||
24 | 12·std::vector<std::vector<int>·>&·faceIds); | ||
25 | 13template·<int·dimworld,·typename·T> | ||
26 | 14inline·void·_\x8s_\x8i_\x8m_\x8p_\x8l_\x8e_\x8x_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8i_\x8s_\x8i_\x8o_\x8n(std::integral_constant<int,1>,const·std:: | ||
27 | vector<Dune::FieldVector<T,·dimworld>·>&·elementCorners, | ||
28 | 15·std::vector<std::vector<unsigned·int>·>&·subElements, | ||
29 | 16·std::vector<std::vector<int>·>&·faceIds); | ||
30 | 17template·<int·dimworld,·typename·T> | ||
31 | 18inline·void·_\x8s_\x8i_\x8m_\x8p_\x8l_\x8e_\x8x_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8i_\x8s_\x8i_\x8o_\x8n(std::integral_constant<int,2>,const·std:: | ||
32 | vector<Dune::FieldVector<T,·dimworld>·>&·elementCorners, | ||
33 | 19·std::vector<std::vector<unsigned·int>·>&·subElements, | ||
34 | 20·std::vector<std::vector<int>·>&·faceIds); | ||
35 | 21template·<int·dimworld,·typename·T> | ||
36 | 22inline·void·_\x8s_\x8i_\x8m_\x8p_\x8l_\x8e_\x8x_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8i_\x8s_\x8i_\x8o_\x8n(std::integral_constant<int,3>,const·std:: | ||
37 | vector<Dune::FieldVector<T,·dimworld>·>&·elementCorners, | ||
38 | 23·std::vector<std::vector<unsigned·int>·>&·subElements, | ||
39 | 24·std::vector<std::vector<int>·>&·faceIds); | ||
40 | 25 | ||
41 | 26 | 37 | 26 |
38 | 34template<int·dim1,·int·dim2,·int·dimworld,·typename·T·=·double> | ||
39 | _\x83_\x85class·_\x8O_\x8v_\x8e_\x8r_\x8l_\x8a_\x8p_\x8p_\x8i_\x8n_\x8g_\x8M_\x8e_\x8r_\x8g_\x8e | ||
40 | 36·:·public·_\x8S_\x8t_\x8a_\x8n_\x8d_\x8a_\x8r_\x8d_\x8M_\x8e_\x8r_\x8g_\x8e<T,dim1,dim2,dimworld> | ||
41 | 37{ | ||
42 | 27 | ||
43 | 28//·*****************SIMPLEX·INTERSECTION·COMPUTATION·METHODS | ||
44 | *************************** | ||
45 | 29template<int·dimWorld,int·dim1,·int·dim2,·typename·T> | ||
46 | _\x83_\x80class·_\x8S_\x8i_\x8m_\x8p_\x8l_\x8e_\x8x_\x8M_\x8e_\x8t_\x8h_\x8o_\x8d·:·public·_\x8C_\x8o_\x8m_\x8p_\x8u_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8M_\x8e_\x8t_\x8h_\x8o_\x8d<dimWorld,dim1,dim2,T>{ | ||
47 | _\x83_\x81·static_assert(dim1·>·dim2,·"Specialization·missing"); | ||
48 | 32·friend·class·_\x8C_\x8o_\x8m_\x8p_\x8u_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8M_\x8e_\x8t_\x8h_\x8o_\x8d<dimWorld,dim1,dim2,T>; | ||
49 | 33public: | ||
50 | _\x83_\x84·typedef·FieldVector<T,·dimWorld>·_\x8V_\x8e_\x8c_\x8t_\x8o_\x8r; | ||
51 | _\x83_\x85·static·const·int·_\x8g_\x8r_\x8i_\x8d_\x81_\x8D_\x8i_\x8m_\x8e_\x8n_\x8s_\x8i_\x8o_\x8n·=·dim1; | ||
52 | _\x83_\x86·static·const·int·_\x8g_\x8r_\x8i_\x8d_\x82_\x8D_\x8i_\x8m_\x8e_\x8n_\x8s_\x8i_\x8o_\x8n·=·dim2; | ||
53 | _\x83_\x87·static·const·int·_\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8D_\x8i_\x8m_\x8e_\x8n_\x8s_\x8i_\x8o_\x8n·=·dim2; | ||
54 | 38 | 42 | 38 |
55 | _\x83_\x89·static·bool·_\x8c_\x8o_\x8m_\x8p_\x8u_\x8t_\x8e_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8P_\x8o_\x8i_\x8n_\x8t_\x8s(const·std:: | ||
56 | vector<FieldVector<T,dimWorld>·>&·X, | ||
57 | 40·const·std::vector<FieldVector<T,dimWorld>·>&·Y, | ||
58 | 41·std::vector<std::vector<int>·>·&·SX, | ||
59 | 42·std::vector<std::vector<int>·>·&·SY, | ||
60 | 43·std::vector<FieldVector<T,dimWorld>·>·&·P) | ||
61 | 44·{ | ||
62 | 45·return·_\x8S_\x8i_\x8m_\x8p_\x8l_\x8e_\x8x_\x8M_\x8e_\x8t_\x8h_\x8o_\x8d_\x8<_\x8d_\x8i_\x8m_\x8W_\x8o_\x8r_\x8l_\x8d_\x8,_\x8d_\x8i_\x8m_\x82_\x8,_\x8d_\x8i_\x8m_\x81_\x8,_\x8T_\x8>_\x8:_\x8:_\x8c_\x8o_\x8m_\x8p_\x8u_\x8t_\x8e_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8P_\x8o_\x8i_\x8n_\x8t_\x8s(Y,·X, | ||
63 | SY,·SX,·P); | ||
64 | 46·} | ||
65 | 47 | ||
66 | _\x84_\x88·static·void·_\x8g_\x8r_\x8i_\x8d_\x81_\x8__\x8s_\x8u_\x8b_\x8d_\x8i_\x8v_\x8i_\x8s_\x8i_\x8o_\x8n_\x8s(const·std::vector<Vector>&·elementCorners, | ||
67 | 49·std::vector<std::vector<unsigned·int>·>&·subElements, | ||
68 | 50·std::vector<std::vector<int>·>&·faceIds) | ||
69 | 51·{ | ||
70 | 52·simplexSubdivision<dimWorld,T>(std::integral_constant<int,grid1Dimension>(), | ||
71 | 53·elementCorners,subElements,·faceIds); | ||
72 | 54·} | ||
73 | 55 | ||
74 | _\x85_\x86·static·void·_\x8g_\x8r_\x8i_\x8d_\x82_\x8__\x8s_\x8u_\x8b_\x8d_\x8i_\x8v_\x8i_\x8s_\x8i_\x8o_\x8n_\x8s(const·std::vector<Vector>&·elementCorners, | ||
75 | 57·std::vector<std::vector<unsigned·int>·>&·subElements, | ||
76 | 58·std::vector<std::vector<int>·>&·faceIds) | ||
77 | 59·{ | ||
78 | 60·simplexSubdivision<dimWorld,T>(std::integral_constant<int,grid2Dimension>(), | ||
79 | 61·elementCorners,·subElements,·faceIds); | ||
80 | 62·} | ||
81 | 63}; | ||
82 | 64 | ||
83 | 65 | ||
84 | 66 | ||
85 | 67//·POINTS·ARE·EQUAL | ||
86 | 68template<int·dimWorld,typename·T> | ||
87 | _\x86_\x89class·_\x8S_\x8i_\x8m_\x8p_\x8l_\x8e_\x8x_\x8M_\x8e_\x8t_\x8h_\x8o_\x8d<dimWorld,0,0,T>·:·public | ||
88 | _\x8C_\x8o_\x8m_\x8p_\x8u_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8M_\x8e_\x8t_\x8h_\x8o_\x8d<dimWorld,0,0,T>{ | ||
89 | 70·friend·class·_\x8C_\x8o_\x8m_\x8p_\x8u_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8M_\x8e_\x8t_\x8h_\x8o_\x8d<dimWorld,0,0,T>; | ||
90 | 71 | ||
91 | 43 | 39public: | |
92 | _\x87_\x83·typedef·FieldVector<T,·dimWorld>·_\x8V_\x8e_\x8c_\x8t_\x8o_\x8r; | ||
93 | _\x87_\x84·static·const·int·_\x8g_\x8r_\x8i_\x8d_\x81_\x8D_\x8i_\x8m_\x8e_\x8n_\x8s_\x8i_\x8o_\x8n·=·0; | ||
94 | _\x87_\x85·static·const·int·_\x8g_\x8r_\x8i_\x8d_\x82_\x8D_\x8i_\x8m_\x8e_\x8n_\x8s_\x8i_\x8o_\x8n·=·0; | ||
95 | _\x87_\x86·static·const·int·_\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8D_\x8i_\x8m_\x8e_\x8n_\x8s_\x8i_\x8o_\x8n·=·0; | ||
96 | 77 | ||
97 | 44 | 40 | |
45 | 41·/*·E·X·P·O·R·T·E·D·T·Y·P·E·S·A·N·D·C·O·N·S·T·A·N·T·S·*/ | ||
46 | 42 | ||
47 | _\x84_\x84·typedef·T·_\x8c_\x8t_\x8y_\x8p_\x8e; | ||
48 | 45 | ||
49 | _\x84_\x87·typedef·Dune::FieldVector<T,·dimworld>·_\x8W_\x8o_\x8r_\x8l_\x8d_\x8C_\x8o_\x8o_\x8r_\x8d_\x8s; | ||
50 | 48 | ||
51 | 50·//typedef·Dune::FieldVector<T,·dim>·LocalCoords; | ||
52 | 51 | ||
Max diff block lines reached; 64342/71631 bytes (89.82%) 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:·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, 139 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="#define-members">Macros</a>·| | ||
80 | <a·href="#func-members">Functions</a>··</div> | ||
81 | ··<div·class="headertitle"><div·class="title"> | 79 | ··<div·class="headertitle"><div·class="title">conformingmerge.hh·File·Reference</div></div> |
82 | </div><!--header--> | 80 | </div><!--header--> |
83 | <div·class="contents"> | 81 | <div·class="contents"> |
84 | <p> | 82 | <p>Implementation·of·the·Merger·concept·for·conforming·interfaces.·· |
85 | <a·href="#details">More...</a></p> | 83 | <a·href="#details">More...</a></p> |
86 | <div·class="textblock"><code>#include·<io | 84 | <div·class="textblock"><code>#include·<iomanip></code><br·/> |
87 | <code>#include·<iomanip></code><br·/> | ||
88 | <code>#include·<vector></code><br·/> | 85 | <code>#include·<vector></code><br·/> |
89 | <code>#include·<stack></code><br·/> | ||
90 | <code>#include·<set></code><br·/> | ||
91 | <code>#include·<utility></code><br·/> | ||
92 | <code>#include·<map></code><br·/> | ||
93 | <code>#include·<memory></code><br·/> | ||
94 | <code>#include·<algorithm></code><br·/> | 86 | <code>#include·<algorithm></code><br·/> |
87 | <code>#include·<bitset></code><br·/> | ||
88 | <code>#include·<dune/common/fmatrix.hh></code><br·/> | ||
95 | <code>#include·<dune/common/fvector.hh></code><br·/> | 89 | <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·/> | 90 | <code>#include·<dune/geometry/referenceelements.hh></code><br·/> |
100 | <code>#include·<dune/grid/common/grid.hh></code><br·/> | ||
101 | <code>#include·<<a·class="el"·href="a00074_source.html">dune/grid-glue/merging/intersectionlist.hh</a>></code><br·/> | ||
102 | <code>#include·<<a·class="el"·href="a000 | 91 | <code>#include·<<a·class="el"·href="a00098_source.html">dune/grid-glue/merging/standardmerge.hh</a>></code><br·/> |
103 | <code>#include·<<a·class="el"·href="a00098_source.html">dune/grid-glue/merging/computeintersection.hh</a>></code><br·/> | ||
104 | </div> | 92 | </div> |
105 | <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> |
106 | <table·class="memberdecls"> | 94 | <table·class="memberdecls"> |
107 | <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> |
108 | Classes</h2></td></tr> | 96 | 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="a01 | 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> |
110 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight"> | 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> |
111 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 99 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
112 | </table><table·class="memberdecls"> | 100 | </table><table·class="memberdecls"> |
113 | <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> |
114 | Namespaces</h2></td></tr> | 102 | 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> | 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> |
116 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 104 | <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> | 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> |
118 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 106 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
119 | </table><table·class="memberdecls"> | ||
120 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="define-members"·name="define-members"></a> | ||
121 | Macros</h2></td></tr> | ||
122 | <tr·class="memitem:ad5c7ca0181fea7823b37d06d5f61e9cd"·id="r_ad5c7ca0181fea7823b37d06d5f61e9cd"><td·class="memItemLeft"·align="right"·valign="top">#define </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00068.html#ad5c7ca0181fea7823b37d06d5f61e9cd">DECL</a>   extern</td></tr> | ||
123 | <tr·class="separator:ad5c7ca0181fea7823b37d06d5f61e9cd"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
124 | <tr·class="memitem:a4a2b0f7fb92723749fc6d5cca82a4297"·id="r_a4a2b0f7fb92723749fc6d5cca82a4297"><td·class="memItemLeft"·align="right"·valign="top">#define </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00068.html#a4a2b0f7fb92723749fc6d5cca82a4297">STANDARD_MERGE_INSTANTIATE</a>(T,··A,··B,··C)</td></tr> | ||
125 | <tr·class="separator:a4a2b0f7fb92723749fc6d5cca82a4297"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
126 | </table><table·class="memberdecls"> | ||
127 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> | ||
128 | Functions</h2></td></tr> | ||
129 | <tr·class="memitem:a24cc77615b28d89c63bbf0bc56bd4c47"·id="r_a24cc77615b28d89c63bbf0bc56bd4c47"><td·class="memItemLeft"·align="right"·valign="top"> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00104.html#a24cc77615b28d89c63bbf0bc56bd4c47">Dune::GridGlue::STANDARD_MERGE_INSTANTIATE</a>·(double,·1,·1,·1)</td></tr> | ||
130 | <tr·class="separator:a24cc77615b28d89c63bbf0bc56bd4c47"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
131 | <tr·class="memitem:aa5c636241cf52ea647e948fcd9339923"·id="r_aa5c636241cf52ea647e948fcd9339923"><td·class="memItemLeft"·align="right"·valign="top"> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00104.html#aa5c636241cf52ea647e948fcd9339923">Dune::GridGlue::STANDARD_MERGE_INSTANTIATE</a>·(double,·2,·2,·2)</td></tr> | ||
132 | <tr·class="separator:aa5c636241cf52ea647e948fcd9339923"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
133 | <tr·class="memitem:aa1057477f7967001ea15f5928e90f84c"·id="r_aa1057477f7967001ea15f5928e90f84c"><td·class="memItemLeft"·align="right"·valign="top"> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00104.html#aa1057477f7967001ea15f5928e90f84c">Dune::GridGlue::STANDARD_MERGE_INSTANTIATE</a>·(double,·3,·3,·3)</td></tr> | ||
134 | <tr·class="separator:aa1057477f7967001ea15f5928e90f84c"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
135 | </table> | 107 | </table> |
136 | <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> |
109 | <div·class="textblock"><p>Implementation·of·the·Merger·concept·for·conforming·interfaces.·</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/12153 bytes (2.00%) of diff not shown. |
Offset 1, 79 lines modified | Offset 1, 32 lines modified | ||
1 | dune-grid-glue 2.10 | 1 | dune-grid-glue 2.10 |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | ····*·_\x8d_\x8u_\x8n_\x8e | 5 | ····*·_\x8d_\x8u_\x8n_\x8e |
6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e | 6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e |
7 | ····*·_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g | 7 | ····*·_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g |
8 | _\x8C_\x8l_\x8a_\x8s_\x8s_\x8e_\x8s·|·_\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s | 8 | _\x8C_\x8l_\x8a_\x8s_\x8s_\x8e_\x8s·|·_\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s |
9 | 9 | conformingmerge.hh·File·Reference | |
10 | Implementation·of·the·Merger·concept·for·conforming·interfaces.·_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
10 | Common·base·class·for·many·merger·implementations:·produce·pairs·of·entities | ||
11 | that·m\x8ma\x8ay\x8y·intersect.·_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
12 | #include·<iostream> | ||
13 | #include·<iomanip> | 11 | #include·<iomanip> |
14 | #include·<vector> | 12 | #include·<vector> |
15 | #include·<stack> | ||
16 | #include·<set> | ||
17 | #include·<utility> | ||
18 | #include·<map> | ||
19 | #include·<memory> | ||
20 | #include·<algorithm> | 13 | #include·<algorithm> |
14 | #include·<bitset> | ||
15 | #include·<dune/common/fmatrix.hh> | ||
21 | #include·<dune/common/fvector.hh> | 16 | #include·<dune/common/fvector.hh> |
22 | #include·<dune/common/bitsetvector.hh> | ||
23 | #include·<dune/common/stdstreams.hh> | ||
24 | #include·<dune/common/timer.hh> | ||
25 | #include·<dune/geometry/referenceelements.hh> | 17 | #include·<dune/geometry/referenceelements.hh> |
26 | #include·<dune/grid/common/grid.hh> | ||
27 | #include·<_\x8d_\x8u_\x8n_\x8e_\x8/_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e_\x8/_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g_\x8/_\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8l_\x8i_\x8s_\x8t_\x8._\x8h_\x8h> | ||
28 | #include·<_\x8d_\x8u_\x8n_\x8e_\x8/_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e_\x8/_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g_\x8/_\x8 | 18 | #include·<_\x8d_\x8u_\x8n_\x8e_\x8/_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e_\x8/_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g_\x8/_\x8s_.t_.a_.n_.d_.a_.r_.d_.m_.e_.r_.g_.e_\x8._\x8h_\x8h> |
29 | #include·<_\x8d_\x8u_\x8n_\x8e_\x8/_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e_\x8/_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g_\x8/_\x8c_\x8o_\x8m_\x8p_\x8u_\x8t_\x8e_\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8._\x8h_\x8h> | ||
30 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 19 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
31 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s | 20 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s |
32 | class· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8 | 21 | class· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8C_.o_.n_.f_.o_.r_.m_.i_.n_.g_.M_.e_.r_.g_.e_.<_.·_.d_.i_.m_.,_.·_.d_.i_.m_.w_.o_.r_.l_.d_.,_.·_.T_\x8·_\x8> |
22 | ·······Implementation·of·the·_\x8M_\x8e_\x8r_\x8g_\x8e_\x8r·concept·for·conforming·interfaces.·_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
33 | ·······Common·base·class·for·many·merger·implementations:·produce·pairs·of | ||
34 | ········entities·that·m\x8ma\x8ay\x8y·intersect.·_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
35 | 23 | ||
36 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s | 24 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s |
37 | namespace· ·_\x8D_\x8u_\x8n_\x8e | 25 | namespace· ·_\x8D_\x8u_\x8n_\x8e |
38 | 26 | ||
39 | namespace· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e | 27 | namespace· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e |
40 | 28 | ||
41 | M\x8Ma\x8ac\x8cr\x8ro\x8os\x8s | ||
42 | #define ·_\x8D_\x8E_\x8C_\x8L extern | ||
43 | |||
44 | #define ·_\x8S_\x8T_\x8A_\x8N_\x8D_\x8A_\x8R_\x8D_\x8__\x8M_\x8E_\x8R_\x8G_\x8E_\x8__\x8I_\x8N_\x8S_\x8T_\x8A_\x8N_\x8T_\x8I_\x8A_\x8T_\x8E(T,·A,·B,·C) | ||
45 | |||
46 | F\x8Fu\x8un\x8nc\x8ct\x8ti\x8io\x8on\x8ns\x8s | ||
47 | ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8S_\x8T_\x8A_\x8N_\x8D_\x8A_\x8R_\x8D_\x8__\x8M_\x8E_\x8R_\x8G_\x8E_\x8__\x8I_\x8N_\x8S_\x8T_\x8A_\x8N_\x8T_\x8I_\x8A_\x8T_\x8E·(double,·1,·1,·1) | ||
48 | |||
49 | ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8S_\x8T_\x8A_\x8N_\x8D_\x8A_\x8R_\x8D_\x8__\x8M_\x8E_\x8R_\x8G_\x8E_\x8__\x8I_\x8N_\x8S_\x8T_\x8A_\x8N_\x8T_\x8I_\x8A_\x8T_\x8E·(double,·2,·2,·2) | ||
50 | |||
51 | ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8S_\x8T_\x8A_\x8N_\x8D_\x8A_\x8R_\x8D_\x8__\x8M_\x8E_\x8R_\x8G_\x8E_\x8__\x8I_\x8N_\x8S_\x8T_\x8A_\x8N_\x8T_\x8I_\x8A_\x8T_\x8E·(double,·3,·3,·3) | ||
52 | |||
53 | *\x8**\x8**\x8**\x8**\x8*·D\x8De\x8et\x8ta\x8ai\x8il\x8le\x8ed\x8d·D\x8De\x8es\x8sc\x8cr\x8ri\x8ip\x8pt\x8ti\x8io\x8on\x8n·*\x8**\x8**\x8**\x8**\x8* | 29 | *\x8**\x8**\x8**\x8**\x8*·D\x8De\x8et\x8ta\x8ai\x8il\x8le\x8ed\x8d·D\x8De\x8es\x8sc\x8cr\x8ri\x8ip\x8pt\x8ti\x8io\x8on\x8n·*\x8**\x8**\x8**\x8**\x8* |
30 | Implementation·of·the·Merger·concept·for·conforming·interfaces. | ||
54 | Common·base·class·for·many·merger·implementations:·produce·pairs·of·entities | ||
55 | that·m\x8ma\x8ay\x8y·intersect. | ||
56 | *\x8**\x8**\x8**\x8**\x8*·M\x8Ma\x8ac\x8cr\x8ro\x8o·D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·D\x8Do\x8oc\x8cu\x8um\x8me\x8en\x8nt\x8ta\x8at\x8ti\x8io\x8on\x8n·*\x8**\x8**\x8**\x8**\x8* | ||
57 | *\x8**\x8**\x8**\x8**\x8*·_\x8?\x8◆_\x8?\x8 D\x8DE\x8EC\x8CL\x8L·*\x8**\x8**\x8**\x8**\x8* | ||
58 | #define·DECL extern | ||
59 | *\x8**\x8**\x8**\x8**\x8*·_\x8?\x8◆_\x8?\x8 S\x8ST\x8TA\x8AN\x8ND\x8DA\x8AR\x8RD\x8D_\x8_M\x8ME\x8ER\x8RG\x8GE\x8E_\x8_I\x8IN\x8NS\x8ST\x8TA\x8AN\x8NT\x8TI\x8IA\x8AT\x8TE\x8E·*\x8**\x8**\x8**\x8**\x8* | ||
60 | #define·STANDARD_MERGE_INSTANTIATE·(· ·T, | ||
61 | ····································· ·A, | ||
62 | ····································· ·B, | ||
63 | ····································· ·C | ||
64 | ···································) | ||
65 | V\x8Va\x8al\x8lu\x8ue\x8e:\x8: | ||
66 | _\x8D_\x8E_\x8C_\x8L·template·\ | ||
67 | void·StandardMerge<T,A,B,C>::build(const·std::vector<Dune::FieldVector<T,C>·>& | ||
68 | grid1Coords,·\ | ||
69 | const·std::vector<unsigned·int>&·grid1_elements,·\ | ||
70 | const·std::vector<Dune::GeometryType>&·grid1_element_types,·\ | ||
71 | const·std::vector<Dune::FieldVector<T,C>·>&·grid2Coords,·\ | ||
72 | const·std::vector<unsigned·int>&·grid2_elements,·\ | ||
73 | const·std::vector<Dune::GeometryType>&·grid2_element_types·\ | ||
74 | ) | ||
75 | _\x8D_\x8E_\x8C_\x8L | ||
76 | #define·DECL | ||
77 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·standardmerge.hh:827 | ||
78 | =============================================================================== | 31 | =============================================================================== |
79 | ·····Generated·by _\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]·1.9.8 | 32 | ·····Generated·by _\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]·1.9.8 |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-grid-glue:· | 8 | <title>dune-grid-glue:·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, 857 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"> | 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">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 83 | <a·href="a00068.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·©·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div> | 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·©·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div> |
86 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with-dune-grid-glue-exception</span></div> | 86 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with-dune-grid-glue-exception</span></div> |
87 | <div·class="line"><a·id="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> | ||
87 | <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> |
88 | <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> |
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> | 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">#include·< | 100 | <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·< | 101 | <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·< | 102 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#include·<algorithm></span></div> |
104 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="preprocessor">#include·< | 103 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="preprocessor">#include·<bitset></span></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="preprocessor">#include·<dune/ | 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> |
107 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·<dune/ | 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> |
108 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div> | 107 | <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·< | 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> |
110 | <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>·</div> |
111 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="preprocessor">#include·<<a·class="code"·href="a00098.html">dune/grid-glue/merging/ | 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> |
112 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div> | 111 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div> |
113 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00103.html">Dune</a>·{</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="l0003 | 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="l0003 | 115 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div> |
116 | <div·class="line"><a·id="l000 | 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">dou[·...·truncated·by·diffoscope;·len:·10,·SHA:·c9e2dcb2bef1546c66b8d00072825400c7407fa7fed20e8c610198c06ce3edd5·...·]></div> |
117 | <div·class="foldopen"·id="foldopen000 | 117 | <div·class="foldopen"·id="foldopen00047"·data-start="{"·data-end="};"> |
118 | <div·class="line"><a·id="l000 | 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="l000 | 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> | ||
120 | <div·class="line"><a·id="l0005 | 121 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</div> |
121 | <div·class="line"><a·id="l0005 | 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> | ||
122 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div> | 129 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div> |
123 | <div·class="line"><a·id="l0006 | 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#a1dba3cda615[·...·truncated·by·diffoscope;·len:·39,·SHA:·d97e78a0441129628fb73e49c6c1cb638195370bd129be99a8856d62bff5b0f2·...·]</div> |
124 | <div·class="line"><a·id="l0006 | 131 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div> |
125 | <div·class="line"><a·id="l0006 | 132 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span><span·class="keyword">private</span>:</div> |
126 | <div·class="line"><a·id="l0006 | 133 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>·</div> |
127 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno"> | 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> |
128 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div> | 135 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div> |
129 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno"> | 136 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>··T·tolerance_;</div> |
130 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div> | 137 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div> |
131 | <div·class="line"><a·id="l0007 | 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>::Simp[·...·truncated·by·diffoscope;·len:·45,·SHA:·061acf26d912d6a8a6db4176b91c00b9f99db6f70fe341c09a86c323829a8c74·...·];</div> |
132 | <div·class="line"><a·id="l0007 | 139 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>·</div> |
133 | <div·class="line"><a·id="l0007 | 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> | ||
134 | <div·class="line"><a·id="l000 | 149 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>·</div> |
135 | <div·class="line"><a·id="l000 | 150 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span><span·class="keyword">public</span>:</div> |
136 | <div·class="line"><a·id="l000 | 151 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>·</div> |
137 | <div·class="line"><a·id="l000 | 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#a78[·...·truncated·by·diffoscope;·len:·61,·SHA:·1a6f7420c9404c0d28f56d3f67906d2af010aedc3c993643560aa7a1eb3ed61d·...·]</div> |
138 | <div·class="line"><a·id="l000 | 153 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</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="foldopen000 | 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> | ||
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="l0009 | 157 | <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>··{}</div> |
150 | </div> | 158 | </div> |
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> | ||
153 | <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span> | 159 | <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>};</div> |
154 | <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno"><a·class="line"·href="a01162.html#a07176fafb7b4a8387f96b4794ea29814">···99</a></span>··<span·class="keyword">virtual</span>·<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01162.html#a07176fafb7b4a8387f96b4794ea29814">computeIntersections</a>(<span·class="keyword">const</span>·Dune::GeometryType&·grid1ElementType,</div> | ||
155 | < | 160 | </div> |
Max diff block lines reached; 143739/179207 bytes (80.21%) of diff not shown. |
Offset 1, 989 lines modified | Offset 1, 253 lines modified | ||
1 | dune-grid-glue 2.10 | 1 | dune-grid-glue 2.10 |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | ····*·_\x8d_\x8u_\x8n_\x8e | 5 | ····*·_\x8d_\x8u_\x8n_\x8e |
6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e | 6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e |
7 | ····*·_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g | 7 | ····*·_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g |
8 | 8 | conformingmerge.hh | |
9 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 9 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: | 11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: |
12 | 3//·SPDX-FileCopyrightInfo:·Copyright·Â©·DUNE·Project·contributors,·see·file | 12 | 3//·SPDX-FileCopyrightInfo:·Copyright·Â©·DUNE·Project·contributors,·see·file |
13 | LICENSE.md·in·module·root | 13 | LICENSE.md·in·module·root |
14 | 4//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with- | 14 | 4//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with- |
15 | dune-grid-glue-exception | 15 | dune-grid-glue-exception |
16 | 5/* | ||
17 | 6·*·Filename:·conformingmerge.hh | ||
18 | 7·*·Version:·1.0 | ||
19 | 8·*·Created·on:·Sep·14,·2009 | ||
20 | 9·*·Author:·Oliver·Sander | ||
21 | 10·*·--------------------------------- | ||
22 | 11·*·Project:·dune-grid-glue | ||
23 | 12·*·Description:·implementation·of·the·Merger·concept·for·conforming | ||
24 | interfaces | ||
25 | 13·* | ||
26 | 14·*/ | ||
16 | 27 | 21#ifndef·DUNE_GRIDGLUE_MERGING_CONFORMINGMERGE_HH | |
17 | 28 | 22#define·DUNE_GRIDGLUE_MERGING_CONFORMINGMERGE_HH | |
18 | 12 | ||
19 | 13 | ||
20 | 14#include·<iostream> | ||
21 | 15#include·<iomanip> | ||
22 | 16#include·<vector> | ||
23 | 17#include·<stack> | ||
24 | 18#include·<set> | ||
25 | 19#include·<utility> | ||
26 | 20#include·<map> | ||
27 | 21#include·<memory> | ||
28 | 22#include·<algorithm> | ||
29 | 23 | 29 | 23 |
30 | 24#include·<dune/common/fvector.hh> | ||
31 | 25#include·<dune/common/bitsetvector.hh> | ||
32 | 26#include·<dune/common/stdstreams.hh> | ||
33 | 2 | 30 | 24#include·<iomanip> |
31 | 25#include·<vector> | ||
32 | 26#include·<algorithm> | ||
33 | 27#include·<bitset> | ||
34 | 28 | 34 | 28 |
35 | 29#include·<dune/ | 35 | 29#include·<dune/common/fmatrix.hh> |
36 | 30#include·<dune/ | 36 | 30#include·<dune/common/fvector.hh> |
37 | 31 | 37 | 31 |
38 | 32#include·< | 38 | 32#include·<dune/geometry/referenceelements.hh> |
39 | 33 | ||
39 | 3 | 40 | 34#include·<_.d_.u_.n_.e_./_.g_.r_.i_.d_.-_.g_.l_.u_.e_./_.m_.e_.r_.g_.i_.n_.g_./_.s_.t_.a_.n_.d_.a_.r_.d_.m_.e_.r_.g_.e_\x8._\x8h_\x8h> |
40 | 34#include·<_\x8d_\x8u_\x8n_\x8e_\x8/_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e_\x8/_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g_\x8/_\x8c_\x8o_\x8m_\x8p_\x8u_\x8t_\x8e_\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8._\x8h_\x8h> | ||
41 | 35 | 41 | 35 |
42 | 36namespace·_\x8D_\x8u_\x8n_\x8e·{ | 42 | 36namespace·_\x8D_\x8u_\x8n_\x8e·{ |
43 | 37 | ||
43 | 3 | 44 | 38·namespace·GridGlue·{ |
44 | 38 | ||
45 | 45 | 39 | |
46 | 46template<int·dim,·int·dimworld,·typename·T·=·double> | ||
46 | _\x8 | 47 | _\x84_.7class·_.C_.o_.n_.f_.o_.r_.m_.i_.n_.g_\x8M_\x8e_\x8r_\x8g_\x8e |
47 | 57·:·public·_\x8M_\x8e_\x8r_\x8g_\x8e_\x8r<T,grid1Dim,grid2Dim,dimworld> | ||
48 | 58{ | ||
49 | 48 | 48·:·public·_.S_.t_.a_.n_.d_.a_.r_.d_.M_.e_.r_.g_.e<T,dim,dim,dimworld> | |
49 | 49{ | ||
50 | 50 | ||
51 | 51public: | ||
52 | 52 | ||
53 | 53·/*·E·X·P·O·R·T·E·D·T·Y·P·E·S·A·N·D·C·O·N·S·T·A·N·T·S·*/ | ||
54 | 54 | ||
55 | _\x85_\x86·typedef·T·_\x8c_\x8t_\x8y_\x8p_\x8e; | ||
56 | 57 | ||
57 | _\x85_\x89·typedef·Dune::FieldVector<T,·dimworld>·_\x8W_\x8o_\x8r_\x8l_\x8d_\x8C_\x8o_\x8o_\x8r_\x8d_\x8s; | ||
50 | 60 | 58 | 60 |
51 | 61public: | ||
52 | 62 | ||
53 | 63·/*·E·X·P·O·R·T·E·D·T·Y·P·E·S·A·N·D·C·O·N·S·T·A·N·T·S·*/ | ||
54 | 64 | ||
55 | _\x86_\x8 | 59 | _\x86_\x82·typedef·Dune::FieldVector<T,·dim>·_.L_.o_.c_.a_.l_.C_.o_.o_.r_.d_.s; |
60 | 63 | ||
61 | 64private: | ||
62 | 65 | ||
63 | 66·/*·M·E·M·B·E·R·V·A·R·I·A·B·L·E·S·*/ | ||
56 | 67 | 64 | 67 |
57 | 65 | 69·T·tolerance_; | |
58 | 70 | 66 | 70 |
67 | 71·typedef·typename·_\x8S_\x8t_\x8a_\x8n_\x8d_\x8a_\x8r_\x8d_\x8M_\x8e_\x8r_\x8g_\x8e_\x8<_\x8T_\x8,_\x8d_\x8i_\x8m_\x8,_\x8d_\x8i_\x8m_\x8,_\x8d_\x8i_\x8m_\x8w_\x8o_\x8r_\x8l_\x8d_\x8>_\x8:_\x8:_\x8S_\x8i_\x8m_\x8p_\x8l_\x8i_\x8c_\x8i_\x8a_\x8l_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n | ||
68 | SimplicialIntersection; | ||
69 | 72 | ||
70 | 77·void·computeIntersections(const·Dune::GeometryType&·grid1ElementType, | ||
71 | 78·const·std::vector<Dune::FieldVector<T,dimworld>·>&·grid1ElementCorners, | ||
72 | 79·std::bitset<(1<<dim)>&·neighborIntersects1, | ||
73 | 80·unsigned·int·grid1Index, | ||
74 | 81·const·Dune::GeometryType&·grid2ElementType, | ||
75 | 82·const·std::vector<Dune::FieldVector<T,dimworld>·>&·grid2ElementCorners, | ||
76 | 83·std::bitset<(1<<dim)>&·neighborIntersects2, | ||
77 | 84·unsigned·int·grid2Index, | ||
78 | 85·std::vector<SimplicialIntersection>&·intersections); | ||
79 | 86 | ||
80 | 87public: | ||
81 | 88 | ||
82 | _\x88_\x89·static·constexpr·T·_\x8d_\x8e_\x8f_\x8a_\x8u_\x8l_\x8t_\x8__\x8t_\x8o_\x8l_\x8e_\x8r_\x8a_\x8n_\x8c_\x8e·=·1e-4; | ||
83 | 90 | ||
84 | _\x89_\x81·_\x8C_\x8o_\x8n_\x8f_\x8o_\x8r_\x8m_\x8i_\x8n_\x8g_\x8M_\x8e_\x8r_\x8g_\x8e(T·tolerance·=·_\x8d_\x8e_\x8f_\x8a_\x8u_\x8l_\x8t_\x8__\x8t_\x8o_\x8l_\x8e_\x8r_\x8a_\x8n_\x8c_\x8e)·: | ||
85 | 92·tolerance_(tolerance) | ||
59 | _\x87_\x82·using·_\x8G_\x8r_\x8i_\x8d_\x82_\x8C_\x8o_\x8o_\x8r_\x8d_\x8s·=·typename·_\x8B_\x8a_\x8s_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x82_\x8C_\x8o_\x8o_\x8r_\x8d_\x8s; | ||
60 | 73 | ||
61 | _\x87_\x85·using·_\x8W_\x8o_\x8r_\x8l_\x8d_\x8C_\x8o_\x8o_\x8r_\x8d_\x8s·=·typename·_\x8B_\x8a_\x8s_\x8e_\x8:_\x8:_\x8W_\x8o_\x8r_\x8l_\x8d_\x8C_\x8o_\x8o_\x8r_\x8d_\x8s; | ||
62 | 76 | ||
63 | _\x87_\x87·using·_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8L_\x8i_\x8s_\x8t·=·typename·_\x8B_\x8a_\x8s_\x8e_\x8:_\x8:_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8L_\x8i_\x8s_\x8t; | ||
64 | 78 | ||
65 | 79protected: | ||
66 | 80 | ||
67 | _\x88_\x82·using·_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8L_\x8i_\x8s_\x8t_\x8P_\x8r_\x8o_\x8v_\x8i_\x8d_\x8e_\x8r·= | ||
68 | _\x8S_\x8i_\x8m_\x8p_\x8l_\x8i_\x8c_\x8i_\x8a_\x8l_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8L_\x8i_\x8s_\x8t_\x8P_\x8r_\x8o_\x8v_\x8i_\x8d_\x8e_\x8r_\x8<_\x8g_\x8r_\x8i_\x8d_\x81_\x8D_\x8i_\x8m_\x8,_\x8·_\x8g_\x8r_\x8i_\x8d_\x82_\x8D_\x8i_\x8m_\x8>; | ||
69 | _\x88_\x83·using·_\x8S_\x8i_\x8m_\x8p_\x8l_\x8i_\x8c_\x8i_\x8a_\x8l_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n·=·typename·_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8L_\x8i_\x8s_\x8t_\x8P_\x8r_\x8o_\x8v_\x8i_\x8d_\x8e_\x8r_\x8:_\x8: | ||
70 | _\x8S_\x8i_\x8m_\x8p_\x8l_\x8i_\x8c_\x8i_\x8a_\x8l_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n; | ||
71 | _\x88_\x84·using·_\x8R_\x8e_\x8m_\x8o_\x8t_\x8e_\x8S_\x8i_\x8m_\x8p_\x8l_\x8i_\x8c_\x8i_\x8a_\x8l_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n·=·_\x8S_\x8i_\x8m_\x8p_\x8l_\x8i_\x8c_\x8i_\x8a_\x8l_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n; | ||
72 | 85 | ||
73 | _\x88_\x86·bool·_\x8v_\x8a_\x8l_\x8i_\x8d·=·false; | ||
74 | 87 | ||
75 | _\x88_\x88·_\x8S_\x8t_\x8a_\x8n_\x8d_\x8a_\x8r_\x8d_\x8M_\x8e_\x8r_\x8g_\x8e() | ||
76 | 89·:·_\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8L_\x8i_\x8s_\x8t_\x8P_\x8r_\x8o_\x8v_\x8i_\x8d_\x8e_\x8r_\x8_(std::make_shared<_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8L_\x8i_\x8s_\x8t_\x8P_\x8r_\x8o_\x8v_\x8i_\x8d_\x8e_\x8r>()) | ||
77 | 90·,·_\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8L_\x8i_\x8s_\x8t_\x8_(std::make_shared<_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8L_\x8i_\x8s_\x8t> | ||
78 | (_\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8L_\x8i_\x8s_\x8t_\x8P_\x8r_\x8o_\x8v_\x8i_\x8d_\x8e_\x8r_\x8_)) | ||
Max diff block lines reached; 43467/52182 bytes (83.30%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-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, 21 lines modified | Offset 70, 32 lines modified | ||
70 | <div·id="nav-path"·class="navpath"> | 70 | <div·id="nav-path"·class="navpath"> |
71 | ··<ul> | 71 | ··<ul> |
72 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_0d8f660a135565b225f6b14e80c278b4.html">merging</a></li>··</ul> | 72 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_0d8f660a135565b225f6b14e80c278b4.html">merging</a></li>··</ul> |
73 | </div> | 73 | </div> |
74 | </div><!--·top·--> | 74 | </div><!--·top·--> |
75 | <div·class="header"> | 75 | <div·class="header"> |
76 | ··<div·class="summary"> | 76 | ··<div·class="summary"> |
77 | <a·href="#nested-classes">Classes</a>·| | ||
77 | <a·href="#namespaces">Namespaces</a>··</div> | 78 | <a·href="#namespaces">Namespaces</a>··</div> |
78 | ··<div·class="headertitle"><div·class="title"> | 79 | ··<div·class="headertitle"><div·class="title">merger.hh·File·Reference</div></div> |
79 | </div><!--header--> | 80 | </div><!--header--> |
80 | <div·class="contents"> | 81 | <div·class="contents"> |
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·/> | ||
85 | <code>#include·<<a·class="el"·href="a00083_source.html">dune/grid-glue/merging/intersectionlist.hh</a>></code><br·/> | ||
86 | </div> | ||
81 | <p><a·href="a00071_source.html">Go·to·the·source·code·of·this·file.</a></p> | 87 | <p><a·href="a00071_source.html">Go·to·the·source·code·of·this·file.</a></p> |
82 | <table·class="memberdecls"> | 88 | <table·class="memberdecls"> |
89 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | ||
90 | Classes</h2></td></tr> | ||
91 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01110.html">Dune::GridGlue::Merger<·ctype,·grid1Dim,·grid2Dim,·dimworld·></a></td></tr> | ||
92 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Abstract·base·for·all·classes·that·take·extracted·grids·and·build·sets·of·intersections.··<a·href="a01110.html#details">More...</a><br·/></td></tr> | ||
93 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
94 | </table><table·class="memberdecls"> | ||
83 | <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> |
84 | Namespaces</h2></td></tr> | 96 | Namespaces</h2></td></tr> |
85 | <tr·class="memitem:a00103"·id="r_a00103"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00103.html">Dune</a></td></tr> | 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> |
86 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 98 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
87 | <tr·class="memitem:a00104"·id="r_a00104"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00104.html">Dune::GridGlue</a></td></tr> | 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> |
88 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 100 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
89 | </table> | 101 | </table> |
Offset 1, 17 lines modified | Offset 1, 26 lines modified | ||
1 | dune-grid-glue 2.10 | 1 | dune-grid-glue 2.10 |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | ····*·_\x8d_\x8u_\x8n_\x8e | 5 | ····*·_\x8d_\x8u_\x8n_\x8e |
6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e | 6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e |
7 | ····*·_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g | 7 | ····*·_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g |
8 | _\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s | ||
9 | 8 | _.C_.l_.a_.s_.s_.e_.s·|·_.N_.a_.m_.e_.s_.p_.a_.c_.e_.s | |
9 | merger.hh·File·Reference | ||
10 | #include·<vector> | ||
11 | #include·<dune/common/fvector.hh> | ||
12 | #include·<dune/geometry/type.hh> | ||
13 | #include·<_\x8d_\x8u_\x8n_\x8e_\x8/_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e_\x8/_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g_\x8/_\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8l_\x8i_\x8s_\x8t_\x8._\x8h_\x8h> | ||
10 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 14 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
15 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s | ||
16 | class· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8M_\x8e_\x8r_\x8g_\x8e_\x8r_\x8<_\x8·_\x8c_\x8t_\x8y_\x8p_\x8e_\x8,_\x8·_\x8g_\x8r_\x8i_\x8d_\x81_\x8D_\x8i_\x8m_\x8,_\x8·_\x8g_\x8r_\x8i_\x8d_\x82_\x8D_\x8i_\x8m_\x8,_\x8·_\x8d_\x8i_\x8m_\x8w_\x8o_\x8r_\x8l_\x8d_\x8·_\x8> | ||
17 | ·······Abstract·base·for·all·classes·that·take·extracted·grids·and·build·sets | ||
18 | ········of·intersections.·_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
19 | |||
11 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s | 20 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s |
12 | namespace· ·_\x8D_\x8u_\x8n_\x8e | 21 | namespace· ·_\x8D_\x8u_\x8n_\x8e |
13 | 22 | ||
14 | namespace· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e | 23 | namespace· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e |
15 | 24 | ||
16 | =============================================================================== | 25 | =============================================================================== |
17 | ·····Generated·by _\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]·1.9.8 | 26 | ·····Generated·by _\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]·1.9.8 |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-grid-glue:· | 8 | <title>dune-grid-glue:·merger.hh·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 74, 356 lines modified | Offset 74, 110 lines modified | ||
74 | <div·id="nav-path"·class="navpath"> | 74 | <div·id="nav-path"·class="navpath"> |
75 | ··<ul> | 75 | ··<ul> |
76 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_0d8f660a135565b225f6b14e80c278b4.html">merging</a></li>··</ul> | 76 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_0d8f660a135565b225f6b14e80c278b4.html">merging</a></li>··</ul> |
77 | </div> | 77 | </div> |
78 | </div><!--·top·--> | 78 | </div><!--·top·--> |
79 | <div·class="header"> | 79 | <div·class="header"> |
80 | ··<div·class="headertitle"><div·class="title"> | 80 | ··<div·class="headertitle"><div·class="title">merger.hh</div></div> |
81 | </div><!--header--> | 81 | </div><!--header--> |
82 | <div·class="contents"> | 82 | <div·class="contents"> |
83 | <a·href="a00071.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 83 | <a·href="a00071.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·©·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div> | 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·©·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div> |
86 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with-dune-grid-glue-exception</span></div> | 86 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with-dune-grid-glue-exception</span></div> |
87 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_GRIDGLUE_MERGING_MERGER_HH</span></div> | ||
88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_GRIDGLUE_MERGING_MERGER_HH</span></div> | ||
87 | <div·class="line"><a·id="l0000 | 89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div> |
88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00103.html">Dune</a>·{</div> | ||
89 | <div·class="line"><a·id="l0000 | 90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·<vector></span></div> |
90 | <div·class="line"><a·id="l0000 | 91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> |
91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">//****************************************************************************************</span></div> | ||
92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="co | 92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<dune/common/fvector.hh></span></div> |
93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class=" | 93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<dune/geometry/type.hh></span></div> |
94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div> | 94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div> |
95 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·<<a·class="code"·href="a00083.html">dune/grid-glue/merging/intersectionlist.hh</a>></span></div> | ||
95 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="keyword">template</span><<span·class="keyword">class</span>·CM></div> | ||
96 | <div·class="foldopen"·id="foldopen00014"·data-start="{"·data-end="}"> | ||
97 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno"><a·class="line"·href="a01070.html#af0e7174467aa9c3bbda479bdfdcabf48">···14</a></span><span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01070.html#af0e7174467aa9c3bbda479bdfdcabf48">IntersectionComputation<CM>::computeIntersection</a>(<span·class="keyword">const</span>·std::vector<V>&·X,</div> | ||
98 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>······················································<span·class="keyword">const</span>·std::vector<V>&·Y,</div> | ||
99 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>······················································std::vector<std::vector<int>·>&·SX,</div> | ||
100 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>······················································std::vector<std::vector<int>·>&·SY,</div> | ||
101 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>······················································std::vector<V>&·P)·{</div> | ||
102 | <div·class="line"><a·id="l0001 | 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>GridGlue·{</div> | ||
103 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>····std::vector<std::vector<unsigned·int>·>·subElementsX,·subElementsY;</div> | ||
104 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>····std::vector<std::vector<int>·>·faceIdsX,·faceIdsY;</div> | ||
105 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>····std::vector<V>·subElementX(CM::grid1Dimension+1),·subElementY(CM::grid2Dimension+1),·sP;</div> | ||
106 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>····std::vector<std::vector<int>·>·sSX,·sSY;</div> | ||
107 | <div·class="line"><a·id="l000 | 99 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> |
108 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>····CM::grid1_subdivisions(X,subElementsX,faceIdsX);</div> | ||
109 | <div·class="line"><a·id="l0002 | 100 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="keyword">template</span>·<<span·class="keyword">class</span>·ctype,·<span·class="keywordtype">int</span>·gr<span·class="keywordtype">id</span>1Dim,·<span·class="keywordtype">int</span>·g[·...·truncated·by·diffoscope;·len:·90,·SHA:·03e1a20c4355e7a971811911234c8995210d3a9c0ca1fb41054a99b677fdb821·...·];</div> |
101 | <div·class="foldopen"·id="foldopen00026"·data-start="{"·data-end="};"> | ||
102 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno"><a·class="line"·href="a01110.html">···26</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01110.html">Merger</a></div> | ||
110 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span> | 103 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>{</div> |
111 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span> | 104 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="keyword">public</span>:</div> |
112 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div> | 105 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div> |
106 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno"><a·class="line"·href="a01110.html#a3824f8931b9bec9b19317e5799845783">···31</a></span>··<span·class="keyword">typedef</span>·Dune::FieldVector<ctype,·grid1Dim>··<a·class="code·hl_typedef"·href="a01110.html#a3824f8931b9bec9b19317e5799845783">Grid1Coords</a>;</div> | ||
113 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>····<span·class="keywordflow">for</span>·(<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·i·=·0;·i·<·subElementsX.size();·++i)·{·<span·class="comment">//·iterate·over·all·X·subelements</span></div> | ||
114 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>········<span·class="keywordflow">for</span>·(<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·ki·=·0;·ki·<·subElementsX[i].size();·++ki)·<span·class="comment">//·define·the·X·subelement</span></div> | ||
115 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>············subElementX[ki]·=·X[subElementsX[i][ki]];</div> | ||
116 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>········<span·class="keywordflow">for</span>·(<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·j·=·0;·j·<·subElementsY.size();·++j)·{·<span·class="comment">//·iterate·over·all·Y·subelemetns</span></div> | ||
117 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>············<span·class="keywordflow">for</span>·(<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·kj·=·0;·kj·<·subElementsY[j].size();·++kj)·<span·class="comment">//·define·the·Y·subleement</span></div> | ||
118 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>················subElementY[kj]·=·Y[subElementsY[j][kj]];</div> | ||
119 | <div·class="line"><a·id="l0003 | 107 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div> |
108 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno"><a·class="line"·href="a01110.html#aef3557713bdf003e676d382ce333e1d6">···34</a></span>··<span·class="keyword">typedef</span>·Dune::FieldVector<ctype,·grid2Dim>··<a·class="code·hl_typedef"·href="a01110.html#aef3557713bdf003e676d382ce333e1d6">Grid2Coords</a>;</div> | ||
120 | <div·class="line"><a·id="l0003 | 109 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div> |
110 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno"><a·class="line"·href="a01110.html#a188d6a829994e6552b894a99dc53a944">···37</a></span>··<span·class="keyword">typedef</span>·Dune::FieldVector<ctype,·dimworld>··<a·class="code·hl_typedef"·href="a01110.html#a188d6a829994e6552b894a99dc53a944">WorldCoords</a>;</div> | ||
121 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div> | 111 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div> |
112 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno"><a·class="line"·href="a01110.html#a2b4e92fdb207acd9f974c9f85911a74f">···39</a></span>··<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01098.html">IntersectionList</a>·=·<a·class="code·hl_class"·href="a01098.html">Dune::GridGlue::IntersectionList<Grid1Coords,·Grid2Coords></a>;</div> | ||
122 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>············<span·class="comment">//·compute·the·intersection</span></div> | ||
123 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>············<span·class="keywordtype">bool</span>·b·=·CM::computeIntersectionPoints(subElementX,subElementY,sSX,sSY,sP);</div> | ||
124 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>············intersectionFound·=·intersectionFound·||·b;</div> | ||
125 | <div·class="line"><a·id="l0004 | 113 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·</div> |
114 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno"><a·class="line"·href="a01110.html#a9dbdac9901cb375d75c583d9f6746ec6">···54</a></span>··<span·class="keyword">virtual</span>·<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01110.html#a9dbdac9901cb375d75c583d9f6746ec6">build</a>(<span·class="keyword">const</span>·std::vector<Dune::FieldVector<ctype,dimworld>·>&·grid1_coords,</div> | ||
126 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>············<span·class="comment">//·only·insert·points·on·outer·faces</span></div> | ||
127 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>············<span·class="keywordflow">for</span>·(<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·ki·=·0;·ki·<·sSX.size();·++ki)·{·<span·class="comment">//·iterate·over·all·faces</span></div> | ||
128 | <div·class="line"><a·id="l000 | 115 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·····················<span·class="keyword">const</span>·std::vector<unsigned·int>&·grid1_elements,</div> |
116 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·····················<span·class="keyword">const</span>·std::vector<Dune::GeometryType>&·grid1_element_types,</div> | ||
117 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·····················<span·class="keyword">const</span>·std::vector<Dune::FieldVector<ctype,dimworld>·>&·grid2_coords,</div> | ||
129 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>····················<span·class="keywordflow">for</span>·(<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·kii·=·0;·kii·<·sSX[ki].size();·++kii)·{</div> | ||
130 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>························<span·class="keywordtype">int</span>·k·=·<a·class="code·hl_function"·href="a00104.html#a273266aab32afadee15bb5fcf71aa4ca">insertPoint</a>(sP[sSX[ki][kii]],P);··<span·class="comment">//·determine·index·in·P</span></div> | ||
131 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>························SX[faceIdsX[i][ki]].push_back(k);</div> | ||
132 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>····················}</div> | ||
133 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>················}</div> | ||
134 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>············}</div> | ||
135 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>············<span·class="keywordflow">for</span>·(<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·kj·=·0;·kj·<·sSY.size();·++kj)·{·<span·class="comment">//·iterate·over·all·faces</span></div> | ||
136 | <div·class="line"><a·id="l0005 | 118 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·····················<span·class="keyword">const</span>·std::vector<unsigned·int>&·grid2_elements,</div> |
119 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>·····················<span·class="keyword">const</span>·std::vector<Dune::GeometryType>&·grid2_element_types)·=·0;</div> | ||
137 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>····················<span·class="keywordflow">for</span>·(<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·kjj·=·0;·kjj·<·sSY[kj].size();·++kjj)·{</div> | ||
138 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>························<span·class="keywordtype">int</span>·k·=·<a·class="code·hl_function"·href="a00104.html#a273266aab32afadee15bb5fcf71aa4ca">insertPoint</a>(sP[sSY[kj][kjj]],P);··<span·class="comment">//·determine·index·in·P</span></div> | ||
139 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>························SY[faceIdsY[j][kj]].push_back(k);</div> | ||
140 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>····················}</div> | ||
141 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>················}</div> | ||
142 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>············}</div> | ||
143 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>········}</div> | ||
144 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>····}</div> | ||
145 | <div·class="line"><a·id="l0006 | 120 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div> |
146 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>····<span·class="keywordflow">return</span>·intersectionFound;</div> | ||
147 | <div·class=" | 121 | <div·class="foldopen"·id="foldopen00064"·data-start="{"·data-end="}"> |
122 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno"><a·class="line"·href="a01110.html#ac7427a29f68f03ff10e7c8261929c726">···64</a></span>··<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a01110.html#ac7427a29f68f03ff10e7c8261929c726">nSimplices</a>()<span·class="keyword">·const</span></div> | ||
123 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span><span·class="keyword">····</span>{·<span·class="keywordflow">return</span>·<a·class="code·hl_function"·href="a01110.html#ad04c1234890c74fb468f052d09a4cc4e">intersectionList</a>()->size();·}</div> | ||
148 | </div> | 124 | </div> |
149 | <div·class="line"><a·id="l0006 | 125 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div> |
126 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno"><a·class="line"·href="a01110.html#a14bd1727a9cd9229196fcfc3f412e174">···67</a></span>··<span·class="keyword">virtual</span>·<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01110.html#a14bd1727a9cd9229196fcfc3f412e174">clear</a>()·=·0;</div> | ||
150 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span><span·class="comment">//****************************************************************************************</span></div> | ||
151 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span><span·class="comment">//·PRIVATE</span></div> | ||
152 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span><span·class="comment">//****************************************************************************************</span></div> | ||
153 | <div·class="line"><a·id="l0006 | 127 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div> |
128 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno"><a·class="line"·href="a01110.html#ad04c1234890c74fb468f052d09a4cc4e">···74</a></span>··<span·class="keyword">virtual</span>·std::shared_ptr<IntersectionList>·<a·class="code·hl_function"·href="a01110.html#ad04c1234890c74fb468f052d09a4cc4e">intersectionList</a>()·<span·class="keyword">const</span>·=·0;</div> | ||
154 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span><span·class="keyword">template</span><<span·class="keyword">class</span>·CM></div> | ||
155 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span><span·class="keywordtype">void</span>·<a·class="code·hl_class"·href="a01070.html">IntersectionComputation<CM>::orderPoints_</a>(std::integral_constant<int,3>,</div> | ||
156 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>···············································std::integral_constant<int,3>,</div> | ||
157 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>···············································<span·class="keyword">const</span>·V&·centroid,</div> | ||
158 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>···············································<span·class="keyword">const</span>·std::vector<std::vector<int>·>&·SX,</div> | ||
159 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>···············································<span·class="keyword">const</span>·std::vector<std::vector<int>·>&·SY,</div> | ||
160 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>···············································<span·class="keyword">const</span>·std::vector<V>&··P,</div> | ||
161 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>···············································std::vector<std::vector<int>·>&·H)</div> | ||
162 | <div·class="line"><a·id="l0007 | 129 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>·</div> |
163 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>····<span·class="keywordtype">int</span>·n_facesX·=·SX.size();</div> | ||
164 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>····<span·class="keywordtype">int</span>·n_facesY·=·SY.size();</div> | ||
Max diff block lines reached; 6678/72185 bytes (9.25%) of diff not shown. |
Offset 1, 382 lines modified | Offset 1, 139 lines modified | ||
1 | dune-grid-glue 2.10 | 1 | dune-grid-glue 2.10 |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | ····*·_\x8d_\x8u_\x8n_\x8e | 5 | ····*·_\x8d_\x8u_\x8n_\x8e |
6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e | 6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e |
7 | ····*·_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g | 7 | ····*·_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g |
8 | 8 | merger.hh | |
9 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 9 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: | 11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: |
12 | 3//·SPDX-FileCopyrightInfo:·Copyright·Â©·DUNE·Project·contributors,·see·file | 12 | 3//·SPDX-FileCopyrightInfo:·Copyright·Â©·DUNE·Project·contributors,·see·file |
13 | LICENSE.md·in·module·root | 13 | LICENSE.md·in·module·root |
14 | 4//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with- | 14 | 4//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with- |
15 | dune-grid-glue-exception | 15 | dune-grid-glue-exception |
16 | 5#ifndef·DUNE_GRIDGLUE_MERGING_MERGER_HH | ||
17 | 6#define·DUNE_GRIDGLUE_MERGING_MERGER_HH | ||
18 | 7 | ||
19 | 8#include·<vector> | ||
20 | 9 | ||
21 | 10#include·<dune/common/fvector.hh> | ||
22 | 11#include·<dune/geometry/type.hh> | ||
16 | 5 | ||
17 | 6namespace·_\x8D_\x8u_\x8n_\x8e·{ | ||
18 | 7namespace·GridGlue·{ | ||
19 | 8 | ||
20 | 9// | ||
21 | **************************************************************************************** | ||
22 | 10//·PUBLIC | ||
23 | 11// | ||
24 | **************************************************************************************** | ||
25 | 12 | 23 | 12 |
24 | 13#include·<_\x8d_\x8u_\x8n_\x8e_\x8/_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e_\x8/_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g_\x8/_\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8l_\x8i_\x8s_\x8t_\x8._\x8h_\x8h> | ||
25 | 14 | ||
26 | 15namespace·_\x8D_\x8u_\x8n_\x8e·{ | ||
27 | 16namespace·GridGlue·{ | ||
28 | 17 | ||
29 | 25template·<class·ctype,·int·grid1Dim,·int·grid2Dim,·int·dimworld> | ||
30 | _\x82_\x86class·_\x8M_\x8e_\x8r_\x8g_\x8e_\x8r | ||
26 | 13template<class·CM> | ||
27 | _\x81_\x84bool·_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8C_\x8o_\x8m_\x8p_\x8u_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8<_\x8C_\x8M_\x8>_\x8:_\x8:_\x8c_\x8o_\x8m_\x8p_\x8u_\x8t_\x8e_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n(const·std::vector<V>& | ||
28 | X, | ||
29 | 15·const·std::vector<V>&·Y, | ||
30 | 16·std::vector<std::vector<int>·>&·SX, | ||
31 | 17·std::vector<std::vector<int>·>&·SY, | ||
32 | 18·std::vector<V>&·P)·{ | ||
33 | 19 | ||
34 | 20·std::vector<std::vector<unsigned·int>·>·subElementsX,·subElementsY; | ||
35 | 21·std::vector<std::vector<int>·>·faceIdsX,·faceIdsY; | ||
36 | 22·std::vector<V>·subElementX(CM::grid1Dimension+1),·subElementY(CM:: | ||
37 | grid2Dimension+1),·sP; | ||
38 | 23·std::vector<std::vector<int>·>·sSX,·sSY; | ||
39 | 24 | ||
40 | 25·CM::grid1_subdivisions(X,subElementsX,faceIdsX); | ||
41 | 26·CM::grid2_subdivisions(Y,subElementsY,faceIdsY); | ||
42 | 27 | 31 | 27{ |
43 | 28 | 32 | 28public: |
44 | 29 | 33 | 29 |
34 | _\x83_\x81·typedef·Dune::FieldVector<ctype,·grid1Dim>·_\x8G_\x8r_\x8i_\x8d_\x81_\x8C_\x8o_\x8o_\x8r_\x8d_\x8s; | ||
35 | 32 | ||
36 | _\x83_\x84·typedef·Dune::FieldVector<ctype,·grid2Dim>·_\x8G_\x8r_\x8i_\x8d_\x82_\x8C_\x8o_\x8o_\x8r_\x8d_\x8s; | ||
37 | 35 | ||
38 | _\x83_\x87·typedef·Dune::FieldVector<ctype,·dimworld>·_\x8W_\x8o_\x8r_\x8l_\x8d_\x8C_\x8o_\x8o_\x8r_\x8d_\x8s; | ||
45 | 30·for·(unsigned·int·i·=·0;·i·<·subElementsX.size();·++i)·{·//·iterate·over·all | ||
46 | X·subelements | ||
47 | 31·for·(unsigned·int·ki·=·0;·ki·<·subElementsX[i].size();·++ki)·//·define·the·X | ||
48 | subelement | ||
49 | 32·subElementX[ki]·=·X[subElementsX[i][ki]]; | ||
50 | 33·for·(unsigned·int·j·=·0;·j·<·subElementsY.size();·++j)·{·//·iterate·over·all | ||
51 | Y·subelemetns | ||
52 | 34·for·(unsigned·int·kj·=·0;·kj·<·subElementsY[j].size();·++kj)·//·define·the·Y | ||
53 | subleement | ||
54 | 35·subElementY[kj]·=·Y[subElementsY[j][kj]]; | ||
55 | 36 | ||
56 | 37·sP.clear(); | ||
57 | 38 | 39 | 38 |
58 | 39·//·compute·the·intersection | ||
59 | 40·bool·b·=·CM::computeIntersectionPoints(subElementX,subElementY,sSX,sSY,sP); | ||
60 | 41·intersectionFound·=·intersectionFound·||·b; | ||
61 | 42 | ||
62 | 43·//·only·insert·points·on·outer·faces | ||
63 | 44·for·(unsigned·int·ki·=·0;·ki·<·sSX.size();·++ki)·{·//·iterate·over·all·faces | ||
64 | 45·if·(faceIdsX[i][ki]·>=·0)·{ | ||
65 | 46·for·(unsigned·int·kii·=·0;·kii·<·sSX[ki].size();·++kii)·{ | ||
66 | 47·int·k·=·_\x8i_\x8n_\x8s_\x8e_\x8r_\x8t_\x8P_\x8o_\x8i_\x8n_\x8t(sP[sSX[ki][kii]],P);·//·determine·index·in·P | ||
67 | 48·SX[faceIdsX[i][ki]].push_back(k); | ||
68 | 49·} | ||
69 | 50·} | ||
70 | 51·} | ||
71 | 52·for·(unsigned·int·kj·=·0;·kj·<·sSY.size();·++kj)·{·//·iterate·over·all·faces | ||
72 | 53·if·(faceIdsY[j][kj]·>=·0)·{ | ||
73 | 54·for·(unsigned·int·kjj·=·0;·kjj·<·sSY[kj].size();·++kjj)·{ | ||
74 | 55·int·k·=·_\x8i_\x8n_\x8s_\x8e_\x8r_\x8t_\x8P_\x8o_\x8i_\x8n_\x8t(sP[sSY[kj][kjj]],P);·//·determine·index·in·P | ||
75 | 56·SY[faceIdsY[j][kj]].push_back(k); | ||
76 | 40 | _.3_.9·using·_.I_.n_.t_.e_.r_.s_.e_.c_.t_.i_.o_.n_.L_.i_.s_.t·=·_.D_.u_.n_.e_.:_.:_.G_.r_.i_.d_.G_.l_.u_.e_.:_.:_.I_.n_.t_.e_.r_.s_.e_.c_.t_.i_.o_.n_.L_.i_.s_.t_.<_.G_.r_.i_.d_.1_.C_.o_.o_.r_.d_.s_., | |
41 | _\x8G_\x8r_\x8i_\x8d_\x82_\x8C_\x8o_\x8o_\x8r_\x8d_\x8s_\x8>; | ||
42 | 40 | ||
43 | _\x85_\x84·virtual·void·_\x8b_\x8u_\x8i_\x8l_\x8d(const·std::vector<Dune::FieldVector<ctype,dimworld>·>& | ||
44 | grid1_coords, | ||
45 | 55·const·std::vector<unsigned·int>&·grid1_elements, | ||
46 | 56·const·std::vector<Dune::GeometryType>&·grid1_element_types, | ||
47 | 57·const·std::vector<Dune::FieldVector<ctype,dimworld>·>&·grid2_coords, | ||
48 | 58·const·std::vector<unsigned·int>&·grid2_elements, | ||
49 | 59·const·std::vector<Dune::GeometryType>&·grid2_element_types)·=·0; | ||
50 | 60 | ||
51 | _\x86_\x84·unsigned·int·_\x8n_\x8S_\x8i_\x8m_\x8p_\x8l_\x8i_\x8c_\x8e_\x8s()·const | ||
52 | 65·{·return·_\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8L_\x8i_\x8s_\x8t()->size();·} | ||
53 | 66 | ||
54 | _\x86_\x87·virtual·void·_\x8c_\x8l_\x8e_\x8a_\x8r()·=·0; | ||
55 | 68 | ||
56 | _\x87_\x84·virtual·std::shared_ptr<IntersectionList>·_\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8L_\x8i_\x8s_\x8t()·const·=·0; | ||
57 | 75 | ||
58 | 79·template<int·n> | ||
59 | _\x88_\x80·unsigned·int·_\x8p_\x8a_\x8r_\x8e_\x8n_\x8t_\x8s(unsigned·int·idx)·const·{ | ||
60 | 81·return·_\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8L_\x8i_\x8s_\x8t()->template·parents<n>(idx); | ||
77 | 61 | 82·} | |
62 | 83 | ||
63 | 90·template<int·n> | ||
64 | _\x89_\x81·unsigned·int·_\x8p_\x8a_\x8r_\x8e_\x8n_\x8t(unsigned·int·idx,·unsigned·int·parId·=·0)·const | ||
65 | 92·{ | ||
66 | 93·return·_\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8L_\x8i_\x8s_\x8t()->template·parent<n>(idx,·parId); | ||
78 | 59·} | ||
79 | 60·} | ||
80 | 61·} | ||
81 | 62 | ||
82 | 63·return·intersectionFound; | ||
83 | 64} | ||
Max diff block lines reached; 11595/17875 bytes (64.87%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-grid-glue:·intersection | 8 | <title>dune-grid-glue:·computeintersection.cc·File·Reference</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 70, 38 lines modified | Offset 70, 21 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>··</div> | 77 | <a·href="#namespaces">Namespaces</a>··</div> |
79 | ··<div·class="headertitle"><div·class="title">intersection | 78 | ··<div·class="headertitle"><div·class="title">computeintersection.cc·File·Reference</div></div> |
80 | </div><!--header--> | 79 | </div><!--header--> |
81 | <div·class="contents"> | 80 | <div·class="contents"> |
82 | <div·class="textblock"><code>#include·<array></code><br·/> | ||
83 | <code>#include·<type_traits></code><br·/> | ||
84 | <code>#include·<utility></code><br·/> | ||
85 | <code>#include·<vector></code><br·/> | ||
86 | <code>#include·<dune/common/fvector.hh></code><br·/> | ||
87 | </div> | ||
88 | <p><a·href="a00074_source.html">Go·to·the·source·code·of·this·file.</a></p> | 81 | <p><a·href="a00074_source.html">Go·to·the·source·code·of·this·file.</a></p> |
89 | <table·class="memberdecls"> | 82 | <table·class="memberdecls"> |
90 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | ||
91 | Classes</h2></td></tr> | ||
92 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01082.html">Dune::GridGlue::IntersectionListProvider<·L0,·L1·></a></td></tr> | ||
93 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
94 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01098.html">Dune::GridGlue::IntersectionList<·Local0,·Local1·></a></td></tr> | ||
95 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
96 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01102.html">Dune::GridGlue::SimplicialIntersectionListProvider<·dim0,·dim1·></a></td></tr> | ||
97 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
98 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01106.html">Dune::GridGlue::SimplicialIntersectionListProvider<·dim0,·dim1·>::SimplicialIntersection</a></td></tr> | ||
99 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
100 | </table><table·class="memberdecls"> | ||
101 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 83 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
102 | Namespaces</h2></td></tr> | 84 | 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> | 85 | <tr·class="memitem:a00103"·id="r_a00103"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00103.html">Dune</a></td></tr> |
104 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 86 | <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> | 87 | <tr·class="memitem:a00104"·id="r_a00104"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00104.html">Dune::GridGlue</a></td></tr> |
106 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 88 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
107 | </table> | 89 | </table> |
Offset 1, 32 lines modified | Offset 1, 17 lines modified | ||
1 | dune-grid-glue 2.10 | 1 | dune-grid-glue 2.10 |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | ····*·_\x8d_\x8u_\x8n_\x8e | 5 | ····*·_\x8d_\x8u_\x8n_\x8e |
6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e | 6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e |
7 | ····*·_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g | 7 | ····*·_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g |
8 | _\x8 | 8 | _\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s |
9 | intersection | 9 | computeintersection.cc·File·Reference |
10 | #include·<array> | ||
11 | #include·<type_traits> | ||
12 | #include·<utility> | ||
13 | #include·<vector> | ||
14 | #include·<dune/common/fvector.hh> | ||
15 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 10 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
16 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s | ||
17 | ·class· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8L_\x8i_\x8s_\x8t_\x8P_\x8r_\x8o_\x8v_\x8i_\x8d_\x8e_\x8r_\x8<_\x8·_\x8L_\x80_\x8,_\x8·_\x8L_\x81_\x8·_\x8> | ||
18 | |||
19 | ·class· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8L_\x8i_\x8s_\x8t_\x8<_\x8·_\x8L_\x8o_\x8c_\x8a_\x8l_\x80_\x8,_\x8·_\x8L_\x8o_\x8c_\x8a_\x8l_\x81_\x8·_\x8> | ||
20 | |||
21 | ·class· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8S_\x8i_\x8m_\x8p_\x8l_\x8i_\x8c_\x8i_\x8a_\x8l_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8L_\x8i_\x8s_\x8t_\x8P_\x8r_\x8o_\x8v_\x8i_\x8d_\x8e_\x8r_\x8<_\x8·_\x8d_\x8i_\x8m_\x80_\x8,_\x8·_\x8d_\x8i_\x8m_\x81_\x8·_\x8> | ||
22 | |||
23 | struct· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8S_\x8i_\x8m_\x8p_\x8l_\x8i_\x8c_\x8i_\x8a_\x8l_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8L_\x8i_\x8s_\x8t_\x8P_\x8r_\x8o_\x8v_\x8i_\x8d_\x8e_\x8r_\x8<_\x8·_\x8d_\x8i_\x8m_\x80_\x8,_\x8·_\x8d_\x8i_\x8m_\x81_\x8·_\x8>_\x8:_\x8: | ||
24 | ·········_\x8S_\x8i_\x8m_\x8p_\x8l_\x8i_\x8c_\x8i_\x8a_\x8l_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n | ||
25 | |||
26 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s | 11 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s |
27 | namespace· ·_\x8D_\x8u_\x8n_\x8e | 12 | namespace· ·_\x8D_\x8u_\x8n_\x8e |
28 | 13 | ||
29 | namespace· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e | 14 | namespace· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e |
30 | 15 | ||
31 | =============================================================================== | 16 | =============================================================================== |
32 | ·····Generated·by _\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]·1.9.8 | 17 | ·····Generated·by _\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]·1.9.8 |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-grid-glue:·intersection | 8 | <title>dune-grid-glue:·computeintersection.cc·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 74, 299 lines modified | Offset 74, 356 lines modified | ||
74 | <div·id="nav-path"·class="navpath"> | 74 | <div·id="nav-path"·class="navpath"> |
75 | ··<ul> | 75 | ··<ul> |
76 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_0d8f660a135565b225f6b14e80c278b4.html">merging</a></li>··</ul> | 76 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_0d8f660a135565b225f6b14e80c278b4.html">merging</a></li>··</ul> |
77 | </div> | 77 | </div> |
78 | </div><!--·top·--> | 78 | </div><!--·top·--> |
79 | <div·class="header"> | 79 | <div·class="header"> |
80 | ··<div·class="headertitle"><div·class="title">intersection | 80 | ··<div·class="headertitle"><div·class="title">computeintersection.cc</div></div> |
81 | </div><!--header--> | 81 | </div><!--header--> |
82 | <div·class="contents"> | 82 | <div·class="contents"> |
83 | <a·href="a00074.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//· | 83 | <a·href="a00074.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | ||
85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·©·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div> | ||
84 | <div·class="line"><a·id="l0000 | 86 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with-dune-grid-glue-exception</span></div> |
85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_GRIDGLUE_MERGING_INTERSECTIONLIST_HH</span></div> | ||
86 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_GRIDGLUE_MERGING_INTERSECTIONLIST_HH·1</span></div> | ||
87 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> | 87 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> |
88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class=" | 88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00103.html">Dune</a>·{</div> |
89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class=" | 89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="keyword">namespace·</span>GridGlue·{</div> |
90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·<utility></span></div> | ||
91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·<vector></span></div> | ||
92 | <div·class="line"><a·id="l000 | 90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span>·</div> |
91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">//****************************************************************************************</span></div> | ||
93 | <div·class="line"><a·id="l0001 | 92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="comment">//·PUBLIC</span></div> |
93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="comment">//****************************************************************************************</span></div> | ||
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">namespace·</span><a·class="code·hl_namespace"·href="a00103.html">Dune</a>·{</div> | ||
96 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="keyword">namespace·</span>GridGlue·{</div> | ||
97 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> | ||
98 | <div·class="line"><a·id="l000 | 95 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="keyword">template</span><<span·class="keyword">class</span>·CM></div> |
99 | <div·class="foldopen"·id="foldopen000 | 96 | <div·class="foldopen"·id="foldopen00014"·data-start="{"·data-end="}"> |
100 | <div·class="line"><a·id="l000 | 97 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno"><a·class="line"·href="a01070.html#af0e7174467aa9c3bbda479bdfdcabf48">···14</a></span><span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01070.html#af0e7174467aa9c3bbda479bdfdcabf48">Intersect[·...·truncated·by·diffoscope;·len:·113,·SHA:·3f96ab547a7b6f4a0b5a6e2d1e4a246e4949245463c691b653512278659b7022·...·]</div> |
98 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>······················································<span·class="keyword">const</span>·std::vector<V>&·Y,</div> | ||
99 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>······················································std::vector<std::vector<int>·>&·SX,</div> | ||
100 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>······················································std::vector<std::vector<int>·>&·SY,</div> | ||
101 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>······················································std::vector<V>&·P)·{</div> | ||
101 | <div·class="line"><a·id="l000 | 102 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> |
102 | <div·class="line"><a·id="l0002 | 103 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>····std::vector<std::vector<unsigned·int>·>·subElementsX,·subElementsY;</div> |
104 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>····std::vector<std::vector<int>·>·faceIdsX,·faceIdsY;</div> | ||
105 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>····std::vector<V>·subElementX(CM::grid1Dimension+1),·subElementY(CM::grid2Dimension+1),·sP;</div> | ||
106 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>····std::vector<std::vector<int>·>·sSX,·sSY;</div> | ||
103 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> | 107 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> |
104 | <div·class="line"><a·id="l0002 | 108 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>····CM::grid1_subdivisions(X,subElementsX,faceIdsX);</div> |
109 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>····CM::grid2_subdivisions(Y,subElementsY,faceIdsY);</div> | ||
110 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> | ||
111 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>····<span·class="keywordtype">bool</span>·intersectionFound·=·<span·class="keyword">false</span>;</div> | ||
105 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div> | 112 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div> |
106 | <div·class="line"><a·id="l0003 | 113 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>····<span·class="keywordflow">for</span>·(<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·i·=·0;·i·<·subElementsX.size();·++i)·{·<span·class="comment">//·iterate·over·a[·...·truncated·by·diffoscope;·len:·23,·SHA:·5edf99495d4fd92b7963b459aa0ed1499f6fe254d3f8c0665f0e36ae63781b3e·...·]</div> |
114 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>········<span·class="keywordflow">for</span>·(<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·ki·=·0;·ki·<·subElementsX[i].size();·++ki)·<span·class="comment">//·define·the·X·subelement</span></div> | ||
115 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>············subElementX[ki]·=·X[subElementsX[i][ki]];</div> | ||
116 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>········<span·class="keywordflow">for</span>·(<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·j·=·0;·j·<·subElementsY.size();·++j)·{·<span·class="comment">//·iterate·over·all·Y·subelemetns</span></div> | ||
117 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>············<span·class="keywordflow">for</span>·(<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·kj·=·0;·kj·<·subElementsY[j].size();·++kj)·<span·class="comment">//·define·the·Y·subleement</span></div> | ||
118 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>················subElementY[kj]·=·Y[subElementsY[j][kj]];</div> | ||
107 | <div·class="line"><a·id="l0003 | 119 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div> |
108 | <div·class="line"><a·id="l0003 | 120 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>············sP.clear();</div> |
109 | <div·class="line"><a·id="l0003 | 121 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div> |
110 | <div·class="line"><a·id="l000 | 122 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>············<span·class="comment">//·compute·the·intersection</span></div> |
123 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>············<span·class="keywordtype">bool</span>·b·=·CM::computeIntersectionPoints(subElementX,subElementY,sSX,sSY,sP);</div> | ||
124 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>············intersectionFound·=·intersectionFound·||·b;</div> | ||
111 | <div·class="line"><a·id="l0004 | 125 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div> |
112 | <div·class="line"><a·id="l000 | 126 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>············<span·class="comment">//·only·insert·points·on·outer·faces</span></div> |
127 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>············<span·class="keywordflow">for</span>·(<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·ki·=·0;·ki·<·sSX.size();·++ki)·{·<span·class="comment">//·iterate·over·all·faces</span></div> | ||
128 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>················<span·class="keywordflow">if</span>·(faceIdsX[i][ki]·>=·0)·{</div> | ||
129 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>····················<span·class="keywordflow">for</span>·(<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·kii·=·0;·kii·<·sSX[ki].size();·++kii)·{</div> | ||
130 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>························<span·class="keywordtype">int</span>·k·=·<a·class="code·hl_function"·href="a00104.html#a273266aab32afadee15bb5fcf71aa4ca">insertPoint</a>(sP[sSX[ki][kii]],P);··<span·class="comment">//·determine·index·in·P</span></div> | ||
131 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>························SX[faceIdsX[i][ki]].push_back(k);</div> | ||
132 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>····················}</div> | ||
133 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>················}</div> | ||
134 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>············}</div> | ||
135 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>············<span·class="keywordflow">for</span>·(<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·kj·=·0;·kj·<·sSY.size();·++kj)·{·<span·class="comment">//·iterate·over·all·faces</span></div> | ||
136 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>················<span·class="keywordflow">if</span>·(faceIdsY[j][kj]·>=·0)·{</div> | ||
137 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>····················<span·class="keywordflow">for</span>·(<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·kjj·=·0;·kjj·<·sSY[kj].size();·++kjj)·{</div> | ||
138 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>························<span·class="keywordtype">int</span>·k·=·<a·class="code·hl_function"·href="a00104.html#a273266aab32afadee15bb5fcf71aa4ca">insertPoint</a>(sP[sSY[kj][kjj]],P);··<span·class="comment">//·determine·index·in·P</span></div> | ||
139 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>························SY[faceIdsY[j][kj]].push_back(k);</div> | ||
140 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>····················}</div> | ||
141 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>················}</div> | ||
142 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>············}</div> | ||
143 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>········}</div> | ||
113 | <div·class="line"><a·id="l000 | 144 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>····}</div> |
114 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno"><a·class="line"·href="a01082.html#ac9059343f76c2c1998ddfd106d12a034">···57</a></span>··<span·class="keyword">virtual</span>·std::size_t·<a·class="code·hl_function"·href="a01082.html#ac9059343f76c2c1998ddfd106d12a034">parents1</a>(<a·class="code·hl_typedef"·href="a01082.html#a3ce827219b1282269bc512257c0e615b">Index</a>·intersection)·<span·class="keyword">const</span>·=·0;</div> | ||
115 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·</div> | ||
116 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno"><a·class="line"·href="a01082.html#af70b12e87e2ed03519971bef30094919">···65</a></span>··<span·class="keyword">virtual</span>·<a·class="code·hl_typedef"·href="a01082.html#a3ce827219b1282269bc512257c0e615b">Index</a>·<a·class="code·hl_function"·href="a01082.html#af70b12e87e2ed03519971bef30094919">parent0</a>(<a·class="code·hl_typedef"·href="a01082.html#a3ce827219b1282269bc512257c0e615b">Index</a>·intersection,·<span·class="keywordtype">unsigned</span>·index)·<span·class="keyword">const</span>·=·0;</div> | ||
117 | <div·class="line"><a·id="l0006 | 145 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div> |
118 | <div·class="line"><a·id="l000 | 146 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>····<span·class="keywordflow">return</span>·intersectionFound;</div> |
119 | <div·class="line"><a·id="l000 | 147 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>}</div> |
120 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno"><a·class="line"·href="a01082.html#aab4a04bddd1ce55467d0fa21c18c704b">···82</a></span>··<span·class="keyword">virtual</span>·<a·class="code·hl_typedef"·href="a01082.html#a95156e19bb18a3c3e358028a5d146a26">Local0</a>·<a·class="code·hl_function"·href="a01082.html#aab4a04bddd1ce55467d0fa21c18c704b">corner0</a>(<a·class="code·hl_typedef"·href="a01082.html#a3ce827219b1282269bc512257c0e615b">Index</a>·intersection,·<span·class="keywordtype">unsigned</span>·corner,·<span·class="keywordtype">unsigned</span>·index)·<span·class="keyword">const</span>·=·0;</div> | ||
121 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>·</div> | ||
122 | <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno"><a·class="line"·href="a01082.html#a2afb8b50efab3de075698fc0b5552b67">···91</a></span>··<span·class="keyword">virtual</span>·<a·class="code·hl_typedef"·href="a01082.html#ab6e4c4fe58ecd05d989ffdd25f059e13">Local1</a>·<a·class="code·hl_function"·href="a01082.html#a2afb8b50efab3de075698fc0b5552b67">corner1</a>(<a·class="code·hl_typedef"·href="a01082.html#a3ce827219b1282269bc512257c0e615b">Index</a>·intersection,·<span·class="keywordtype">unsigned</span>·corner,·<span·class="keywordtype">unsigned</span>·index)·<span·class="keyword">const</span>·=·0;</div> | ||
123 | <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>};</div> | ||
124 | </div> | 148 | </div> |
125 | <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>·</div> | ||
126 | <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span><span·class="keyword">namespace·</span>Impl·{</div> | ||
127 | <div·class="line"><a·id="l000 | 149 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>·</div> |
150 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span><span·class="comment">//****************************************************************************************</span></div> | ||
151 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span><span·class="comment">//·PRIVATE</span></div> | ||
152 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span><span·class="comment">//****************************************************************************************</span></div> | ||
153 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div> | ||
128 | <div·class="line"><a·id="l000 | 154 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span><span·class="keyword">template</span><<span·class="keyword">class</span>·CM></div> |
129 | <div·class="line"><a·id="l000 | 155 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span><span·class="keywordtype">void</span>·<a·class="code·hl_class"·href="a01070.html">IntersectionComputation<CM>::orderPoints_</a>(std::integral_constant<int,3>,</div> |
156 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>···············································std::integral_constant<int,3>,</div> | ||
157 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>···············································<span·class="keyword">const</span>·V&·centroid,</div> | ||
158 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>···············································<span·class="keyword">const</span>·std::vector<std::vector<int>·>&·SX,</div> | ||
159 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>···············································<span·class="keyword">const</span>·std::vector<std::vector<int>·>&·SY,</div> | ||
160 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>···············································<span·class="keyword">const</span>·std::vector<V>&··P,</div> | ||
161 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>···············································std::vector<std::vector<int>·>&·H)</div> | ||
130 | <div·class="line"><a·id="l000 | 162 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>{</div> |
163 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>····<span·class="keywordtype">int</span>·n_facesX·=·SX.size();</div> | ||
164 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>····<span·class="keywordtype">int</span>·n_facesY·=·SY.size();</div> | ||
165 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>····<span·class="keywordtype">int</span>·m;</div> | ||
166 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>·</div> | ||
167 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>····std::vector<int>·no,id,temp·;</div> | ||
Max diff block lines reached; 59300/110015 bytes (53.90%) of diff not shown. |
Offset 1, 357 lines modified | Offset 1, 382 lines modified | ||
1 | dune-grid-glue 2.10 | 1 | dune-grid-glue 2.10 |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | ····*·_\x8d_\x8u_\x8n_\x8e | 5 | ····*·_\x8d_\x8u_\x8n_\x8e |
6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e | 6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e |
7 | ····*·_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g | 7 | ····*·_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g |
8 | intersection | 8 | computeintersection.cc |
9 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 9 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | ||
11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: | ||
10 | 12 | 3//·SPDX-FileCopyrightInfo:·Copyright·Â©·DUNE·Project·contributors,·see·file | |
11 | LICENSE.md·in·module·root | 13 | LICENSE.md·in·module·root |
12 | 14 | 4//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with- | |
13 | dune-grid-glue-exception | 15 | dune-grid-glue-exception |
14 | 3#ifndef·DUNE_GRIDGLUE_MERGING_INTERSECTIONLIST_HH | ||
15 | 4#define·DUNE_GRIDGLUE_MERGING_INTERSECTIONLIST_HH·1 | ||
16 | 5 | 16 | 5 |
17 | 6#include·<array> | ||
18 | 7#include·<type_traits> | ||
19 | 8#include·<utility> | ||
20 | 9#include·<vector> | ||
21 | 10 | ||
22 | 17 | 6namespace·_.D_.u_.n_.e·{ | |
18 | 7namespace·GridGlue·{ | ||
19 | 8 | ||
20 | 9// | ||
21 | **************************************************************************************** | ||
22 | 10//·PUBLIC | ||
23 | 11// | ||
24 | **************************************************************************************** | ||
23 | 12 | 25 | 12 |
24 | 13namespace·_\x8D_\x8u_\x8n_\x8e·{ | ||
25 | 14namespace·GridGlue·{ | ||
26 | 15 | ||
27 | 20template<typename·L0,·typename·L1> | ||
28 | _\x82_\x81class·_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8L_\x8i_\x8s_\x8t_\x8P_\x8r_\x8o_\x8v_\x8i_\x8d_\x8e_\x8r | ||
29 | 22{ | ||
30 | 26 | 13template<class·CM> | |
27 | _\x81_\x84bool·_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8C_\x8o_\x8m_\x8p_\x8u_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8<_\x8C_\x8M_\x8>_\x8:_\x8:_\x8c_\x8o_\x8m_\x8p_\x8u_\x8t_\x8e_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n(const·std::vector<V>& | ||
28 | X, | ||
29 | 15·const·std::vector<V>&·Y, | ||
30 | 16·std::vector<std::vector<int>·>&·SX, | ||
31 | 17·std::vector<std::vector<int>·>&·SY, | ||
32 | 18·std::vector<V>&·P)·{ | ||
33 | 19 | ||
34 | 20·std::vector<std::vector<unsigned·int>·>·subElementsX,·subElementsY; | ||
35 | 21·std::vector<std::vector<int>·>·faceIdsX,·faceIdsY; | ||
36 | 22·std::vector<V>·subElementX(CM::grid1Dimension+1),·subElementY(CM:: | ||
37 | grid2Dimension+1),·sP; | ||
38 | 23·std::vector<std::vector<int>·>·sSX,·sSY; | ||
31 | 24 | 39 | 24 |
32 | _ | 40 | 25·CM::grid1_subdivisions(X,subElementsX,faceIdsX); |
41 | 26·CM::grid2_subdivisions(Y,subElementsY,faceIdsY); | ||
42 | 27 | ||
43 | 28·bool·intersectionFound·=·false; | ||
33 | 29 | 44 | 29 |
45 | 30·for·(unsigned·int·i·=·0;·i·<·subElementsX.size();·++i)·{·//·iterate·over·all | ||
46 | X·subelements | ||
47 | 31·for·(unsigned·int·ki·=·0;·ki·<·subElementsX[i].size();·++ki)·//·define·the·X | ||
48 | subelement | ||
49 | 32·subElementX[ki]·=·X[subElementsX[i][ki]]; | ||
50 | 33·for·(unsigned·int·j·=·0;·j·<·subElementsY.size();·++j)·{·//·iterate·over·all | ||
51 | Y·subelemetns | ||
52 | 34·for·(unsigned·int·kj·=·0;·kj·<·subElementsY[j].size();·++kj)·//·define·the·Y | ||
53 | subleement | ||
54 | 35·subElementY[kj]·=·Y[subElementsY[j][kj]]; | ||
55 | 36 | ||
56 | 37·sP.clear(); | ||
34 | _\x83_\x83·using·_\x8L_\x8o_\x8c_\x8a_\x8l_\x81·=·L1; | ||
35 | 34 | ||
36 | _\x83_\x88·using·_\x8I_\x8n_\x8d_\x8e_\x8x·=·unsigned·int; | ||
37 | 39 | ||
38 | _\x84_\x83·virtual·std::size_t·_\x8s_\x8i_\x8z_\x8e()·const·=·0; | ||
39 | 44 | ||
40 | _\x85_\x80·virtual·std::size_t·_\x8p_\x8a_\x8r_\x8e_\x8n_\x8t_\x8s_\x80(_\x8I_\x8n_\x8d_\x8e_\x8x·intersection)·const·=·0; | ||
41 | 51 | ||
42 | _\x85_\x87·virtual·std::size_t·_\x8p_\x8a_\x8r_\x8e_\x8n_\x8t_\x8s_\x81(_\x8I_\x8n_\x8d_\x8e_\x8x·intersection)·const·=·0; | ||
43 | 58 | ||
44 | _\x86_\x85·virtual·_\x8I_\x8n_\x8d_\x8e_\x8x·_\x8p_\x8a_\x8r_\x8e_\x8n_\x8t_\x80(_\x8I_\x8n_\x8d_\x8e_\x8x·intersection,·unsigned·index)·const·=·0; | ||
45 | 66 | ||
46 | _\x87_\x83·virtual·_\x8I_\x8n_\x8d_\x8e_\x8x·_\x8p_\x8a_\x8r_\x8e_\x8n_\x8t_\x81(_\x8I_\x8n_\x8d_\x8e_\x8x·intersection,·unsigned·index)·const·=·0; | ||
47 | 74 | ||
48 | _\x88_\x82·virtual·_\x8L_\x8o_\x8c_\x8a_\x8l_\x80·_\x8c_\x8o_\x8r_\x8n_\x8e_\x8r_\x80(_\x8I_\x8n_\x8d_\x8e_\x8x·intersection,·unsigned·corner,·unsigned·index) | ||
49 | const·=·0; | ||
50 | 83 | ||
51 | _\x89_\x81·virtual·_\x8L_\x8o_\x8c_\x8a_\x8l_\x81·_\x8c_\x8o_\x8r_\x8n_\x8e_\x8r_\x81(_\x8I_\x8n_\x8d_\x8e_\x8x·intersection,·unsigned·corner,·unsigned·index) | ||
52 | const·=·0; | ||
53 | 92}; | ||
54 | 93 | ||
55 | 94namespace·Impl·{ | ||
56 | 95 | ||
57 | 96template<typename·P,·int·I> | ||
58 | 97struct·IntersectionListLocal | ||
59 | 98{}; | ||
60 | 99 | ||
61 | 100template<typename·P> | ||
62 | 101struct·IntersectionListLocal<P,·0> | ||
63 | 102{ | ||
64 | 103·static·std::size_t·parents(const·P&·p,·typename·P::Index·intersection) | ||
65 | 104·{·return·p.parents0(intersection);·} | ||
66 | 105 | ||
67 | 106·static·typename·P::Index·parent(const·P&·p,·typename·P::Index·intersection, | ||
68 | unsigned·index) | ||
69 | 107·{·return·p.parent0(intersection,·index);·} | ||
70 | 108 | ||
71 | 109·static·typename·P::Local0·_\x8c_\x8o_\x8r_\x8n_\x8e_\x8r(const·P&·p,·typename·P::Index | ||
72 | intersection,·unsigned·corner,·unsigned·index) | ||
73 | 110·{·return·p.corner0(intersection,·corner,·index);·} | ||
74 | 111}; | ||
75 | 112 | ||
76 | 113template<typename·P> | ||
77 | 114struct·IntersectionListLocal<P,·1> | ||
78 | 115{ | ||
79 | 116·static·std::size_t·parents(const·P&·p,·typename·P::Index·intersection) | ||
80 | 117·{·return·p.parents1(intersection);·} | ||
81 | 118 | ||
82 | 119·static·typename·P::Index·parent(const·P&·p,·typename·P::Index·intersection, | ||
83 | unsigned·index) | ||
84 | 120·{·return·p.parent1(intersection,·index);·} | ||
85 | 121 | ||
86 | 122·static·typename·P::Local1·_\x8c_\x8o_\x8r_\x8n_\x8e_\x8r(const·P&·p,·typename·P::Index | ||
87 | intersection,·unsigned·corner,·unsigned·index) | ||
88 | 123·{·return·p.corner1(intersection,·corner,·index);·} | ||
89 | 124}; | ||
90 | 125 | ||
91 | 126}·/*·namespace·Impl·*/ | ||
Max diff block lines reached; 21239/31829 bytes (66.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:·mer | 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, 37 lines modified | Offset 71, 46 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">mer | 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 | <div·class="textblock"><code>#include·<vector></code><br·/> | 83 | <div·class="textblock"><code>#include·<dune/common/fvector.hh></code><br·/> |
83 | <code>#include·<dune/common/f | 84 | <code>#include·<dune/common/fmatrix.hh></code><br·/> |
84 | <code>#include·& | 85 | <code>#include·"<a·class="el"·href="a00080_source.html">simplexintersection.cc</a>"</code><br·/> |
85 | <code>#include·& | 86 | <code>#include·"<a·class="el"·href="a00074_source.html">computeintersection.cc</a>"</code><br·/> |
86 | </div> | 87 | </div> |
87 | <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> |
88 | <table·class="memberdecls"> | 89 | <table·class="memberdecls"> |
89 | <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> |
90 | Classes</h2></td></tr> | 91 | Classes</h2></td></tr> |
91 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01 | 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> |
92 | <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> | ||
93 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 96 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
94 | </table><table·class="memberdecls"> | 97 | </table><table·class="memberdecls"> |
95 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 98 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
96 | Namespaces</h2></td></tr> | 99 | Namespaces</h2></td></tr> |
97 | <tr·class="memitem: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> |
98 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 101 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
99 | <tr·class="memitem: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> |
100 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 103 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
104 | </table><table·class="memberdecls"> | ||
105 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> | ||
106 | Functions</h2></td></tr> | ||
107 | <tr·class="memitem: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> | ||
101 | </table> | 110 | </table> |
102 | </div><!--·contents·--> | 111 | </div><!--·contents·--> |
103 | <!--·start·footer·part·--> | 112 | <!--·start·footer·part·--> |
104 | <hr·class="footer"/><address·class="footer"><small> | 113 | <hr·class="footer"/><address·class="footer"><small> |
105 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 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 |
106 | </small></address> | 115 | </small></address> |
107 | </body> | 116 | </body> |
Offset 1, 26 lines modified | Offset 1, 32 lines modified | ||
1 | dune-grid-glue 2.10 | 1 | dune-grid-glue 2.10 |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | ····*·_\x8d_\x8u_\x8n_\x8e | 5 | ····*·_\x8d_\x8u_\x8n_\x8e |
6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e | 6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e |
7 | ····*·_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g | 7 | ····*·_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g |
8 | _\x8C_\x8l_\x8a_\x8s_\x8s_\x8e_\x8s·|·_\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s | 8 | _\x8C_\x8l_\x8a_\x8s_\x8s_\x8e_\x8s·|·_\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s·|·_.F_.u_.n_.c_.t_.i_.o_.n_.s |
9 | computeintersection.hh·File·Reference | ||
9 | merger.hh·File·Reference | ||
10 | #include·<vector> | ||
11 | #include·<dune/common/fvector.hh> | 10 | #include·<dune/common/fvector.hh> |
12 | #include·<dune/geometry/type.hh> | ||
13 | #include·< | 11 | #include·<dune/common/fmatrix.hh> |
12 | #include·"_\x8s_\x8i_\x8m_\x8p_\x8l_\x8e_\x8x_\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8._\x8c_\x8c" | ||
13 | #include·"_\x8c_\x8o_\x8m_\x8p_\x8u_\x8t_\x8e_\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8._\x8c_\x8c" | ||
14 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 14 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
15 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s | 15 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s |
16 | class· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8M_\x8e_\x8r_\x8g_\x8e_\x8r_\x8<_\x8·_\x8c_\x8t_\x8y_\x8p_\x8e_\x8,_\x8·_\x8g_\x8r_\x8i_\x8d_\x81_\x8D_\x8i_\x8m_\x8,_\x8·_\x8g_\x8r_\x8i_\x8d_\x82_\x8D_\x8i_\x8m_\x8,_\x8·_\x8d_\x8i_\x8m_\x8w_\x8o_\x8r_\x8l_\x8d_\x8·_\x8> | ||
17 | · | 16 | class· ·_.D_.u_.n_.e_.:_.:_.G_.r_.i_.d_.G_.l_.u_.e_.:_.:_.C_.o_.m_.p_.u_.t_.a_.t_.i_.o_.n_.M_.e_.t_.h_.o_.d_.<_.·_.d_.i_.m_.W_.o_.r_.l_.d_.,_.·_.d_.i_.m_.1_.,_.·_.d_.i_.m_.2_.,_.·_.T_.·_.> |
17 | |||
18 | class· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8C_\x8o_\x8m_\x8p_\x8u_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8<_\x8·_\x8C_\x8M_\x8·_\x8> | ||
19 | ·······_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n·computation·method·for·two·elements·of·arbitrary | ||
18 | ········ | 20 | ········dimension.·_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. |
19 | 21 | ||
20 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s | 22 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s |
21 | namespace· ·_\x8D_\x8u_\x8n_\x8e | 23 | namespace· ·_\x8D_\x8u_\x8n_\x8e |
22 | 24 | ||
23 | namespace· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e | 25 | namespace· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e |
24 | 26 | ||
27 | F\x8Fu\x8un\x8nc\x8ct\x8ti\x8io\x8on\x8ns\x8s | ||
28 | template<class·V·> | ||
29 | int ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8i_\x8n_\x8s_\x8e_\x8r_\x8t_\x8P_\x8o_\x8i_\x8n_\x8t·(const·V·p,·std::vector<·V·>·&P) | ||
30 | |||
25 | =============================================================================== | 31 | =============================================================================== |
26 | ·····Generated·by _\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]·1.9.8 | 32 | ·····Generated·by _\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]·1.9.8 |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-grid-glue:·mer | 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, 110 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">mer | 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="l0000 | 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_GRIDGLUE_MERGING_COMPUTEINTERSECTION_HH</span></div> |
88 | <div·class="line"><a·id="l0000 | 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> |
89 | <div·class="line"><a·id="l0000 | 87 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</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>·</div> | ||
92 | <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> |
93 | <div·class="line"><a·id="l000 | 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> |
94 | <div·class="line"><a·id="l000 | 90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span>·</div> |
95 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·<<a·class="code"·href="a00074.html">dune/grid-glue/merging/intersectionlist.hh</a>></span></div> | ||
96 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div> | ||
97 | <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> |
98 | <div·class="line"><a·id="l0001 | 92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="keyword">namespace·</span>GridGlue·{</div> |
99 | <div·class="line"><a·id="l0001 | 93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div> |
100 | <div·class="line"><a·id="l000 | 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">typen[·...·truncated·by·diffoscope;·len:·54,·SHA:·51a34d3d58d2fdae4ff54a94002f3fc8d5cecda65de3ba1ab916563df1f4347a·...·]></div> |
101 | <div·class="foldopen"·id="foldopen000 | 95 | <div·class="foldopen"·id="foldopen00013"·data-start="{"·data-end="};"> |
102 | <div·class="line"><a·id="l000 | 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> |
103 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>{</div> | ||
104 | <div·class="line"><a·id="l000 | 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> | ||
105 | <div·class="line"><a·id="l000 | 102 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> |
106 | <div·class="line"><a·id="l000 | 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#a4cc[·...·truncated·by·diffoscope;·len:·124,·SHA:·2550d1540b7c9645961de4e8c427ae31563271552a107e1d576e9516fe44e198·...·]</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>};</div> | ||
115 | </div> | ||
107 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div> | 116 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div> |
108 | <div·class="line"><a·id="l0003 | 117 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span><span·class="keyword">template</span><<span·class="keyword">class</span>·CM></div> |
118 | <div·class="foldopen"·id="foldopen00039"·data-start="{"·data-end="};"> | ||
119 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno"><a·class="line"·href="a01070.html">···39</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01070.html">IntersectionComputation</a>·{</div> | ||
120 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span><span·class="keyword">private</span>:</div> | ||
121 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>····<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·CM::Vector·V;</div> | ||
122 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>····<span·class="keyword">const</span>·<span·class="keywordtype">int</span>·dimWorld·=·V::dimension;</div> | ||
123 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>····<span·class="keyword">const</span>·<span·class="keywordtype">int</span>·dim1·=·CM::grid1Dimension;</div> | ||
124 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>····<span·class="keyword">const</span>·<span·class="keywordtype">int</span>·dim2·=·CM::grid2Dimension;</div> | ||
109 | <div·class="line"><a·id="l000 | 125 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span><span·class="keyword">public</span>:</div> |
110 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno"><a·class="line"·href="a01110.html#a188d6a829994e6552b894a99dc53a944">···37</a></span>··<span·class="keyword">typedef</span>·Dune::FieldVector<ctype,·dimworld>··<a·class="code·hl_typedef"·href="a01110.html#a188d6a829994e6552b894a99dc53a944">WorldCoords</a>;</div> | ||
111 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div> | ||
112 | <div·class="line"><a·id="l000 | 126 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>····<span·class="keyword">static</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01070.html#af0e7174467aa9c3bbda479bdfdcabf48">computeIntersection</a>(<span·class="keywo[·...·truncated·by·diffoscope;·len:·45,·SHA:·4064fbdef64d628658ae46137433d736df712bf9c51737300f617b8f1c964499·...·]</div> |
127 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>····································<span·class="keyword">const</span>·std::vector<V>&·Y,</div> | ||
128 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>····································std::vector<std::vector<int>·>&·SX,</div> | ||
129 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>····································std::vector<std::vector<int>·>&·SY,</div> | ||
130 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>····································std::vector<V>&·P);</div> | ||
113 | <div·class="line"><a·id="l000 | 131 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>·</div> |
132 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>····<span·class="keyword">template</span><<span·class="keywordtype">int</span>·isDim,·<span·class="keywordtype">int</span>·dW></div> | ||
114 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno"><a·class="line"·href="a01110.html#a9dbdac9901cb375d75c583d9f6746ec6">···54</a></span>··<span·class="keyword">virtual</span>·<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01110.html#a9dbdac9901cb375d75c583d9f6746ec6">build</a>(<span·class="keyword">const</span>·std::vector<Dune::FieldVector<ctype,dimworld>·>&·grid1_coords,</div> | ||
115 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·····················<span·class="keyword">const</span>·std::vector<unsigned·int>&·grid1_elements,</div> | ||
116 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·····················<span·class="keyword">const</span>·std::vector<Dune::GeometryType>&·grid1_element_types,</div> | ||
117 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·····················<span·class="keyword">const</span>·std::vector<Dune::FieldVector<ctype,dimworld>·>&·grid2_coords,</div> | ||
118 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·····················<span·class="keyword">const</span>·std::vector<unsigned·int>&·grid2_elements,</div> | ||
119 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>·····················<span·class="keyword">const</span>·std::vector<Dune::GeometryType>&·grid2_element_types)·=·0;</div> | ||
120 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div> | ||
121 | <div·class="foldopen"·id="foldopen000 | 133 | <div·class="foldopen"·id="foldopen00075"·data-start="{"·data-end="}"> |
122 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno"><a·class="line"·href="a01110.html#ac7427a29f68f03ff10e7c8261929c726">···64</a></span>··<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a01110.html#ac7427a29f68f03ff10e7c8261929c726">nSimplices</a>()<span·class="keyword">·const</span></div> | ||
123 | <div·class="line"><a·id="l000 | 134 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno"><a·class="line"·href="a01070.html#a2553ca6100ff95dad59ca1355a080250">···75</a></span>····<span·class="keyword">static</span>·<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01070.html#a255[·...·truncated·by·diffoscope;·len:·98,·SHA:·d102bbdf1bbe3431b99db3c6f90a1a74a72b3b98e677e619a1c9b859a7f72bf6·...·]</div> |
135 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>····························<span·class="keyword">const</span>·std::vector<std::vector<int>·>&·SX,</div> | ||
136 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>····························<span·class="keyword">const</span>·std::vector<std::vector<int>·>&·SY,</div> | ||
137 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>····························<span·class="keyword">const</span>·std::vector<V>&·P,</div> | ||
138 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>····························std::vector<std::vector<int>·>&·H)</div> | ||
139 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>····{</div> | ||
140 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>········<span·class="keywordflow">if</span>·(isDim·>·1)</div> | ||
141 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>············orderPoints_(std::integral_constant<int,isDim>(),std::integral_constant<int,dW>(),</div> | ||
142 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>····················centroid,·SX,·SY,·P,H);</div> | ||
143 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>····}</div> | ||
124 | </div> | 144 | </div> |
125 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div> | ||
126 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno"><a·class="line"·href="a01110.html#a14bd1727a9cd9229196fcfc3f412e174">···67</a></span>··<span·class="keyword">virtual</span>·<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01110.html#a14bd1727a9cd9229196fcfc3f412e174">clear</a>()·=·0;</div> | ||
127 | <div·class="line"><a·id="l000 | 145 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>·</div> |
128 | <div·class="line"><a·id="l000 | 146 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span><span·class="keyword">private</span>:</div> |
147 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>····<span·class="keyword">static</span>·<span·class="keywordtype">void</span>·orderPoints_(std::integral_constant<int,1>,</div> | ||
148 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>·····························std::integral_constant<int,1>,</div> | ||
149 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>·····························<span·class="keyword">const</span>·V&·centroid,</div> | ||
150 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>·····························<span·class="keyword">const</span>·std::vector<std::vector<int>·>&·SX,</div> | ||
151 | <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>·····························<span·class="keyword">const</span>·std::vector<std::vector<int>·>&·SY,</div> | ||
152 | <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>·····························<span·class="keyword">const</span>·std::vector<V>&·P,</div> | ||
153 | <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>·····························std::vector<std::vector<int>·>&·H)·{}</div> | ||
154 | <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>····<span·class="keyword">static</span>·<span·class="keywordtype">void</span>·orderPoints_(std::integral_constant<int,1>,</div> | ||
155 | <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>·····························std::integral_constant<int,2>,</div> | ||
156 | <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>·····························<span·class="keyword">const</span>·V&·centroid,</div> | ||
157 | <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>·····························<span·class="keyword">const</span>·std::vector<std::vector<int>·>&·SX,</div> | ||
158 | <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>·····························<span·class="keyword">const</span>·std::vector<std::vector<int>·>&·SY,</div> | ||
159 | <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>·····························<span·class="keyword">const</span>·std::vector<V>&·P,</div> | ||
160 | <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>·····························std::vector<std::vector<int>·>&·H)·{}</div> | ||
161 | <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>····<span·class="keyword">static</span>·<span·class="keywordtype">void</span>·orderPoints_(std::integral_constant<int,1>,</div> | ||
162 | <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>·····························std::integral_constant<int,3>,</div> | ||
163 | <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>·····························<span·class="keyword">const</span>·V&·centroid,</div> | ||
Max diff block lines reached; 10342/53874 bytes (19.20%) of diff not shown. |
Offset 1, 139 lines modified | Offset 1, 214 lines modified | ||
1 | dune-grid-glue 2.10 | 1 | dune-grid-glue 2.10 |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | ····*·_\x8d_\x8u_\x8n_\x8e | 5 | ····*·_\x8d_\x8u_\x8n_\x8e |
6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e | 6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e |
7 | ····*·_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g | 7 | ····*·_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g |
8 | mer | 8 | computeintersection.hh |
9 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 9 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | ||
11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: | ||
12 | 10 | 1//·SPDX-FileCopyrightInfo:·Copyright·Â©·DUNE·Project·contributors,·see·file | |
13 | LICENSE.md·in·module·root | 11 | LICENSE.md·in·module·root |
14 | 12 | 2//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with- | |
15 | dune-grid-glue-exception | 13 | dune-grid-glue-exception |
16 | 14 | 3#ifndef·DUNE_GRIDGLUE_MERGING_COMPUTEINTERSECTION_HH | |
17 | 15 | 4#define·DUNE_GRIDGLUE_MERGING_COMPUTEINTERSECTION_HH | |
16 | 5 | ||
18 | 7 | ||
19 | 8#include·<vector> | ||
20 | 9 | ||
21 | 17 | 6#include·<dune/common/fvector.hh> | |
18 | 7#include·<dune/common/fmatrix.hh> | ||
19 | 8 | ||
22 | 11#include·<dune/geometry/type.hh> | ||
23 | 12 | ||
24 | 13#include·<_\x8d_\x8u_\x8n_\x8e_\x8/_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e_\x8/_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g_\x8/_\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8l_\x8i_\x8s_\x8t_\x8._\x8h_\x8h> | ||
25 | 14 | ||
26 | 20 | 9namespace·_\x8D_\x8u_\x8n_\x8e·{ | |
27 | 1 | 21 | 10namespace·GridGlue·{ |
22 | 11 | ||
23 | 12template<int·dimWorld,·int·dim1,·int·dim2,·typename·T·=·double> | ||
24 | _\x81_\x83class·_\x8C_\x8o_\x8m_\x8p_\x8u_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8M_\x8e_\x8t_\x8h_\x8o_\x8d·{ | ||
28 | 17 | ||
29 | 25template·<class·ctype,·int·grid1Dim,·int·grid2Dim,·int·dimworld> | ||
30 | _\x82_\x86class·_\x8M_\x8e_\x8r_\x8g_\x8e_\x8r | ||
31 | 27{ | ||
32 | 25 | 14public: | |
33 | 29 | ||
34 | _\x8 | 26 | _\x81_.5·typedef·FieldVector<T,·dimWorld>·_.V_.e_.c_.t_.o_.r; |
27 | _\x81_\x86·static·const·int·_\x8g_\x8r_\x8i_\x8d_\x81_\x8D_\x8i_\x8m_\x8e_\x8n_\x8s_\x8i_\x8o_\x8n·=·dim1; | ||
28 | _\x81_\x87·static·const·int·_\x8g_\x8r_\x8i_\x8d_\x82_\x8D_\x8i_\x8m_\x8e_\x8n_\x8s_\x8i_\x8o_\x8n·=·dim2; | ||
29 | _\x81_\x88·static·const·int·_\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8D_\x8i_\x8m_\x8e_\x8n_\x8s_\x8i_\x8o_\x8n·=·(dim1·<·dim2)?(dim1):(dim2); | ||
30 | 19 | ||
31 | _\x82_\x80·static·bool·_\x8c_\x8o_\x8m_\x8p_\x8u_\x8t_\x8e_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8P_\x8o_\x8i_\x8n_\x8t_\x8s(const·std::vector<Vector>·X, | ||
32 | 21·const·std::vector<Vector>·Y, | ||
33 | 22·std::vector<std::vector<int>·>&·SX, | ||
34 | 23·std::vector<std::vector<int>·>&·SY, | ||
35 | 24·std::vector<Vector>&·P); | ||
36 | _\x82_\x85·static·void·_\x8g_\x8r_\x8i_\x8d_\x81_\x8__\x8s_\x8u_\x8b_\x8d_\x8i_\x8v_\x8i_\x8s_\x8i_\x8o_\x8n_\x8s(const·std::vector<Vector>·elementCorners, | ||
37 | 26·std::vector<std::vector<unsigned·int>·>&·subElements, | ||
38 | 27·std::vector<std::vector<int>·>&·faceIds); | ||
39 | _\x82_\x88·static·void·_\x8g_\x8r_\x8i_\x8d_\x82_\x8__\x8s_\x8u_\x8b_\x8d_\x8i_\x8v_\x8i_\x8s_\x8i_\x8o_\x8n_\x8s(const·std::vector<Vector>·elementCorners, | ||
40 | 29·std::vector<std::vector<unsigned·int>·>&·subElements, | ||
41 | 30·std::vector<std::vector<int>·>&·faceIds); | ||
42 | 31}; | ||
35 | 32 | 43 | 32 |
36 | _\x83_\x84·typedef·Dune::FieldVector<ctype,·grid2Dim>·_\x8G_\x8r_\x8i_\x8d_\x82_\x8C_\x8o_\x8o_\x8r_\x8d_\x8s; | ||
37 | 35 | ||
38 | _\x83_\x87·typedef·Dune::FieldVector<ctype,·dimworld>·_\x8W_\x8o_\x8r_\x8l_\x8d_\x8C_\x8o_\x8o_\x8r_\x8d_\x8s; | ||
39 | 38 | ||
40 | _\x83_\x89·using·_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8L_\x8i_\x8s_\x8t·=·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8L_\x8i_\x8s_\x8t_\x8<_\x8G_\x8r_\x8i_\x8d_\x81_\x8C_\x8o_\x8o_\x8r_\x8d_\x8s_\x8, | ||
41 | _\x8G_\x8r_\x8i_\x8d_\x82_\x8C_\x8o_\x8o_\x8r_\x8d_\x8s_\x8>; | ||
42 | 40 | ||
43 | _\x85_\x84·virtual·void·_\x8b_\x8u_\x8i_\x8l_\x8d(const·std::vector<Dune::FieldVector<ctype,dimworld>·>& | ||
44 | grid1_coords, | ||
45 | 55·const·std::vector<unsigned·int>&·grid1_elements, | ||
46 | 56·const·std::vector<Dune::GeometryType>&·grid1_element_types, | ||
47 | 57·const·std::vector<Dune::FieldVector<ctype,dimworld>·>&·grid2_coords, | ||
48 | 58·const·std::vector<unsigned·int>&·grid2_elements, | ||
49 | 59·const·std::vector<Dune::GeometryType>&·grid2_element_types)·=·0; | ||
50 | 60 | ||
51 | _\x86_\x84·unsigned·int·_\x8n_\x8S_\x8i_\x8m_\x8p_\x8l_\x8i_\x8c_\x8e_\x8s()·const | ||
52 | 65·{·return·_\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8L_\x8i_\x8s_\x8t()->size();·} | ||
53 | 66 | ||
54 | _\x86_\x87·virtual·void·_\x8c_\x8l_\x8e_\x8a_\x8r()·=·0; | ||
55 | 68 | ||
56 | _\x87_\x84·virtual·std::shared_ptr<IntersectionList>·_\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8L_\x8i_\x8s_\x8t()·const·=·0; | ||
57 | 75 | ||
58 | 79·template<int·n> | ||
59 | _\x88_\x80·unsigned·int·_\x8p_\x8a_\x8r_\x8e_\x8n_\x8t_\x8s(unsigned·int·idx)·const·{ | ||
60 | 44 | 38template<class·CM> | |
45 | _\x83_\x89class·_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8C_\x8o_\x8m_\x8p_\x8u_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n·{ | ||
46 | 40private: | ||
47 | 41·typedef·typename·CM::Vector·V; | ||
48 | 42·const·int·dimWorld·=·V::dimension; | ||
49 | 43·const·int·dim1·=·CM::grid1Dimension; | ||
50 | 44·const·int·dim2·=·CM::grid2Dimension; | ||
51 | 45public: | ||
52 | 59·static·bool·_\x8c_\x8o_\x8m_\x8p_\x8u_\x8t_\x8e_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n(const·std::vector<V>&·X, | ||
53 | 60·const·std::vector<V>&·Y, | ||
54 | 61·std::vector<std::vector<int>·>&·SX, | ||
55 | 62·std::vector<std::vector<int>·>&·SY, | ||
56 | 63·std::vector<V>&·P); | ||
57 | 64 | ||
58 | 74·template<int·isDim,·int·dW> | ||
59 | _\x87_\x85·static·void·_\x8o_\x8r_\x8d_\x8e_\x8r_\x8P_\x8o_\x8i_\x8n_\x8t_\x8s(const·V&·centroid, | ||
60 | 76·const·std::vector<std::vector<int>·>&·SX, | ||
61 | 77·const·std::vector<std::vector<int>·>&·SY, | ||
62 | 78·const·std::vector<V>&·P, | ||
63 | 79·std::vector<std::vector<int>·>&·H) | ||
64 | 80·{ | ||
65 | 81·if·(isDim·>·1) | ||
66 | 82·orderPoints_(std::integral_constant<int,isDim>(),std:: | ||
67 | integral_constant<int,dW>(), | ||
68 | 83·centroid,·SX,·SY,·P,H); | ||
61 | 8 | 69 | 84·} |
62 | 83 | ||
63 | 90·template<int·n> | ||
64 | _\x89_\x81·unsigned·int·_\x8p_\x8a_\x8r_\x8e_\x8n_\x8t(unsigned·int·idx,·unsigned·int·parId·=·0)·const | ||
65 | 92·{ | ||
66 | 93·return·_\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8L_\x8i_\x8s_\x8t()->template·parent<n>(idx,·parId); | ||
67 | 94·} | ||
68 | 95 | ||
69 | 104·template<int·n> | ||
70 | _\x81_\x80_\x85·auto·_\x8p_\x8a_\x8r_\x8e_\x8n_\x8t_\x8L_\x8o_\x8c_\x8a_\x8l(unsigned·int·idx,·unsigned·int·corner,·unsigned·int·parId | ||
71 | =·0)·const | ||
72 | 106·{ | ||
73 | 107·return·_\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8L_\x8i_\x8s_\x8t()->template·corner<n>(idx,·corner,·parId); | ||
74 | 108·} | ||
75 | 109 | ||
76 | 70 | 85 | |
71 | 86private: | ||
72 | 87·static·void·orderPoints_(std::integral_constant<int,1>, | ||
73 | 88·std::integral_constant<int,1>, | ||
74 | 89·const·V&·centroid, | ||
75 | 90·const·std::vector<std::vector<int>·>&·SX, | ||
Max diff block lines reached; 7120/16141 bytes (44.11%) 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:·s | 8 | <title>dune-grid-glue:·simplexintersection.cc·File·Reference</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 70, 110 lines modified | Offset 70, 70 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>·| |
78 | <a·href="#define-members">Macros</a>·| | ||
79 | <a·href="#func-members">Functions</a>··</div> | 79 | <a·href="#func-members">Functions</a>··</div> |
80 | ··<div·class="headertitle"><div·class="title">s | 80 | ··<div·class="headertitle"><div·class="title">simplexintersection.cc·File·Reference</div></div> |
81 | </div><!--header--> | 81 | </div><!--header--> |
82 | <div·class="contents"> | 82 | <div·class="contents"> |
83 | <div·class="textblock"><code>#include·"config.h"</code><br·/> | ||
84 | <code>#include·"<a·class="el"·href="a00068_source.html">standardmerge.hh</a>"</code><br·/> | ||
83 | <p><a·href="a00080_source.html">Go·to·the·source·code·of·this·file.</a></p> | ||
85 | < | 84 | <table·class="memberdecls"> |
85 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | ||
86 | Classes</h2></td></tr> | ||
87 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01118.html">Dune::GridGlue::SimplexMethod<·dimWorld,·dim1,·dim2,·T·></a></td></tr> | ||
88 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
89 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01122.html">Dune::GridGlue::SimplexMethod<·dimWorld,·0,·0,·T·></a></td></tr> | ||
90 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
91 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01126.html">Dune::GridGlue::SimplexMethod<·dimWorld,·0,·1,·T·></a></td></tr> | ||
92 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
93 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01130.html">Dune::GridGlue::SimplexMethod<·dimWorld,·0,·2,·T·></a></td></tr> | ||
94 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
95 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01134.html">Dune::GridGlue::SimplexMethod<·dimWorld,·0,·3,·T·></a></td></tr> | ||
96 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
97 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01138.html">Dune::GridGlue::SimplexMethod<·dimWorld,·1,·1,·T·></a></td></tr> | ||
98 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
99 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01142.html">Dune::GridGlue::SimplexMethod<·dimWorld,·1,·2,·T·></a></td></tr> | ||
100 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
101 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01146.html">Dune::GridGlue::SimplexMethod<·dimWorld,·1,·3,·T·></a></td></tr> | ||
102 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
103 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01150.html">Dune::GridGlue::SimplexMethod<·dimWorld,·2,·2,·T·></a></td></tr> | ||
104 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
105 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01154.html">Dune::GridGlue::SimplexMethod<·dimWorld,·2,·3,·T·></a></td></tr> | ||
106 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
107 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01158.html">Dune::GridGlue::SimplexMethod<·dimWorld,·3,·3,·T·></a></td></tr> | ||
108 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
109 | </table><table·class="memberdecls"> | ||
86 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 110 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
87 | Namespaces</h2></td></tr> | 111 | 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> | 112 | <tr·class="memitem:a00103"·id="r_a00103"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00103.html">Dune</a></td></tr> |
89 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 113 | <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> | 114 | <tr·class="memitem:a00104"·id="r_a00104"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00104.html">Dune::GridGlue</a></td></tr> |
91 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 115 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
92 | </table><table·class="memberdecls"> | 116 | </table><table·class="memberdecls"> |
93 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="define-members"·name="define-members"></a> | ||
94 | Macros</h2></td></tr> | ||
95 | <tr·class="memitem:ad5c7ca0181fea7823b37d06d5f61e9cd"·id="r_ad5c7ca0181fea7823b37d06d5f61e9cd"><td·class="memItemLeft"·align="right"·valign="top">#define </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00080.html#ad5c7ca0181fea7823b37d06d5f61e9cd">DECL</a></td></tr> | ||
96 | <tr·class="separator:ad5c7ca0181fea7823b37d06d5f61e9cd"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
97 | <tr·class="memitem:a4a2b0f7fb92723749fc6d5cca82a4297"·id="r_a4a2b0f7fb92723749fc6d5cca82a4297"><td·class="memItemLeft"·align="right"·valign="top">#define </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00080.html#a4a2b0f7fb92723749fc6d5cca82a4297">STANDARD_MERGE_INSTANTIATE</a>(T,··A,··B,··C)</td></tr> | ||
98 | <tr·class="separator:a4a2b0f7fb92723749fc6d5cca82a4297"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
99 | </table><table·class="memberdecls"> | ||
100 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> | 117 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> |
101 | Functions</h2></td></tr> | 118 | Functions</h2></td></tr> |
102 | <tr·class="memitem:a | 119 | <tr·class="memitem:acb8eba4ea70bb9d407216258a1ea38d3"·id="r_acb8eba4ea70bb9d407216258a1ea38d3"><td·class="memTemplParams"·colspan="2">template<int·dimworld,·typename·T·>·</td></tr> |
120 | <tr·class="memitem:acb8eba4ea70bb9d407216258a1ea38d3"><td·class="memTemplItemLeft"·align="right"·valign="top">void </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00104.html#acb8eba4ea70bb9d407216258a1ea38d3">Dune::GridGlue::simplexSubdivision</a>·(std::integral_constant<·int,·0·>,·const·std::vector<·Dune::FieldVector<·T,·dimworld·>·>·&elementCorners,·std::vector<·std::vector<·unsigned·int·>·>·&subElements,·std::vector<·std::vector<·int·>·>·&faceIds)</td></tr> | ||
121 | <tr·class="separator:acb8eba4ea70bb9d407216258a1ea38d3"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
122 | <tr·class="memitem:a79ec8d88094aaf764ba7d3fc69f80bfb"·id="r_a79ec8d88094aaf764ba7d3fc69f80bfb"><td·class="memTemplParams"·colspan="2">template<int·dimworld,·typename·T·>·</td></tr> | ||
123 | <tr·class="memitem:a79ec8d88094aaf764ba7d3fc69f80bfb"><td·class="memTemplItemLeft"·align="right"·valign="top">void </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00104.html#a79ec8d88094aaf764ba7d3fc69f80bfb">Dune::GridGlue::simplexSubdivision</a>·(std::integral_constant<·int,·1·>,·const·std::vector<·Dune::FieldVector<·T,·dimworld·>·>·&elementCorners,·std::vector<·std::vector<·unsigned·int·>·>·&subElements,·std::vector<·std::vector<·int·>·>·&faceIds)</td></tr> | ||
103 | <tr·class="separator:a | 124 | <tr·class="separator:a79ec8d88094aaf764ba7d3fc69f80bfb"><td·class="memSeparator"·colspan="2"> </td></tr> |
104 | <tr·class="memitem:a | 125 | <tr·class="memitem:a686728cec3588405059fdbddc5e89168"·id="r_a686728cec3588405059fdbddc5e89168"><td·class="memTemplParams"·colspan="2">template<int·dimworld,·typename·T·>·</td></tr> |
126 | <tr·class="memitem:a686728cec3588405059fdbddc5e89168"><td·class="memTemplItemLeft"·align="right"·valign="top">void </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00104.html#a686728cec3588405059fdbddc5e89168">Dune::GridGlue::simplexSubdivision</a>·(std::integral_constant<·int,·2·>,·const·std::vector<·Dune::FieldVector<·T,·dimworld·>·>·&elementCorners,·std::vector<·std::vector<·unsigned·int·>·>·&subElements,·std::vector<·std::vector<·int·>·>·&faceIds)</td></tr> | ||
127 | <tr·class="separator:a686728cec3588405059fdbddc5e89168"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
128 | <tr·class="memitem:a697e604ca453c314141e6b4c5efe3eab"·id="r_a697e604ca453c314141e6b4c5efe3eab"><td·class="memTemplParams"·colspan="2">template<int·dimworld,·typename·T·>·</td></tr> | ||
129 | <tr·class="memitem:a697e604ca453c314141e6b4c5efe3eab"><td·class="memTemplItemLeft"·align="right"·valign="top">void </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00104.html#a697e604ca453c314141e6b4c5efe3eab">Dune::GridGlue::simplexSubdivision</a>·(std::integral_constant<·int,·3·>,·const·std::vector<·Dune::FieldVector<·T,·dimworld·>·>·&elementCorners,·std::vector<·std::vector<·unsigned·int·>·>·&subElements,·std::vector<·std::vector<·int·>·>·&faceIds)</td></tr> | ||
105 | <tr·class="separator:a | 130 | <tr·class="separator:a697e604ca453c314141e6b4c5efe3eab"><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> | 131 | </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> | ||
Max diff block lines reached; 271/15975 bytes (1.70%) of diff not shown. |
Offset 1, 52 lines modified | Offset 1, 65 lines modified | ||
1 | dune-grid-glue 2.10 | 1 | dune-grid-glue 2.10 |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | ····*·_\x8d_\x8u_\x8n_\x8e | 5 | ····*·_\x8d_\x8u_\x8n_\x8e |
6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e | 6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e |
7 | ····*·_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g | 7 | ····*·_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g |
8 | _\x8C_\x8l_\x8a_\x8s_\x8s_\x8e_\x8s·|·_\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s·|·_\x8F_\x8u_\x8n_\x8c_\x8t_\x8i_\x8o_\x8n_\x8s | ||
9 | simplexintersection.cc·File·Reference | ||
10 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | ||
11 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s | ||
12 | class· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8S_\x8i_\x8m_\x8p_\x8l_\x8e_\x8x_\x8M_\x8e_\x8t_\x8h_\x8o_\x8d_\x8<_\x8·_\x8d_\x8i_\x8m_\x8W_\x8o_\x8r_\x8l_\x8d_\x8,_\x8·_\x8d_\x8i_\x8m_\x81_\x8,_\x8·_\x8d_\x8i_\x8m_\x82_\x8,_\x8·_\x8T_\x8·_\x8> | ||
8 | _\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s·|·_\x8M_\x8a_\x8c_\x8r_\x8o_\x8s·|·_\x8F_\x8u_\x8n_\x8c_\x8t_\x8i_\x8o_\x8n_\x8s | ||
9 | standardmerge.cc·File·Reference | ||
10 | #include·"config.h" | ||
11 | #include·"_\x8s_\x8t_\x8a_\x8n_\x8d_\x8a_\x8r_\x8d_\x8m_\x8e_\x8r_\x8g_\x8e_\x8._\x8h_\x8h" | ||
12 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s | ||
13 | namespace· ·_\x8D_\x8u_\x8n_\x8e | ||
14 | 13 | ||
15 | 14 | class· ·_.D_.u_.n_.e_.:_.:_.G_.r_.i_.d_.G_.l_.u_.e_.:_.:_.S_.i_.m_.p_.l_.e_.x_.M_.e_.t_.h_.o_.d_.<_.·_.d_.i_.m_.W_.o_.r_.l_.d_.,_.·_.0_.,_.·_.0_.,_.·_.T_.·_.> | |
16 | 15 | ||
16 | class· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8S_\x8i_\x8m_\x8p_\x8l_\x8e_\x8x_\x8M_\x8e_\x8t_\x8h_\x8o_\x8d_\x8<_\x8·_\x8d_\x8i_\x8m_\x8W_\x8o_\x8r_\x8l_\x8d_\x8,_\x8·_\x80_\x8,_\x8·_\x81_\x8,_\x8·_\x8T_\x8·_\x8> | ||
17 | M\x8Ma\x8ac\x8cr\x8ro\x8os\x8s | ||
18 | #define ·_\x8D_\x8E_\x8C_\x8L | ||
19 | 17 | ||
20 | 18 | class· ·_.D_.u_.n_.e_.:_.:_.G_.r_.i_.d_.G_.l_.u_.e_.:_.:_.S_.i_.m_.p_.l_.e_.x_.M_.e_.t_.h_.o_.d_.<_.·_.d_.i_.m_.W_.o_.r_.l_.d_.,_.·_.0_.,_.·_.2_.,_.·_.T_.·_.> | |
21 | 19 | ||
22 | F\x8Fu\x8un\x8nc\x8ct\x8ti\x8io\x8on\x8ns\x8s | ||
23 | ·_.D_.u_.n_.e_.:_.:_.G_.r_.i_.d_.G_.l_.u_.e_.:_.:_.S_. | 20 | class· ·_.D_.u_.n_.e_.:_.:_.G_.r_.i_.d_.G_.l_.u_.e_.:_.:_.S_.i_.m_.p_.l_.e_.x_.M_.e_.t_.h_.o_.d_.<_.·_.d_.i_.m_.W_.o_.r_.l_.d_.,_.·_.0_.,_.·_.3_.,_.·_.T_.·_.> |
21 | |||
22 | class· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8S_\x8i_\x8m_\x8p_\x8l_\x8e_\x8x_\x8M_\x8e_\x8t_\x8h_\x8o_\x8d_\x8<_\x8·_\x8d_\x8i_\x8m_\x8W_\x8o_\x8r_\x8l_\x8d_\x8,_\x8·_\x81_\x8,_\x8·_\x81_\x8,_\x8·_\x8T_\x8·_\x8> | ||
23 | |||
24 | class· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8S_\x8i_\x8m_\x8p_\x8l_\x8e_\x8x_\x8M_\x8e_\x8t_\x8h_\x8o_\x8d_\x8<_\x8·_\x8d_\x8i_\x8m_\x8W_\x8o_\x8r_\x8l_\x8d_\x8,_\x8·_\x81_\x8,_\x8·_\x82_\x8,_\x8·_\x8T_\x8·_\x8> | ||
25 | |||
26 | class· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8S_\x8i_\x8m_\x8p_\x8l_\x8e_\x8x_\x8M_\x8e_\x8t_\x8h_\x8o_\x8d_\x8<_\x8·_\x8d_\x8i_\x8m_\x8W_\x8o_\x8r_\x8l_\x8d_\x8,_\x8·_\x81_\x8,_\x8·_\x83_\x8,_\x8·_\x8T_\x8·_\x8> | ||
27 | |||
28 | class· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8S_\x8i_\x8m_\x8p_\x8l_\x8e_\x8x_\x8M_\x8e_\x8t_\x8h_\x8o_\x8d_\x8<_\x8·_\x8d_\x8i_\x8m_\x8W_\x8o_\x8r_\x8l_\x8d_\x8,_\x8·_\x82_\x8,_\x8·_\x82_\x8,_\x8·_\x8T_\x8·_\x8> | ||
24 | 29 | ||
25 | ·_.D_.u_.n_.e_.:_.:_.G_.r_.i_.d_.G_.l_.u_.e_.:_.:_.S_. | 30 | class· ·_.D_.u_.n_.e_.:_.:_.G_.r_.i_.d_.G_.l_.u_.e_.:_.:_.S_.i_.m_.p_.l_.e_.x_.M_.e_.t_.h_.o_.d_.<_.·_.d_.i_.m_.W_.o_.r_.l_.d_.,_.·_.2_.,_.·_.3_.,_.·_.T_.·_.> |
26 | 31 | ||
27 | ·_.D_.u_.n_.e_.:_.:_.G_.r_.i_.d_.G_.l_.u_.e_.:_.:_.S_. | 32 | class· ·_.D_.u_.n_.e_.:_.:_.G_.r_.i_.d_.G_.l_.u_.e_.:_.:_.S_.i_.m_.p_.l_.e_.x_.M_.e_.t_.h_.o_.d_.<_.·_.d_.i_.m_.W_.o_.r_.l_.d_.,_.·_.3_.,_.·_.3_.,_.·_.T_.·_.> |
33 | |||
34 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s | ||
35 | namespace· ·_\x8D_\x8u_\x8n_\x8e | ||
36 | |||
37 | namespace· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e | ||
38 | |||
39 | F\x8Fu\x8un\x8nc\x8ct\x8ti\x8io\x8on\x8ns\x8s | ||
40 | template<int·dimworld,·typename·T·> | ||
41 | void ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8s_\x8i_\x8m_\x8p_\x8l_\x8e_\x8x_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8i_\x8s_\x8i_\x8o_\x8n·(std::integral_constant<·int,·0·>, | ||
42 | ······const·std::vector<·Dune::FieldVector<·T,·dimworld·>·>·&elementCorners, | ||
43 | ······std::vector<·std::vector<·unsigned·int·>·>·&subElements,·std::vector< | ||
44 | ······std::vector<·int·>·>·&faceIds) | ||
45 | |||
46 | template<int·dimworld,·typename·T·> | ||
47 | void ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8s_\x8i_\x8m_\x8p_\x8l_\x8e_\x8x_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8i_\x8s_\x8i_\x8o_\x8n·(std::integral_constant<·int,·1·>, | ||
48 | ······const·std::vector<·Dune::FieldVector<·T,·dimworld·>·>·&elementCorners, | ||
49 | ······std::vector<·std::vector<·unsigned·int·>·>·&subElements,·std::vector< | ||
50 | ······std::vector<·int·>·>·&faceIds) | ||
51 | |||
52 | template<int·dimworld,·typename·T·> | ||
53 | void ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8s_\x8i_\x8m_\x8p_\x8l_\x8e_\x8x_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8i_\x8s_\x8i_\x8o_\x8n·(std::integral_constant<·int,·2·>, | ||
54 | ······const·std::vector<·Dune::FieldVector<·T,·dimworld·>·>·&elementCorners, | ||
55 | ······std::vector<·std::vector<·unsigned·int·>·>·&subElements,·std::vector< | ||
56 | ······std::vector<·int·>·>·&faceIds) | ||
57 | |||
58 | template<int·dimworld,·typename·T·> | ||
59 | void ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8s_\x8i_\x8m_\x8p_\x8l_\x8e_\x8x_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8i_\x8s_\x8i_\x8o_\x8n·(std::integral_constant<·int,·3·>, | ||
60 | ······const·std::vector<·Dune::FieldVector<·T,·dimworld·>·>·&elementCorners, | ||
61 | ······std::vector<·std::vector<·unsigned·int·>·>·&subElements,·std::vector< | ||
62 | ······std::vector<·int·>·>·&faceIds) | ||
28 | 63 | ||
29 | *\x8**\x8**\x8**\x8**\x8*·M\x8Ma\x8ac\x8cr\x8ro\x8o·D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·D\x8Do\x8oc\x8cu\x8um\x8me\x8en\x8nt\x8ta\x8at\x8ti\x8io\x8on\x8n·*\x8**\x8**\x8**\x8**\x8* | ||
30 | *\x8**\x8**\x8**\x8**\x8*·_\x8?\x8◆_\x8?\x8 D\x8DE\x8EC\x8CL\x8L·*\x8**\x8**\x8**\x8**\x8* | ||
31 | #define·DECL | ||
32 | *\x8**\x8**\x8**\x8**\x8*·_\x8?\x8◆_\x8?\x8 S\x8ST\x8TA\x8AN\x8ND\x8DA\x8AR\x8RD\x8D_\x8_M\x8ME\x8ER\x8RG\x8GE\x8E_\x8_I\x8IN\x8NS\x8ST\x8TA\x8AN\x8NT\x8TI\x8IA\x8AT\x8TE\x8E·*\x8**\x8**\x8**\x8**\x8* | ||
33 | #define·STANDARD_MERGE_INSTANTIATE·(· ·T, | ||
34 | ····································· ·A, | ||
35 | ····································· ·B, | ||
36 | ····································· ·C | ||
37 | ···································) | ||
38 | V\x8Va\x8al\x8lu\x8ue\x8e:\x8: | ||
39 | _\x8D_\x8E_\x8C_\x8L·template·\ | ||
40 | void·StandardMerge<T,A,B,C>::build(const·std::vector<Dune::FieldVector<T,C>·>& | ||
41 | grid1_coords,·\ | ||
42 | const·std::vector<unsigned·int>&·grid1_elements,·\ | ||
43 | const·std::vector<Dune::GeometryType>&·grid1_element_types,·\ | ||
44 | const·std::vector<Dune::FieldVector<T,C>·>&·grid2_coords,·\ | ||
45 | const·std::vector<unsigned·int>&·grid2_elements,·\ | ||
46 | const·std::vector<Dune::GeometryType>&·grid2_element_types·\ | ||
47 | ) | ||
48 | _\x8D_\x8E_\x8C_\x8L | ||
49 | #define·DECL | ||
50 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·standardmerge.cc:12 | ||
51 | =============================================================================== | 64 | =============================================================================== |
52 | ·····Generated·by _\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]·1.9.8 | 65 | ·····Generated·by _\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]·1.9.8 |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-grid-glue:· | 8 | <title>dune-grid-glue:·intersectionlist.hh·File·Reference</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 72, 36 lines modified | Offset 72, 34 lines modified | ||
72 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_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>··</div> | 78 | <a·href="#namespaces">Namespaces</a>··</div> |
79 | ··<div·class="headertitle"><div·class="title"> | 79 | ··<div·class="headertitle"><div·class="title">intersectionlist.hh·File·Reference</div></div> |
80 | </div><!--header--> | 80 | </div><!--header--> |
81 | <div·class="contents"> | 81 | <div·class="contents"> |
82 | <div·class="textblock"><code>#include·< | 82 | <div·class="textblock"><code>#include·<array></code><br·/> |
83 | <code>#include·<type_traits></code><br·/> | ||
83 | <code>#include·< | 84 | <code>#include·<utility></code><br·/> |
84 | <code>#include·<vector></code><br·/> | 85 | <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·/> | 86 | <code>#include·<dune/common/fvector.hh></code><br·/> |
88 | <code>#include·<dune/geometry/referenceelements.hh></code><br·/> | ||
89 | <code>#include·<dune/geometry/multilineargeometry.hh></code><br·/> | ||
90 | <code>#include·<dune/grid/common/grid.hh></code><br·/> | ||
91 | <code>#include·<<a·class="el"·href="a00068_source.html">dune/grid-glue/merging/standardmerge.hh</a>></code><br·/> | ||
92 | <code>#include·<<a·class="el"·href="a00098_source.html">dune/grid-glue/merging/computeintersection.hh</a>></code><br·/> | ||
93 | <code>#include·"<a·class="el"·href="a00092_source.html">overlappingmerge.cc</a>"</code><br·/> | ||
94 | </div> | 87 | </div> |
95 | <p><a·href="a00083_source.html">Go·to·the·source·code·of·this·file.</a></p> | 88 | <p><a·href="a00083_source.html">Go·to·the·source·code·of·this·file.</a></p> |
96 | <table·class="memberdecls"> | 89 | <table·class="memberdecls"> |
97 | <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> |
98 | Classes</h2></td></tr> | 91 | Classes</h2></td></tr> |
92 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01082.html">Dune::GridGlue::IntersectionListProvider<·L0,·L1·></a></td></tr> | ||
93 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
94 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01098.html">Dune::GridGlue::IntersectionList<·Local0,·Local1·></a></td></tr> | ||
95 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
99 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a011 | 96 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01102.html">Dune::GridGlue::SimplicialIntersectionListProvider<·dim0,·dim1·></a></td></tr> |
100 | <tr·class=" | 97 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
98 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01106.html">Dune::GridGlue::SimplicialIntersectionListProvider<·dim0,·dim1·>::SimplicialIntersection</a></td></tr> | ||
101 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 99 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
102 | </table><table·class="memberdecls"> | 100 | </table><table·class="memberdecls"> |
103 | <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> |
104 | Namespaces</h2></td></tr> | 102 | 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> | 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> |
106 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 104 | <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> | 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> |
Offset 2, 32 lines modified | Offset 2, 30 lines modified | ||
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | ····*·_\x8d_\x8u_\x8n_\x8e | 5 | ····*·_\x8d_\x8u_\x8n_\x8e |
6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e | 6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e |
7 | ····*·_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g | 7 | ····*·_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g |
8 | _\x8C_\x8l_\x8a_\x8s_\x8s_\x8e_\x8s·|·_\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s | 8 | _\x8C_\x8l_\x8a_\x8s_\x8s_\x8e_\x8s·|·_\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s |
9 | overlappingmerge.hh·File·Reference | ||
10 | #include·<iostream> | ||
11 | 9 | intersectionlist.hh·File·Reference | |
10 | #include·<array> | ||
11 | #include·<type_traits> | ||
12 | #include·<utility> | ||
12 | #include·<vector> | 13 | #include·<vector> |
13 | #include·<algorithm> | ||
14 | #include·<dune/common/fmatrix.hh> | ||
15 | #include·<dune/common/fvector.hh> | 14 | #include·<dune/common/fvector.hh> |
16 | #include·<dune/geometry/referenceelements.hh> | ||
17 | #include·<dune/geometry/multilineargeometry.hh> | ||
18 | #include·<dune/grid/common/grid.hh> | ||
19 | #include·<_\x8d_\x8u_\x8n_\x8e_\x8/_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e_\x8/_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g_\x8/_\x8s_\x8t_\x8a_\x8n_\x8d_\x8a_\x8r_\x8d_\x8m_\x8e_\x8r_\x8g_\x8e_\x8._\x8h_\x8h> | ||
20 | #include·<_\x8d_\x8u_\x8n_\x8e_\x8/_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e_\x8/_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g_\x8/_\x8c_\x8o_\x8m_\x8p_\x8u_\x8t_\x8e_\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8._\x8h_\x8h> | ||
21 | #include·"_\x8o_\x8v_\x8e_\x8r_\x8l_\x8a_\x8p_\x8p_\x8i_\x8n_\x8g_\x8m_\x8e_\x8r_\x8g_\x8e_\x8._\x8c_\x8c" | ||
22 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 15 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
23 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s | 16 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s |
24 | class· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8O_\x8v_\x8e_\x8r_\x8l_\x8a_\x8p_\x8p_\x8i_\x8n_\x8g_\x8M_\x8e_\x8r_\x8g_\x8e_\x8<_\x8·_\x8d_\x8i_\x8m_\x81_\x8,_\x8·_\x8d_\x8i_\x8m_\x82_\x8,_\x8·_\x8d_\x8i_\x8m_\x8w_\x8o_\x8r_\x8l_\x8d_\x8,_\x8·_\x8T_\x8·_\x8> | ||
25 | ·······Computing·overlapping·grid·intersections·for·grids·of·different | ||
26 | ··· | 17 | ·class· ·_.D_.u_.n_.e_.:_.:_.G_.r_.i_.d_.G_.l_.u_.e_.:_.:_.I_.n_.t_.e_.r_.s_.e_.c_.t_.i_.o_.n_.L_.i_.s_.t_.P_.r_.o_.v_.i_.d_.e_.r_.<_.·_.L_.0_.,_.·_.L_.1_.·_.> |
18 | |||
19 | ·class· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8L_\x8i_\x8s_\x8t_\x8<_\x8·_\x8L_\x8o_\x8c_\x8a_\x8l_\x80_\x8,_\x8·_\x8L_\x8o_\x8c_\x8a_\x8l_\x81_\x8·_\x8> | ||
20 | |||
21 | ·class· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8S_\x8i_\x8m_\x8p_\x8l_\x8i_\x8c_\x8i_\x8a_\x8l_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8L_\x8i_\x8s_\x8t_\x8P_\x8r_\x8o_\x8v_\x8i_\x8d_\x8e_\x8r_\x8<_\x8·_\x8d_\x8i_\x8m_\x80_\x8,_\x8·_\x8d_\x8i_\x8m_\x81_\x8·_\x8> | ||
22 | |||
23 | struct· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8S_\x8i_\x8m_\x8p_\x8l_\x8i_\x8c_\x8i_\x8a_\x8l_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8L_\x8i_\x8s_\x8t_\x8P_\x8r_\x8o_\x8v_\x8i_\x8d_\x8e_\x8r_\x8<_\x8·_\x8d_\x8i_\x8m_\x80_\x8,_\x8·_\x8d_\x8i_\x8m_\x81_\x8·_\x8>_\x8:_\x8: | ||
24 | ·········_\x8S_\x8i_\x8m_\x8p_\x8l_\x8i_\x8c_\x8i_\x8a_\x8l_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n | ||
27 | 25 | ||
28 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s | 26 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s |
29 | namespace· ·_\x8D_\x8u_\x8n_\x8e | 27 | namespace· ·_\x8D_\x8u_\x8n_\x8e |
30 | 28 | ||
31 | namespace· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e | 29 | namespace· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e |
32 | 30 | ||
33 | =============================================================================== | 31 | =============================================================================== |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-grid-glue:· | 8 | <title>dune-grid-glue:·intersectionlist.hh·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 74, 102 lines modified | Offset 74, 299 lines modified | ||
74 | <div·id="nav-path"·class="navpath"> | 74 | <div·id="nav-path"·class="navpath"> |
75 | ··<ul> | 75 | ··<ul> |
76 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_0d8f660a135565b225f6b14e80c278b4.html">merging</a></li>··</ul> | 76 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_0d8f660a135565b225f6b14e80c278b4.html">merging</a></li>··</ul> |
77 | </div> | 77 | </div> |
78 | </div><!--·top·--> | 78 | </div><!--·top·--> |
79 | <div·class="header"> | 79 | <div·class="header"> |
80 | ··<div·class="headertitle"><div·class="title"> | 80 | ··<div·class="headertitle"><div·class="title">intersectionlist.hh</div></div> |
81 | </div><!--header--> | 81 | </div><!--header--> |
82 | <div·class="contents"> | 82 | <div·class="contents"> |
83 | <a·href="a00083.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·©·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div> | ||
83 | <a·href="a00083.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | ||
84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | ||
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_MERGING_INTERSECTIONLIST_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_MERGING_INTERSECTIONLIST_HH·1</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">#include·<array></span></div> | ||
89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#include·<type_traits></span></div> | ||
90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·< | 90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·<utility></span></div> |
91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·<iomanip></span></div> | ||
92 | <div·class="line"><a·id="l000 | 91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·<vector></span></div> |
92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span>·</div> | ||
93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·< | 93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<dune/common/fvector.hh></span></div> |
94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div> | 94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div> |
95 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class=" | 95 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00103.html">Dune</a>·{</div> |
96 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class=" | 96 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="keyword">namespace·</span>GridGlue·{</div> |
97 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> | 97 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> |
98 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="keyword">template</span><<span·class="keyword">typename</span>·L0,·<span·class="keyword">typename</span>·L1></div> | ||
98 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·<dune/geometry/referenceelements.hh></span></div> | ||
99 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·<dune/geometry/multilineargeometry.hh></span></div> | ||
100 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div> | ||
101 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·<dune/grid/common/grid.hh></span></div> | ||
102 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div> | ||
103 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·<<a·class="code"·href="a00068.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="a00098.html">dune/grid-glue/merging/computeintersection.hh</a>></span></div> | ||
105 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div> | ||
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> | ||
108 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div> | ||
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">typename</span>·T·=·<span·class="keywordtype">double</span>></div> | ||
110 | <div·class="foldopen"·id="foldopen000 | 99 | <div·class="foldopen"·id="foldopen00021"·data-start="{"·data-end="};"> |
111 | <div·class="line"><a·id="l000 | 100 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno"><a·class="line"·href="a01082.html">···21</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01082.html">IntersectionListProvider</a></div> |
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> | ||
113 | <div·class="line"><a·id="l000 | 101 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</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 | 102 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="keyword">public</span>:</div> |
116 | <div·class="line"><a·id="l000 | 103 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> |
117 | <div·class="line"><a·id="l000 | 104 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno"><a·class="line"·href="a01082.html#a95156e19bb18a3c3e358028a5d146a26">···28</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01082.html#a95156e19bb18a3c3e358028a5d146a26">Local0</a>·[·...·truncated·by·diffoscope;·len:·5,·SHA:·2cf6e9633c3e7216221a6f08a4d756271e00b403b5693c41ffe144dd0fa07c10·...·]</div> |
118 | <div·class="line"><a·id="l000 | 105 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div> |
119 | <div·class="line"><a·id="l000 | 106 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno"><a·class="line"·href="a01082.html#ab6e4c4fe58ecd05d989ffdd25f059e13">···33</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01082.html#ab6e4c4fe58ecd05d989ffdd25f059e13">Local1</a>·[·...·truncated·by·diffoscope;·len:·4,·SHA:·312d70f74b89f17d49feea2c49794aa3aa5c743b90f425d895a0cda7db341abb·...·];</div> |
120 | <div·class="line"><a·id="l000 | 107 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div> |
121 | <div·class="line"><a·id="l000 | 108 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno"><a·class="line"·href="a01082.html#a3ce827219b1282269bc512257c0e615b">···38</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01082.html#a3ce827219b1282269bc512257c0e615b">Index</a>·=[·...·truncated·by·diffoscope;·len:·46,·SHA:·8f43a61ffc23302c3b1b94ec12c09c152d119589e135e3f138df4fcbd5c180e0·...·];</div> |
109 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div> | ||
110 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno"><a·class="line"·href="a01082.html#a5f8d56fc9e8e0bc5f3bec7296ec79f8b">···43</a></span>··<span·class="keyword">virtual</span>·std::size_t·<a·class="code·hl_function"·href="a01082.html#a5f8d56fc9e8e0bc5f3bec7296ec79f8b">size</a>()·<span·class="keyword">const</span>·=·0;</div> | ||
122 | <div·class="line"><a·id="l0004 | 111 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div> |
123 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>··<span·class="com | 112 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno"><a·class="line"·href="a01082.html#a10099cd95363d296d27b29675aa22f1e">···50</a></span>··<span·class="keyword">virtual</span>·std::size_t·<a·class="code·hl_function"·href="a01082.html#a10099cd95363d296d27b29675aa22f1e">parents0</a>(<a·class="code·hl_typedef"[·...·truncated·by·diffoscope;·len:·117,·SHA:·1c735d75bfdd9c5e53a2f9631fcdd63966f8ab0d3542c460a67e090d01a4a79b·...·]</div> |
124 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div> | 113 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div> |
114 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno"><a·class="line"·href="a01082.html#ac9059343f76c2c1998ddfd106d12a034">···57</a></span>··<span·class="keyword">virtual</span>·std::size_t·<a·class="code·hl_function"·href="a01082.html#ac9059343f76c2c1998ddfd106d12a034">parents1</a>(<a·class="code·hl_typedef"·href="a01082.html#a3ce827219b1282269bc512257c0e615b">Index</a>·intersection)·<span·class="keyword">const</span>·=·0;</div> | ||
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="l00053"·name="l00053"></a><span·class="lineno">···53</span>··{}</div> | ||
128 | </div> | ||
129 | <div·class="line"><a·id="l0005 | 115 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·</div> |
116 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno"><a·class="line"·href="a01082.html#af70b12e87e2ed03519971bef30094919">···65</a></span>··<span·class="keyword">virtual</span>·<a·class="code·hl_typedef"·href="a01082.html#a3ce827219b1282269bc512257c0e615b">Index</a>·<a·class="code·hl_function"·href="a01082.html#af70b12e87e2ed03519971bef30094919">parent0</a>(<a·class="code·hl_typedef"·href="a01082.html#a3ce827219b1282269bc512257c0e615b">Index</a>·intersection,·<span·class="keywordtype">unsigned</span>·index)·<span·class="keyword">const</span>·=·0;</div> | ||
130 | <div·class="line"><a·id="l000 | 117 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div> |
131 | <div·class="line"><a·id="l000 | 118 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno"><a·class="line"·href="a01082.html#ac1a2767db120071457c147d3d3086538">···73</a></span>··<span·class="keyword">virtual</span>·<a·class="code·hl_typedef"·href="a01082.html#a3ce827219b1282269bc512257c0e615b">Index</a>[·...·truncated·by·diffoscope;·len:·285,·SHA:·d77a7be98388788e720838e79361ef59062b342f0f95c41cc3303257733926b9·...·];</div> |
132 | <div·class="line"><a·id="l000 | 119 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>·</div> |
120 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno"><a·class="line"·href="a01082.html#aab4a04bddd1ce55467d0fa21c18c704b">···82</a></span>··<span·class="keyword">virtual</span>·<a·class="code·hl_typedef"·href="a01082.html#a95156e19bb18a3c3e358028a5d146a26">Local0</a>·<a·class="code·hl_function"·href="a01082.html#aab4a04bddd1ce55467d0fa21c18c704b">corner0</a>(<a·class="code·hl_typedef"·href="a01082.html#a3ce827219b1282269bc512257c0e615b">Index</a>·intersection,·<span·class="keywordtype">unsigned</span>·corner,·<span·class="keywordtype">unsigned</span>·index)·<span·class="keyword">const</span>·=·0;</div> | ||
133 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>··<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01114.html#a6303e85feb1c815ce1ec5771851d7429">computeIntersections</a>(<span·class="keyword">const</span>·Dune::GeometryType&·grid1ElementType,</div> | ||
134 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>···························<span·class="keyword">const</span>·std::vector<Dune::FieldVector<T,dimworld>·>&·grid1ElementCorners,</div> | ||
135 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>···························std::bitset<(1<<dim1)>&·neighborIntersects1,</div> | ||
136 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>···························<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·grid1Index,</div> | ||
137 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>···························<span·class="keyword">const</span>·Dune::GeometryType&·grid2ElementType,</div> | ||
138 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>···························<span·class="keyword">const</span>·std::vector<Dune::FieldVector<T,dimworld>·>&·grid2ElementCorners,</div> | ||
139 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>···························std::bitset<(1<<dim2)>&·neighborIntersects2,</div> | ||
140 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>···························<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·grid2Index,</div> | ||
141 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>···························std::vector<SimplicialIntersection>&·intersections);</div> | ||
142 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div> | ||
143 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span><span·class="keyword">private</span>:</div> | ||
144 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>··<span·class="keywordtype">bool</span>·inPlane(std::vector<FieldVector<T,dimworld>·>&·points);</div> | ||
145 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>·</div> | ||
146 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>};</div> | ||
147 | </div> | ||
148 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>·</div> | 121 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>·</div> |
122 | <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno"><a·class="line"·href="a01082.html#a2afb8b50efab3de075698fc0b5552b67">···91</a></span>··<span·class="keyword">virtual</span>·<a·class="code·hl_typedef"·href="a01082.html#ab6e4c4fe58ecd05d989ffdd25f059e13">Local1</a>·<a·class="code·hl_function"·href="a01082.html#a2afb8b50efab3de075698fc0b5552b67">corner1</a>(<a·class="code·hl_typedef"·href="a01082.html#a3ce827219b1282269bc512257c0e615b">Index</a>·intersection,·<span·class="keywordtype">unsigned</span>·corner,·<span·class="keywordtype">unsigned</span>·index)·<span·class="keyword">const</span>·=·0;</div> | ||
149 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>}·<span·class="comment">/*·namespace·Dune::GridGlue·*/</span></div> | ||
150 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>}·<span·class="comment">/*·namespace·Dune·*/</span></div> | ||
151 | <div·class="line"><a·id="l000 | 123 | <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>};</div> |
124 | </div> | ||
152 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span><span·class="preprocessor">#include·"<a·class="code"·href="a00092.html">overlappingmerge.cc</a>"</span></div> | ||
153 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>·</div> | ||
154 | <div·class="line"><a·id="l000 | 125 | <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>·</div> |
155 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span><span·class="preprocessor">#endif·</span><span·class="comment">//·DUNE_GRIDGLUE_MERGING_OVERLAPPINGMERGE_HH</span></div> | ||
156 | <div·class="ttc"·id="aa00068_html"><div·class="ttname"><a·href="a00068.html">standardmerge.hh</a></div><div·class="ttdoc">Common·base·class·for·many·merger·implementations:·produce·pairs·of·entities·that·may·intersect.</div></div> | ||
157 | <div·class="ttc"·id="aa00092_html"><div·class="ttname"><a·href="a00092.html">overlappingmerge.cc</a></div></div> | ||
158 | <div·class=" | 126 | <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span><span·class="keyword">namespace·</span>Impl·{</div> |
127 | <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>·</div> | ||
128 | <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span><span·class="keyword">template</span><<span·class="keyword">typename</span>·P,·<span·class="keywordtype">int</span>·I></div> | ||
129 | <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span><span·class="keyword">struct·</span>IntersectionListLocal</div> | ||
130 | <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>{};</div> | ||
131 | <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>·</div> | ||
132 | <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span><span·class="keyword">template</span><<span·class="keyword">typename</span>·P></div> | ||
133 | <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span><span·class="keyword">struct·</span>IntersectionListLocal<P,·0></div> | ||
134 | <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>{</div> | ||
135 | <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>··<span·class="keyword">static</span>·std::size_t·parents(<span·class="keyword">const</span>·P&·p,·<span·class="keyword">typename</span>·P::Index·intersection)</div> | ||
136 | <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>····{·<span·class="keywordflow">return</span>·p.parents0(intersection);·}</div> | ||
137 | <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>·</div> | ||
138 | <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>··<span·class="keyword">static</span>·<span·class="keyword">typename</span>·P::Index·parent(<span·class="keyword">const</span>·P&·p,·<span·class="keyword">typename</span>·P::Index·intersection,·<span·class="keywordtype">unsigned</span>·index)</div> | ||
139 | <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span>····{·<span·class="keywordflow">return</span>·p.parent0(intersection,·index);·}</div> | ||
Max diff block lines reached; 18222/73695 bytes (24.73%) of diff not shown. |
Offset 1, 127 lines modified | Offset 1, 357 lines modified | ||
1 | dune-grid-glue 2.10 | 1 | dune-grid-glue 2.10 |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | ····*·_\x8d_\x8u_\x8n_\x8e | 5 | ····*·_\x8d_\x8u_\x8n_\x8e |
6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e | 6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e |
7 | ····*·_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g | 7 | ····*·_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g |
8 | 8 | intersectionlist.hh | |
9 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 9 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | ||
11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: | ||
12 | 10 | 1//·SPDX-FileCopyrightInfo:·Copyright·Â©·DUNE·Project·contributors,·see·file | |
13 | LICENSE.md·in·module·root | 11 | LICENSE.md·in·module·root |
14 | 12 | 2//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with- | |
15 | dune-grid-glue-exception | 13 | dune-grid-glue-exception |
16 | 5#ifndef·DUNE_GRIDGLUE_MERGING_OVERLAPPINGMERGE_HH | ||
17 | 6#define·DUNE_GRIDGLUE_MERGING_OVERLAPPINGMERGE_HH | ||
18 | 7 | ||
19 | 8#include·<iostream> | ||
20 | 14 | 3#ifndef·DUNE_GRIDGLUE_MERGING_INTERSECTIONLIST_HH | |
15 | 4#define·DUNE_GRIDGLUE_MERGING_INTERSECTIONLIST_HH·1 | ||
16 | 5 | ||
17 | 6#include·<array> | ||
18 | 7#include·<type_traits> | ||
19 | 8#include·<utility> | ||
21 | 20 | 9#include·<vector> | |
22 | 1 | 21 | 10 |
22 | 11#include·<dune/common/fvector.hh> | ||
23 | 12 | 23 | 12 |
24 | 13#include·<dune/common/fmatrix.hh> | ||
25 | 1 | 24 | 13namespace·_.D_.u_.n_.e·{ |
25 | 14namespace·GridGlue·{ | ||
26 | 15 | 26 | 15 |
27 | 20template<typename·L0,·typename·L1> | ||
28 | _\x82_\x81class·_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8L_\x8i_\x8s_\x8t_\x8P_\x8r_\x8o_\x8v_\x8i_\x8d_\x8e_\x8r | ||
29 | 22{ | ||
27 | 16#include·<dune/geometry/referenceelements.hh> | ||
28 | 17#include·<dune/geometry/multilineargeometry.hh> | ||
29 | 18 | ||
30 | 19#include·<dune/grid/common/grid.hh> | ||
31 | 20 | ||
32 | 21#include·<_\x8d_\x8u_\x8n_\x8e_\x8/_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e_\x8/_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g_\x8/_\x8s_\x8t_\x8a_\x8n_\x8d_\x8a_\x8r_\x8d_\x8m_\x8e_\x8r_\x8g_\x8e_\x8._\x8h_\x8h> | ||
33 | 22#include·<_\x8d_\x8u_\x8n_\x8e_\x8/_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e_\x8/_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g_\x8/_\x8c_\x8o_\x8m_\x8p_\x8u_\x8t_\x8e_\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8._\x8h_\x8h> | ||
34 | 23 | ||
35 | 24namespace·_\x8D_\x8u_\x8n_\x8e·{ | ||
36 | 25namespace·GridGlue·{ | ||
37 | 26 | ||
38 | 34template<int·dim1,·int·dim2,·int·dimworld,·typename·T·=·double> | ||
39 | _\x83_\x85class·_\x8O_\x8v_\x8e_\x8r_\x8l_\x8a_\x8p_\x8p_\x8i_\x8n_\x8g_\x8M_\x8e_\x8r_\x8g_\x8e | ||
40 | 36·:·public·_\x8S_\x8t_\x8a_\x8n_\x8d_\x8a_\x8r_\x8d_\x8M_\x8e_\x8r_\x8g_\x8e<T,dim1,dim2,dimworld> | ||
41 | 37{ | ||
42 | 38 | ||
43 | 30 | 23public: | |
44 | 40 | ||
45 | 41·/*·E·X·P·O·R·T·E·D·T·Y·P·E·S·A·N·D·C·O·N·S·T·A·N·T·S·*/ | ||
46 | 42 | ||
47 | _\x84_\x84·typedef·T·_\x8c_\x8t_\x8y_\x8p_\x8e; | ||
48 | 45 | ||
49 | _\x84_\x87·typedef·Dune::FieldVector<T,·dimworld>·_\x8W_\x8o_\x8r_\x8l_\x8d_\x8C_\x8o_\x8o_\x8r_\x8d_\x8s; | ||
50 | 48 | ||
51 | 31 | 24 | |
32 | _\x82_\x88·using·_\x8L_\x8o_\x8c_\x8a_\x8l_\x80·=·L0; | ||
33 | 29 | ||
34 | _\x83_\x83·using·_\x8L_\x8o_\x8c_\x8a_\x8l_\x81·=·L1; | ||
35 | 34 | ||
36 | _\x83_\x88·using·_\x8I_\x8n_\x8d_\x8e_\x8x·=·unsigned·int; | ||
37 | 39 | ||
38 | _\x84_\x83·virtual·std::size_t·_\x8s_\x8i_\x8z_\x8e()·const·=·0; | ||
39 | 44 | ||
40 | _\x85_\x80·virtual·std::size_t·_\x8p_\x8a_\x8r_\x8e_\x8n_\x8t_\x8s_\x80(_\x8I_\x8n_\x8d_\x8e_\x8x·intersection)·const·=·0; | ||
52 | 51 | 41 | 51 |
42 | _\x85_\x87·virtual·std::size_t·_\x8p_\x8a_\x8r_\x8e_\x8n_\x8t_\x8s_\x81(_\x8I_\x8n_\x8d_\x8e_\x8x·intersection)·const·=·0; | ||
43 | 58 | ||
44 | _\x86_\x85·virtual·_\x8I_\x8n_\x8d_\x8e_\x8x·_\x8p_\x8a_\x8r_\x8e_\x8n_\x8t_\x80(_\x8I_\x8n_\x8d_\x8e_\x8x·intersection,·unsigned·index)·const·=·0; | ||
45 | 66 | ||
46 | _\x87_\x83·virtual·_\x8I_\x8n_\x8d_\x8e_\x8x·_\x8p_\x8a_\x8r_\x8e_\x8n_\x8t_\x81(_\x8I_\x8n_\x8d_\x8e_\x8x·intersection,·unsigned·index)·const·=·0; | ||
47 | 74 | ||
48 | _\x88_\x82·virtual·_\x8L_\x8o_\x8c_\x8a_\x8l_\x80·_\x8c_\x8o_\x8r_\x8n_\x8e_\x8r_\x80(_\x8I_\x8n_\x8d_\x8e_\x8x·intersection,·unsigned·corner,·unsigned·index) | ||
49 | const·=·0; | ||
53 | _\x85_\x82·_\x8O_\x8v_\x8e_\x8r_\x8l_\x8a_\x8p_\x8p_\x8i_\x8n_\x8g_\x8M_\x8e_\x8r_\x8g_\x8e() | ||
54 | 53·{} | ||
55 | 54 | ||
56 | 55protected: | ||
57 | _\x85_\x86·typedef·typename·_\x8S_\x8t_\x8a_\x8n_\x8d_\x8a_\x8r_\x8d_\x8M_\x8e_\x8r_\x8g_\x8e_\x8<_\x8T_\x8,_\x8d_\x8i_\x8m_\x81_\x8,_\x8d_\x8i_\x8m_\x82_\x8,_\x8d_\x8i_\x8m_\x8w_\x8o_\x8r_\x8l_\x8d_\x8>_\x8:_\x8:_\x8S_\x8i_\x8m_\x8p_\x8l_\x8i_\x8c_\x8i_\x8a_\x8l_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n | ||
58 | _\x8S_\x8i_\x8m_\x8p_\x8l_\x8i_\x8c_\x8i_\x8a_\x8l_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n; | ||
59 | 57 | ||
60 | 69·void·_\x8c_\x8o_\x8m_\x8p_\x8u_\x8t_\x8e_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8s(const·Dune::GeometryType&·grid1ElementType, | ||
61 | 70·const·std::vector<Dune::FieldVector<T,dimworld>·>&·grid1ElementCorners, | ||
62 | 71·std::bitset<(1<<dim1)>&·neighborIntersects1, | ||
63 | 72·unsigned·int·grid1Index, | ||
64 | 73·const·Dune::GeometryType&·grid2ElementType, | ||
65 | 74·const·std::vector<Dune::FieldVector<T,dimworld>·>&·grid2ElementCorners, | ||
66 | 75·std::bitset<(1<<dim2)>&·neighborIntersects2, | ||
67 | 76·unsigned·int·grid2Index, | ||
68 | 77·std::vector<SimplicialIntersection>&·intersections); | ||
69 | 78 | ||
70 | 79private: | ||
71 | 80·bool·inPlane(std::vector<FieldVector<T,dimworld>·>&·points); | ||
72 | 81 | ||
73 | 82}; | ||
74 | 83 | 50 | 83 |
51 | _\x89_\x81·virtual·_\x8L_\x8o_\x8c_\x8a_\x8l_\x81·_\x8c_\x8o_\x8r_\x8n_\x8e_\x8r_\x81(_\x8I_\x8n_\x8d_\x8e_\x8x·intersection,·unsigned·corner,·unsigned·index) | ||
52 | const·=·0; | ||
53 | 92}; | ||
54 | 93 | ||
55 | 94namespace·Impl·{ | ||
56 | 95 | ||
57 | 96template<typename·P,·int·I> | ||
58 | 97struct·IntersectionListLocal | ||
59 | 98{}; | ||
60 | 99 | ||
61 | 100template<typename·P> | ||
62 | 101struct·IntersectionListLocal<P,·0> | ||
63 | 102{ | ||
64 | 103·static·std::size_t·parents(const·P&·p,·typename·P::Index·intersection) | ||
65 | 104·{·return·p.parents0(intersection);·} | ||
66 | 105 | ||
67 | 106·static·typename·P::Index·parent(const·P&·p,·typename·P::Index·intersection, | ||
68 | unsigned·index) | ||
69 | 107·{·return·p.parent0(intersection,·index);·} | ||
70 | 108 | ||
71 | 109·static·typename·P::Local0·_\x8c_\x8o_\x8r_\x8n_\x8e_\x8r(const·P&·p,·typename·P::Index | ||
72 | intersection,·unsigned·corner,·unsigned·index) | ||
73 | 110·{·return·p.corner0(intersection,·corner,·index);·} | ||
74 | 111}; | ||
75 | 112 | ||
76 | 113template<typename·P> | ||
Max diff block lines reached; 14261/25938 bytes (54.98%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-grid-glue:·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 1, 19 lines modified | Offset 1, 41 lines modified | ||
1 | dune-grid-glue 2.10 | 1 | dune-grid-glue 2.10 |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | ····*·_\x8d_\x8u_\x8n_\x8e | 5 | ····*·_\x8d_\x8u_\x8n_\x8e |
6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e | 6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e |
7 | ····*·_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g | 7 | ····*·_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g |
8 | _\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s | 8 | _\x8C_.l_.a_.s_.s_.e_.s·|·_.N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s |
9 | contactmerge. | 9 | contactmerge.hh·File·Reference |
10 | Merge·two·grid·boundary·surfaces·that·may·be·a·positive·distance·apart.·_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
11 | #include·<iostream> | ||
12 | #include·<fstream> | ||
13 | #include·<iomanip> | ||
14 | #include·<vector> | ||
15 | #include·<algorithm> | ||
16 | #include·<limits> | ||
17 | #include·<memory> | ||
18 | #include·<functional> | ||
19 | #include·<dune/common/fvector.hh> | ||
20 | #include·<dune/common/exceptions.hh> | ||
21 | #include·<dune/common/bitsetvector.hh> | ||
22 | #include·<dune/common/deprecated.hh> | ||
23 | #include·<dune/grid/common/grid.hh> | ||
24 | #include·<_\x8d_\x8u_\x8n_\x8e_\x8/_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e_\x8/_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g_\x8/_\x8s_\x8t_\x8a_\x8n_\x8d_\x8a_\x8r_\x8d_\x8m_\x8e_\x8r_\x8g_\x8e_\x8._\x8h_\x8h> | ||
10 | #include·<_\x8d_\x8u_\x8n_\x8e_\x8/_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e_\x8/_\x8 | 25 | #include·<_\x8d_\x8u_\x8n_\x8e_\x8/_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e_\x8/_\x8g_.r_.i_.d_.g_.l_.u_.e_\x8._\x8h_\x8h> |
11 | #include· | 26 | #include·"_.c_.o_.n_.t_.a_.c_.t_.m_.e_.r_.g_.e_.._.c_.c" |
12 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 27 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
28 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s | ||
29 | class· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8C_\x8o_\x8n_\x8t_\x8a_\x8c_\x8t_\x8M_\x8e_\x8r_\x8g_\x8e_\x8<_\x8·_\x8d_\x8i_\x8m_\x8w_\x8o_\x8r_\x8l_\x8d_\x8,_\x8·_\x8T_\x8·_\x8> | ||
30 | ·······Merge·two·codimension-1·surfaces·that·may·be·a·positive·distance·apart. | ||
31 | ········_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
32 | |||
13 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s | 33 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s |
14 | namespace· ·_\x8D_\x8u_\x8n_\x8e | 34 | namespace· ·_\x8D_\x8u_\x8n_\x8e |
15 | 35 | ||
16 | namespace· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e | 36 | namespace· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e |
17 | 37 | ||
38 | *\x8**\x8**\x8**\x8**\x8*·D\x8De\x8et\x8ta\x8ai\x8il\x8le\x8ed\x8d·D\x8De\x8es\x8sc\x8cr\x8ri\x8ip\x8pt\x8ti\x8io\x8on\x8n·*\x8**\x8**\x8**\x8**\x8* | ||
39 | Merge·two·grid·boundary·surfaces·that·may·be·a·positive·distance·apart. | ||
18 | =============================================================================== | 40 | =============================================================================== |
19 | ·····Generated·by _\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]·1.9.8 | 41 | ·····Generated·by _\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]·1.9.8 |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-grid-glue:·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="a00032.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="a00050.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 1, 439 lines modified | Offset 1, 304 lines modified | ||
1 | dune-grid-glue 2.10 | 1 | dune-grid-glue 2.10 |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | ····*·_\x8d_\x8u_\x8n_\x8e | 5 | ····*·_\x8d_\x8u_\x8n_\x8e |
6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e | 6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e |
7 | ····*·_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g | 7 | ····*·_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g |
8 | contactmerge. | 8 | contactmerge.hh |
9 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 9 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: | 11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: |
12 | 3//·SPDX-FileCopyrightInfo:·Copyright·Â©·DUNE·Project·contributors,·see·file | 12 | 3//·SPDX-FileCopyrightInfo:·Copyright·Â©·DUNE·Project·contributors,·see·file |
13 | LICENSE.md·in·module·root | 13 | LICENSE.md·in·module·root |
14 | 4//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with- | 14 | 4//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with- |
15 | dune-grid-glue-exception | 15 | dune-grid-glue-exception |
16 | 5 | ||
17 | 6#include·<_\x8d_\x8u_\x8n_\x8e_\x8/_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e_\x8/_\x8c_\x8o_\x8m_\x8m_\x8o_\x8n_\x8/_\x8c_\x8r_\x8o_\x8s_\x8s_\x8p_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8._\x8h_\x8h> | ||
18 | 7#include·<_\x8d_\x8u_\x8n_\x8e_\x8/_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e_\x8/_\x8c_\x8o_\x8m_\x8m_\x8o_\x8n_\x8/_\x8p_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8._\x8h_\x8h> | ||
19 | 16 | 10#ifndef·DUNE_GRIDGLUE_MERGING_CONTACTMERGE_HH | |
17 | 11#define·DUNE_GRIDGLUE_MERGING_CONTACTMERGE_HH | ||
18 | 12 | ||
19 | 13 | ||
20 | 14#include·<iostream> | ||
21 | 15#include·<fstream> | ||
22 | 16#include·<iomanip> | ||
23 | 17#include·<vector> | ||
24 | 18#include·<algorithm> | ||
25 | 19#include·<limits> | ||
26 | 20#include·<memory> | ||
27 | 21#include·<functional> | ||
28 | 22 | ||
29 | 23#include·<dune/common/fvector.hh> | ||
30 | 24#include·<dune/common/exceptions.hh> | ||
31 | 25#include·<dune/common/bitsetvector.hh> | ||
32 | 26#include·<dune/common/deprecated.hh> | ||
33 | 27 | ||
34 | 28#include·<dune/grid/common/grid.hh> | ||
35 | 29 | ||
36 | 30#include·<_\x8d_\x8u_\x8n_\x8e_\x8/_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e_\x8/_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g_\x8/_\x8s_\x8t_\x8a_\x8n_\x8d_\x8a_\x8r_\x8d_\x8m_\x8e_\x8r_\x8g_\x8e_\x8._\x8h_\x8h> | ||
37 | 31#include·<_\x8d_\x8u_\x8n_\x8e_\x8/_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e_\x8/_\x8g_\x8r_\x8i_\x8d_\x8g_\x8l_\x8u_\x8e_\x8._\x8h_\x8h> | ||
38 | 32 | ||
20 | 39 | 33namespace·_\x8D_\x8u_\x8n_\x8e·{ | |
21 | 40 | 34namespace·GridGlue·{ | |
22 | 41 | 35 | |
23 | 42 | 41template<int·dimworld,·typename·T·=·double> | |
43 | _\x84_\x82class·_\x8C_\x8o_\x8n_\x8t_\x8a_\x8c_\x8t_\x8M_\x8e_\x8r_\x8g_\x8e | ||
44 | 43:·public·_\x8S_\x8t_\x8a_\x8n_\x8d_\x8a_\x8r_\x8d_\x8M_\x8e_\x8r_\x8g_\x8e<T,dimworld-1,dimworld-1,dimworld> | ||
45 | 44{ | ||
46 | 45·static·constexpr·int·dim·=·dimworld-1; | ||
47 | 46 | ||
48 | 47·static_assert(·dim==1·||·dim==2, | ||
49 | 48·"ContactMerge·yet·only·handles·the·cases·dim==1·and·dim==2!"); | ||
50 | 49 | ||
51 | 50·typedef·_\x8S_\x8t_\x8a_\x8n_\x8d_\x8a_\x8r_\x8d_\x8M_\x8e_\x8r_\x8g_\x8e_\x8<_\x8T_\x8,_\x8d_\x8i_\x8m_\x8,_\x8d_\x8i_\x8m_\x8,_\x8d_\x8i_\x8m_\x8w_\x8o_\x8r_\x8l_\x8d_\x8>·_\x8B_\x8a_\x8s_\x8e; | ||
52 | 51public: | ||
53 | 52 | ||
54 | 53·/*·E·X·P·O·R·T·E·D·T·Y·P·E·S·A·N·D·C·O·N·S·T·A·N·T·S·*/ | ||
55 | 54 | ||
56 | _\x85_\x86·typedef·T·_\x8c_\x8t_\x8y_\x8p_\x8e; | ||
57 | 57 | ||
58 | _\x85_\x89·typedef·Dune::FieldVector<T,·dimworld>·_\x8W_\x8o_\x8r_\x8l_\x8d_\x8C_\x8o_\x8o_\x8r_\x8d_\x8s; | ||
24 | 13void·ContactMerge<dimworld,·T>::computeIntersections(const·Dune:: | ||
25 | GeometryType&·grid1ElementType, | ||
26 | 14·const·std::vector<Dune::FieldVector<T,dimworld>·>&·grid1ElementCorners, | ||
27 | 15·std::bitset<(1<<dim)>&·neighborIntersects1, | ||
28 | 16·unsigned·int·grid1Index, | ||
29 | 17·const·Dune::GeometryType&·grid2ElementType, | ||
30 | 18·const·std::vector<Dune::FieldVector<T,dimworld>·>&·grid2ElementCorners, | ||
31 | 19·std::bitset<(1<<dim)>&·neighborIntersects2, | ||
32 | 20·unsigned·int·grid2Index, | ||
33 | 21·std::vector<SimplicialIntersection>&·_\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8s) | ||
34 | 22{ | ||
35 | 23·using·std::get; | ||
36 | 24 | ||
37 | 25·std::vector<std::array<LocalCoords,2>·>·polytopeCorners; | ||
38 | 26 | ||
39 | 27·//·Initialize | ||
40 | 28·neighborIntersects1.reset(); | ||
41 | 29·neighborIntersects2.reset(); | ||
42 | 30 | ||
43 | 31·const·int·nCorners1·=·grid1ElementCorners.size(); | ||
44 | 32·const·int·nCorners2·=·grid2ElementCorners.size(); | ||
45 | 33 | ||
46 | 34·if·(nCorners1·!=·dimworld) | ||
47 | 35·DUNE_THROW(Dune::Exception,·"element1·must·have·"·<<·dimworld·<<·"·corners, | ||
48 | but·has·"·<<·nCorners1); | ||
49 | 36·if·(nCorners2·!=·dimworld) | ||
50 | 37·DUNE_THROW(Dune::Exception,·"element2·must·have·"·<<·dimworld·<<·"·corners, | ||
51 | but·has·"·<<·nCorners2); | ||
52 | 38 | ||
53 | 39·//·The·grid1·projection·directions | ||
54 | 40·std::vector<WorldCoords>·directions1(nCorners1); | ||
55 | 41·for·(size_t·i=0;·i<directions1.size();·i++) | ||
56 | 42·directions1[i]·=·nodalDomainDirections_[this->grid1ElementCorners_ | ||
57 | [grid1Index][i]]; | ||
58 | 43 | ||
59 | 44·//·The·grid2·projection·directions | ||
60 | 45·std::vector<WorldCoords>·directions2(nCorners2); | ||
61 | 46·for·(size_t·i=0;·i<directions2.size();·i++) | ||
62 | 47·directions2[i]·=·nodalTargetDirections_[this->grid2ElementCorners_ | ||
63 | [grid2Index][i]]; | ||
64 | 48 | ||
65 | 49·//·The·difference·between·the·closest·point·projection·and·the·normal | ||
66 | projection·is·just·the·ordering | ||
67 | 50·//·of·the·involved·surfaces.·The·closest·point·projection·is·done·along·the | ||
68 | outer·normal·field·of·grid2 | ||
69 | 51·//·(due·to·being·a·best·approximation)·and·the·outer·normal·projection·is | ||
70 | using·the·outer·normal·field | ||
71 | 52·//·of·grid1·instead. | ||
72 | 53·std::array<decltype(std::cref(grid1ElementCorners)),2>·cornersRef·={std:: | ||
73 | cref(grid1ElementCorners),·std::cref(grid2ElementCorners)}; | ||
74 | 54·std::array<decltype(std::cref(directions1)),2>·directionsRef·={std::cref | ||
75 | (directions1),·std::cref(directions2)}; | ||
76 | 55·std::array<Dune::GeometryType,2>·elementTypes·=·{grid1ElementType, | ||
77 | grid2ElementType}; | ||
78 | 56 | ||
79 | 57·//·Determine·which·is·the·grid·we·use·for·outer·normal·projection | ||
80 | 58·const·size_t·domGrid·=·(type_==ProjectionType::OUTER_NORMAL)·?·0·:·1; | ||
81 | 59·const·size_t·tarGrid·=·(type_==ProjectionType::OUTER_NORMAL)·?·1·:·0; | ||
82 | 60 | 59 | 60 |
60 | _\x86_\x82·typedef·Dune::FieldVector<T,·dim>·_\x8L_\x8o_\x8c_\x8a_\x8l_\x8C_\x8o_\x8o_\x8r_\x8d_\x8s; | ||
61 | 63 | ||
62 | _\x86_\x85·enum·_\x8P_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8T_\x8y_\x8p_\x8e·{_\x8O_\x8U_\x8T_\x8E_\x8R_\x8__\x8N_\x8O_\x8R_\x8M_\x8A_\x8L,·_\x8C_\x8L_\x8O_\x8S_\x8E_\x8S_\x8T_\x8__\x8P_\x8O_\x8I_\x8N_\x8T}; | ||
63 | _\x87_\x83·_\x8C_\x8o_\x8n_\x8t_\x8a_\x8c_\x8t_\x8M_\x8e_\x8r_\x8g_\x8e(const·T·allowedOverlap=T(0), | ||
64 | 74·std::function<_\x8W_\x8o_\x8r_\x8l_\x8d_\x8C_\x8o_\x8o_\x8r_\x8d_\x8s(_\x8W_\x8o_\x8r_\x8l_\x8d_\x8C_\x8o_\x8o_\x8r_\x8d_\x8s)>·domainDirections=nullptr, | ||
65 | 75·std::function<_\x8W_\x8o_\x8r_\x8l_\x8d_\x8C_\x8o_\x8o_\x8r_\x8d_\x8s(_\x8W_\x8o_\x8r_\x8l_\x8d_\x8C_\x8o_\x8o_\x8r_\x8d_\x8s)>·targetDirections=nullptr, | ||
66 | 76·_\x8P_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8T_\x8y_\x8p_\x8e·type·=·_\x8O_\x8U_\x8T_\x8E_\x8R_\x8__\x8N_\x8O_\x8R_\x8M_\x8A_\x8L) | ||
Max diff block lines reached; 20299/29271 bytes (69.35%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-grid-glue:· | 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, 56 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"> | 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 | <p>Merge·two·grid·boundary·surfaces·that·may·be·a·positive·distance·apart.·· | ||
83 | <a·href="#details">More...</a></p> | ||
84 | <div·class="textblock"><code>#include·<iostream></code><br·/> | ||
85 | <code>#include·<fstream></code><br·/> | ||
86 | <code>#include·<iomanip></code><br·/> | ||
87 | <code>#include·<vector></code><br·/> | ||
88 | <code>#include·<algorithm></code><br·/> | ||
89 | <code>#include·<limits></code><br·/> | ||
90 | <code>#include·<memory></code><br·/> | ||
91 | <code>#include·<functional></code><br·/> | ||
92 | <code>#include·<dune/common/fvector.hh></code><br·/> | ||
93 | <code>#include·<dune/common/exceptions.hh></code><br·/> | ||
94 | <code>#include·<dune/common/bitsetvector.hh></code><br·/> | ||
95 | <code>#include·<dune/common/deprecated.hh></code><br·/> | ||
96 | <code>#include·<dune/grid/common/grid.hh></code><br·/> | ||
97 | <code>#include·<<a·class="el"·href="a00068_source.html">dune/grid-glue/merging/standardmerge.hh</a>></code><br·/> | ||
98 | <code>#include·<<a·class="el"·href="a00002_source.html">dune/grid-glue/gridglue.hh</a>></code><br·/> | ||
99 | <code>#include·"<a·class="el"·href="a00086_source.html">contactmerge.cc</a>"</code><br·/> | ||
100 | </div> | ||
101 | <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> |
102 | <table·class="memberdecls"> | 83 | <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"> | ||
109 | <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> |
110 | Namespaces</h2></td></tr> | 85 | 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> | 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> |
112 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 87 | <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> | 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> |
114 | <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> | ||
115 | </table> | 95 | </table> |
116 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> | ||
117 | < | 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> | ||
118 | </div>< | 109 | </div><!--·contents·--> |
119 | <!--·start·footer·part·--> | 110 | <!--·start·footer·part·--> |
120 | <hr·class="footer"/><address·class="footer"><small> | 111 | <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 | 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 |
122 | </small></address> | 113 | </small></address> |
123 | </body> | 114 | </body> |
124 | </html> | 115 | </html> |
Offset 1, 41 lines modified | Offset 1, 23 lines modified | ||
1 | dune-grid-glue 2.10 | 1 | dune-grid-glue 2.10 |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | ····*·_\x8d_\x8u_\x8n_\x8e | 5 | ····*·_\x8d_\x8u_\x8n_\x8e |
6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e | 6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e |
7 | ····*·_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g | 7 | ····*·_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g |
8 | _\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s·|·_\x8M_\x8a_\x8c_\x8r_\x8o_\x8s | ||
9 | overlappingmerge.cc·File·Reference | ||
8 | _\x8C_\x8l_\x8a_\x8s_\x8s_\x8e_\x8s·|·_\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s | ||
9 | contactmerge.hh·File·Reference | ||
10 | Merge·two·grid·boundary·surfaces·that·may·be·a·positive·distance·apart.·_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
11 | #include·<iostream> | ||
12 | #include·<fstream> | ||
13 | #include·<iomanip> | ||
14 | #include·<vector> | ||
15 | #include·<algorithm> | ||
16 | #include·<limits> | ||
17 | #include·<memory> | ||
18 | #include·<functional> | ||
19 | #include·<dune/common/fvector.hh> | ||
20 | #include·<dune/common/exceptions.hh> | ||
21 | #include·<dune/common/bitsetvector.hh> | ||
22 | #include·<dune/common/deprecated.hh> | ||
23 | #include·<dune/grid/common/grid.hh> | ||
24 | #include·<_\x8d_\x8u_\x8n_\x8e_\x8/_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e_\x8/_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g_\x8/_\x8s_\x8t_\x8a_\x8n_\x8d_\x8a_\x8r_\x8d_\x8m_\x8e_\x8r_\x8g_\x8e_\x8._\x8h_\x8h> | ||
25 | #include·<_\x8d_\x8u_\x8n_\x8e_\x8/_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e_\x8/_\x8g_\x8r_\x8i_\x8d_\x8g_\x8l_\x8u_\x8e_\x8._\x8h_\x8h> | ||
26 | #include·"_\x8c_\x8o_\x8n_\x8t_\x8a_\x8c_\x8t_\x8m_\x8e_\x8r_\x8g_\x8e_\x8._\x8c_\x8c" | ||
27 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 10 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
28 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s | ||
29 | class· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8C_\x8o_\x8n_\x8t_\x8a_\x8c_\x8t_\x8M_\x8e_\x8r_\x8g_\x8e_\x8<_\x8·_\x8d_\x8i_\x8m_\x8w_\x8o_\x8r_\x8l_\x8d_\x8,_\x8·_\x8T_\x8·_\x8> | ||
30 | ·······Merge·two·codimension-1·surfaces·that·may·be·a·positive·distance·apart. | ||
31 | ········_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
32 | |||
33 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s | 11 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s |
34 | namespace· ·_\x8D_\x8u_\x8n_\x8e | 12 | namespace· ·_\x8D_\x8u_\x8n_\x8e |
35 | 13 | ||
36 | namespace· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e | 14 | namespace· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e |
37 | 15 | ||
38 | *\x8**\x8**\x8**\x8**\x8*·D\x8De\x8et\x8ta\x8ai\x8il\x8le\x8ed\x8d·D\x8De\x8es\x8sc\x8cr\x8ri\x8ip\x8pt\x8ti\x8io\x8on\x8n·*\x8**\x8**\x8**\x8**\x8* | ||
39 | M | 16 | M.Ma.ac.cr.ro.os.s |
17 | #define ·_\x8D_\x8U_\x8N_\x8E_\x8__\x8G_\x8R_\x8I_\x8D_\x8G_\x8L_\x8U_\x8E_\x8__\x8O_\x8V_\x8E_\x8R_\x8L_\x8A_\x8P_\x8P_\x8I_\x8N_\x8G_\x8M_\x8E_\x8R_\x8G_\x8E_\x8__\x8C_\x8C | ||
18 | |||
19 | *\x8**\x8**\x8**\x8**\x8*·M\x8Ma\x8ac\x8cr\x8ro\x8o·D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·D\x8Do\x8oc\x8cu\x8um\x8me\x8en\x8nt\x8ta\x8at\x8ti\x8io\x8on\x8n·*\x8**\x8**\x8**\x8**\x8* | ||
20 | *\x8**\x8**\x8**\x8**\x8*·_\x8?\x8◆_\x8?\x8 D\x8DU\x8UN\x8NE\x8E_\x8_G\x8GR\x8RI\x8ID\x8DG\x8GL\x8LU\x8UE\x8E_\x8_O\x8OV\x8VE\x8ER\x8RL\x8LA\x8AP\x8PP\x8PI\x8IN\x8NG\x8GM\x8ME\x8ER\x8RG\x8GE\x8E_\x8_C\x8CC\x8C·*\x8**\x8**\x8**\x8**\x8* | ||
21 | #define·DUNE_GRIDGLUE_OVERLAPPINGMERGE_CC | ||
40 | =============================================================================== | 22 | =============================================================================== |
41 | ·····Generated·by _\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]·1.9.8 | 23 | ·····Generated·by _\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]·1.9.8 |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-grid-glue:· | 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, 235 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"> | 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>·</div> | ||
87 | <div·class="line"><a·id="l000 | 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> |
88 | <div·class="line"><a·id="l000 | 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="comment">//#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> | ||
89 | <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="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> | ||
90 | <div·class="line"><a·id="l0001 | 97 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</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> | ||
99 | <div·class="line"><a·id="l000 | 98 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>····T·eps·=·1e-8;</div> |
100 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#include·<dune/common/fvector.hh></span></div> | ||
101 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#include·<dune/common/exceptions.hh></span></div> | ||
102 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#include·<dune/common/bitsetvector.hh></span></div> | ||
103 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#include·<dune/common/deprecated.hh></span></div> | ||
104 | <div·class="line"><a·id="l000 | 99 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> |
105 | <div·class="line"><a·id="l000 | 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> | ||
103 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>····FieldVector<T,dimworld>·v1·=·points[1]-points[0];</div> | ||
104 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>····FieldVector<T,dimworld>·v2·=·points[2]-points[0];</div> | ||
105 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>····FieldVector<T,dimworld>·v3·=·points[3]-points[0];</div> | ||
106 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> | ||
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> | ||
106 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div> | 111 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div> |
107 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·<<a·class="code"·href="a00068.html">dune/grid-glue/merging/standardmerge.hh</a>></span></div> | ||
108 | <div·class="line"><a·id="l0003 | 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> | ||
109 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div> | 114 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div> |
115 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="keyword">template</span><<span·class="keywordtype">int</span>·dim1,·<span·class="keywordtype">int</span>·dim2,·<span·class="keywordtype">int</span>·dimworld,·<span·class="keyword">typename</span>·T></div> | ||
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> | ||
112 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div> | ||
113 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span><span·class="keyword">template</span><<span·class="keywordtype">int</span>·dimworld,·<span·class="keyword">typename</span>·T·=·<span·class="keywordtype">double</span>></div> | ||
114 | <div·class="foldopen"·id="foldopen000 | 116 | <div·class="foldopen"·id="foldopen00034"·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="l000 | 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">Overlappi[·...·truncated·by·diffoscope;·len:·139,·SHA:·b9cf5ca973026b957126c11b1ccfa4f658fea5fc878f574cca910e4954c2d2fb·...·]</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> | ||
117 | <div·class="line"><a·id="l0004 | 126 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>{</div> |
118 | <div·class="line"><a·id="l0004 | 127 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>····<span·class="keyword">using·</span>std::min;</div> |
119 | <div·class="line"><a·id="l0004 | 128 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</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="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="l0004 | 131 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div> |
132 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>····<span·class="keyword">typedef</span>·<a·class="code·hl_class"·href="a01118.html">SimplexMethod<dimworld,dim1,dim2,T></a>·CM;</div> | ||
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 | 133 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</div> |
126 | <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> |
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> | ||
127 | <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> |
128 | <div·class="line"><a·id="l0005 | 138 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>····<span·class="comment">//·A·few·consistency·checks</span></div> |
139 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>····assert((<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>)(refElement1.size(dim1))·==·grid1ElementCorners.size());</div> | ||
140 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>····assert((<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>)(refElement2.size(dim2))·==·grid2ElementCorners.size());</div> | ||
141 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span><span·class="preprocessor">#endif</span></div> | ||
129 | <div·class="line"><a·id="l0005 | 142 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>·</div> |
130 | <div·class="line"><a·id="l000 | 143 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>····<span·class="comment">//·Make·generic·geometries·representing·the·grid1-·and·grid2·element.</span></div> |
144 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>····<span·class="comment">//·this·eases·computation·of·local·coordinates.</span></div> | ||
145 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>····<span·class="keyword">typedef</span>·MultiLinearGeometry<T,dim1,dimworld>·Geometry1;</div> | ||
146 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>····<span·class="keyword">typedef</span>·MultiLinearGeometry<T,dim2,dimworld>·Geometry2;</div> | ||
131 | <div·class="line"><a·id="l0006 | 147 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>·</div> |
132 | <div·class="line"><a·id="l0006 | 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> | ||
133 | <div·class="line"><a·id="l0006 | 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> | ||
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="l0007 | 154 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·</div> |
Max diff block lines reached; 42402/75758 bytes (55.97%) of diff not shown. |
Offset 1, 304 lines modified | Offset 1, 244 lines modified | ||
1 | dune-grid-glue 2.10 | 1 | dune-grid-glue 2.10 |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | ····*·_\x8d_\x8u_\x8n_\x8e | 5 | ····*·_\x8d_\x8u_\x8n_\x8e |
6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e | 6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e |
7 | ····*·_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g | 7 | ····*·_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g |
8 | 8 | overlappingmerge.cc | |
9 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 9 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: | 11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: |
12 | 3//·SPDX-FileCopyrightInfo:·Copyright·Â©·DUNE·Project·contributors,·see·file | 12 | 3//·SPDX-FileCopyrightInfo:·Copyright·Â©·DUNE·Project·contributors,·see·file |
13 | LICENSE.md·in·module·root | 13 | LICENSE.md·in·module·root |
14 | 4//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with- | 14 | 4//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with- |
15 | dune-grid-glue-exception | 15 | dune-grid-glue-exception |
16 | 10#ifndef·DUNE_GRIDGLUE_MERGING_CONTACTMERGE_HH | ||
17 | 16 | 5 | |
17 | 6#ifndef·DUNE_GRIDGLUE_OVERLAPPINGMERGE_CC | ||
18 | _\x87#define·DUNE_GRIDGLUE_OVERLAPPINGMERGE_CC | ||
19 | 8//#include·<algorithm> | ||
20 | 9 | ||
21 | 10namespace·_\x8D_\x8u_\x8n_\x8e·{ | ||
22 | 11namespace·GridGlue·{ | ||
18 | 12 | 23 | 12 |
19 | 13 | ||
20 | 14#include·<iostream> | ||
21 | 15#include·<fstream> | ||
22 | 16#include·<iomanip> | ||
23 | 17#include·<vector> | ||
24 | 18#include·<algorithm> | ||
25 | 19#include·<limits> | ||
26 | 20#include·<memory> | ||
27 | 21#include·<functional> | ||
28 | 22 | ||
29 | 23#include·<dune/common/fvector.hh> | ||
30 | 24#include·<dune/common/exceptions.hh> | ||
31 | 25#include·<dune/common/bitsetvector.hh> | ||
32 | 26#include·<dune/common/deprecated.hh> | ||
33 | 27 | ||
34 | 24 | 13template<int·dim1,·int·dim2,·int·dimworld,·typename·T> | |
25 | 14bool·OverlappingMerge<dim1,dim2,dimworld,·T>::inPlane(std:: | ||
26 | vector<FieldVector<T,dimworld>·>&·points)·{ | ||
27 | 15 | ||
28 | 16·T·eps·=·1e-8; | ||
29 | 17 | ||
30 | 18·assert(dim1·==·3·&&·dim2·==·3·&&·dimworld·==·3); | ||
31 | 19·assert(points.size()·==·4); | ||
32 | 20 | ||
33 | 21·FieldVector<T,dimworld>·v1·=·points[1]-points[0]; | ||
34 | 22·FieldVector<T,dimworld>·v2·=·points[2]-points[0]; | ||
35 | 23·FieldVector<T,dimworld>·v3·=·points[3]-points[0]; | ||
36 | 24 | ||
37 | 25·FieldVector<T,dimworld>·v1xv2; | ||
38 | 26·v1xv2[0]·=·v1[1]*v2[2]·-·v1[2]*v2[1]; | ||
39 | 27·v1xv2[1]·=·v1[2]*v2[0]·-·v1[0]*v2[2]; | ||
40 | 28·v1xv2[2]·=·v1[0]*v2[1]·-·v1[1]*v2[0]; | ||
35 | 29 | 41 | 29 |
36 | 30#include·<_\x8d_\x8u_\x8n_\x8e_\x8/_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e_\x8/_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g_\x8/_\x8s_\x8t_\x8a_\x8n_\x8d_\x8a_\x8r_\x8d_\x8m_\x8e_\x8r_\x8g_\x8e_\x8._\x8h_\x8h> | ||
37 | 3 | 42 | 30·return·(std::abs(v3.dot(v1xv2))·<·eps); |
43 | 31} | ||
38 | 32 | 44 | 32 |
39 | 33namespace·_\x8D_\x8u_\x8n_\x8e·{ | ||
40 | 34namespace·GridGlue·{ | ||
41 | 35 | ||
42 | 41template<int·dimworld,·typename·T·=·double> | ||
43 | _\x84_\x82class·_\x8C_\x8o_\x8n_\x8t_\x8a_\x8c_\x8t_\x8M_\x8e_\x8r_\x8g_\x8e | ||
44 | 43:·public·_\x8S_\x8t_\x8a_\x8n_\x8d_\x8a_\x8r_\x8d_\x8M_\x8e_\x8r_\x8g_\x8e<T,dimworld-1,dimworld-1,dimworld> | ||
45 | 44{ | ||
46 | 45·static·constexpr·int·dim·=·dimworld-1; | ||
47 | 46 | ||
48 | 47·static_assert(·dim==1·||·dim==2, | ||
49 | 48·"ContactMerge·yet·only·handles·the·cases·dim==1·and·dim==2!"); | ||
50 | 49 | ||
51 | 50·typedef·_\x8S_\x8t_\x8a_\x8n_\x8d_\x8a_\x8r_\x8d_\x8M_\x8e_\x8r_\x8g_\x8e_\x8<_\x8T_\x8,_\x8d_\x8i_\x8m_\x8,_\x8d_\x8i_\x8m_\x8,_\x8d_\x8i_\x8m_\x8w_\x8o_\x8r_\x8l_\x8d_\x8>·_\x8B_\x8a_\x8s_\x8e; | ||
52 | 51public: | ||
53 | 52 | ||
54 | 45 | 33template<int·dim1,·int·dim2,·int·dimworld,·typename·T> | |
46 | _\x83_\x84void·_\x8O_\x8v_\x8e_\x8r_\x8l_\x8a_\x8p_\x8p_\x8i_\x8n_\x8g_\x8M_\x8e_\x8r_\x8g_\x8e_\x8<_\x8d_\x8i_\x8m_\x81_\x8,_\x8d_\x8i_\x8m_\x82_\x8,_\x8d_\x8i_\x8m_\x8w_\x8o_\x8r_\x8l_\x8d_\x8,_\x8·_\x8T_\x8>_\x8:_\x8:_\x8c_\x8o_\x8m_\x8p_\x8u_\x8t_\x8e_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8s(const | ||
47 | Dune::GeometryType&·grid1ElementType, | ||
48 | 35·const·std::vector<Dune::FieldVector<T,dimworld>·>&·grid1ElementCorners, | ||
49 | 36·std::bitset<(1<<dim1)>&·neighborIntersects1, | ||
50 | 37·unsigned·int·grid1Index, | ||
51 | 38·const·Dune::GeometryType&·grid2ElementType, | ||
52 | 39·const·std::vector<Dune::FieldVector<T,dimworld>·>&·grid2ElementCorners, | ||
53 | 40·std::bitset<(1<<dim2)>&·neighborIntersects2, | ||
54 | 41·unsigned·int·grid2Index, | ||
55 | 42·std::vector<SimplicialIntersection>&·_\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8s) | ||
56 | 43{ | ||
57 | 44·using·std::min; | ||
58 | 45 | ||
59 | 46·this->counter++; | ||
60 | 47·_\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8s.clear(); | ||
61 | 48 | ||
62 | 49·typedef·_\x8S_\x8i_\x8m_\x8p_\x8l_\x8e_\x8x_\x8M_\x8e_\x8t_\x8h_\x8o_\x8d_\x8<_\x8d_\x8i_\x8m_\x8w_\x8o_\x8r_\x8l_\x8d_\x8,_\x8d_\x8i_\x8m_\x81_\x8,_\x8d_\x8i_\x8m_\x82_\x8,_\x8T_\x8>·CM; | ||
63 | 50 | ||
64 | 51#ifndef·NDEBUG | ||
65 | 52·const·auto&·refElement1·=·Dune::ReferenceElements<T,dim1>::general | ||
66 | (grid1ElementType); | ||
67 | 53·const·auto&·refElement2·=·Dune::ReferenceElements<T,dim2>::general | ||
68 | (grid2ElementType); | ||
55 | 54 | 69 | 54 |
56 | _\x85_\x86·typedef·T·_\x8c_\x8t_\x8y_\x8p_\x8e; | ||
57 | 57 | ||
58 | _\x85_\x89·typedef·Dune::FieldVector<T,·dimworld>·_\x8W_\x8o_\x8r_\x8l_\x8d_\x8C_\x8o_\x8o_\x8r_\x8d_\x8s; | ||
59 | 60 | ||
60 | _\x86_\x82·typedef·Dune::FieldVector<T,·dim>·_\x8L_\x8o_\x8c_\x8a_\x8l_\x8C_\x8o_\x8o_\x8r_\x8d_\x8s; | ||
61 | 63 | ||
62 | _\x86_\x85·enum·_\x8P_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8T_\x8y_\x8p_\x8e·{_\x8O_\x8U_\x8T_\x8E_\x8R_\x8__\x8N_\x8O_\x8R_\x8M_\x8A_\x8L,·_\x8C_\x8L_\x8O_\x8S_\x8E_\x8S_\x8T_\x8__\x8P_\x8O_\x8I_\x8N_\x8T}; | ||
63 | _\x87_\x83·_\x8C_\x8o_\x8n_\x8t_\x8a_\x8c_\x8t_\x8M_\x8e_\x8r_\x8g_\x8e(const·T·allowedOverlap=T(0), | ||
64 | 74·std::function<_\x8W_\x8o_\x8r_\x8l_\x8d_\x8C_\x8o_\x8o_\x8r_\x8d_\x8s(_\x8W_\x8o_\x8r_\x8l_\x8d_\x8C_\x8o_\x8o_\x8r_\x8d_\x8s)>·domainDirections=nullptr, | ||
65 | 75·std::function<_\x8W_\x8o_\x8r_\x8l_\x8d_\x8C_\x8o_\x8o_\x8r_\x8d_\x8s(_\x8W_\x8o_\x8r_\x8l_\x8d_\x8C_\x8o_\x8o_\x8r_\x8d_\x8s)>·targetDirections=nullptr, | ||
66 | 76·_\x8P_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8T_\x8y_\x8p_\x8e·type·=·_\x8O_\x8U_\x8T_\x8E_\x8R_\x8__\x8N_\x8O_\x8R_\x8M_\x8A_\x8L) | ||
67 | 77·:·domainDirections_(domainDirections),·targetDirections_(targetDirections), | ||
68 | 78·overlap_(allowedOverlap),·type_(type) | ||
69 | 79·{} | ||
70 | 80 | ||
71 | _\x88_\x86·_\x8C_\x8o_\x8n_\x8t_\x8a_\x8c_\x8t_\x8M_\x8e_\x8r_\x8g_\x8e(const·T·allowedOverlap,·_\x8P_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8T_\x8y_\x8p_\x8e·type) | ||
72 | 87·:·overlap_(allowedOverlap), | ||
73 | 88·type_(type) | ||
74 | 89·{} | ||
75 | 90 | ||
76 | 99·inline | ||
77 | _\x81_\x80_\x80·void·_\x8s_\x8e_\x8t_\x8S_\x8u_\x8r_\x8f_\x8a_\x8c_\x8e_\x8D_\x8i_\x8r_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8s(std::function<_\x8W_\x8o_\x8r_\x8l_\x8d_\x8C_\x8o_\x8o_\x8r_\x8d_\x8s(_\x8W_\x8o_\x8r_\x8l_\x8d_\x8C_\x8o_\x8o_\x8r_\x8d_\x8s)> | ||
78 | domainDirections, | ||
79 | 101·std::function<_\x8W_\x8o_\x8r_\x8l_\x8d_\x8C_\x8o_\x8o_\x8r_\x8d_\x8s(_\x8W_\x8o_\x8r_\x8l_\x8d_\x8C_\x8o_\x8o_\x8r_\x8d_\x8s)>·targetDirections) | ||
80 | 102·{ | ||
81 | 103·domainDirections_·=·domainDirections; | ||
Max diff block lines reached; 16457/24754 bytes (66.48%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.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, 49 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="#namespaces">Namespaces</a>· | 77 | <a·href="#namespaces">Namespaces</a>··</div> |
78 | <a·href="#define-members">Macros</a>··</div> | ||
79 | ··<div·class="headertitle"><div·class="title"> | 78 | ··<div·class="headertitle"><div·class="title">contactmerge.cc·File·Reference</div></div> |
80 | </div><!--header--> | 79 | </div><!--header--> |
81 | <div·class="contents"> | 80 | <div·class="contents"> |
81 | <div·class="textblock"><code>#include·<<a·class="el"·href="a00029_source.html">dune/grid-glue/common/crossproduct.hh</a>></code><br·/> | ||
82 | <code>#include·<<a·class="el"·href="a00041_source.html">dune/grid-glue/common/projection.hh</a>></code><br·/> | ||
83 | </div> | ||
82 | <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> |
83 | <table·class="memberdecls"> | 85 | <table·class="memberdecls"> |
84 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 86 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
85 | Namespaces</h2></td></tr> | 87 | Namespaces</h2></td></tr> |
86 | <tr·class="memitem:a00103"·id="r_a00103"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00103.html">Dune</a></td></tr> | 88 | <tr·class="memitem:a00103"·id="r_a00103"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00103.html">Dune</a></td></tr> |
87 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 89 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
88 | <tr·class="memitem:a00104"·id="r_a00104"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00104.html">Dune::GridGlue</a></td></tr> | 90 | <tr·class="memitem:a00104"·id="r_a00104"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00104.html">Dune::GridGlue</a></td></tr> |
89 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 91 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
90 | </table><table·class="memberdecls"> | ||
91 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="define-members"·name="define-members"></a> | ||
92 | Macros</h2></td></tr> | ||
93 | <tr·class="memitem:ad63267c6d27a8f09d98506419b206db8"·id="r_ad63267c6d27a8f09d98506419b206db8"><td·class="memItemLeft"·align="right"·valign="top">#define </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00092.html#ad63267c6d27a8f09d98506419b206db8">DUNE_GRIDGLUE_OVERLAPPINGMERGE_CC</a></td></tr> | ||
94 | <tr·class="separator:ad63267c6d27a8f09d98506419b206db8"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
95 | </table> | 92 | </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·--> | 93 | </div><!--·contents·--> |
110 | <!--·start·footer·part·--> | 94 | <!--·start·footer·part·--> |
111 | <hr·class="footer"/><address·class="footer"><small> | 95 | <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 | 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 |
113 | </small></address> | 97 | </small></address> |
114 | </body> | 98 | </body> |
115 | </html> | 99 | </html> |
Offset 1, 23 lines modified | Offset 1, 19 lines modified | ||
1 | dune-grid-glue 2.10 | 1 | dune-grid-glue 2.10 |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | ····*·_\x8d_\x8u_\x8n_\x8e | 5 | ····*·_\x8d_\x8u_\x8n_\x8e |
6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e | 6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e |
7 | ····*·_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g | 7 | ····*·_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g |
8 | _\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s | 8 | _\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s |
9 | 9 | contactmerge.cc·File·Reference | |
10 | #include·<_\x8d_\x8u_\x8n_\x8e_\x8/_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e_\x8/_\x8c_\x8o_\x8m_\x8m_\x8o_\x8n_\x8/_\x8c_\x8r_\x8o_\x8s_\x8s_\x8p_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8._\x8h_\x8h> | ||
11 | #include·<_\x8d_\x8u_\x8n_\x8e_\x8/_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e_\x8/_\x8c_\x8o_\x8m_\x8m_\x8o_\x8n_\x8/_\x8p_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8._\x8h_\x8h> | ||
10 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 12 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
11 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s | 13 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s |
12 | namespace· ·_\x8D_\x8u_\x8n_\x8e | 14 | namespace· ·_\x8D_\x8u_\x8n_\x8e |
13 | 15 | ||
14 | namespace· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e | 16 | namespace· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e |
15 | 17 | ||
16 | M\x8Ma\x8ac\x8cr\x8ro\x8os\x8s | ||
17 | #define ·_\x8D_\x8U_\x8N_\x8E_\x8__\x8G_\x8R_\x8I_\x8D_\x8G_\x8L_\x8U_\x8E_\x8__\x8O_\x8V_\x8E_\x8R_\x8L_\x8A_\x8P_\x8P_\x8I_\x8N_\x8G_\x8M_\x8E_\x8R_\x8G_\x8E_\x8__\x8C_\x8C | ||
18 | |||
19 | *\x8**\x8**\x8**\x8**\x8*·M\x8Ma\x8ac\x8cr\x8ro\x8o·D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·D\x8Do\x8oc\x8cu\x8um\x8me\x8en\x8nt\x8ta\x8at\x8ti\x8io\x8on\x8n·*\x8**\x8**\x8**\x8**\x8* | ||
20 | *\x8**\x8**\x8**\x8**\x8*·_\x8?\x8◆_\x8?\x8 D\x8DU\x8UN\x8NE\x8E_\x8_G\x8GR\x8RI\x8ID\x8DG\x8GL\x8LU\x8UE\x8E_\x8_O\x8OV\x8VE\x8ER\x8RL\x8LA\x8AP\x8PP\x8PI\x8IN\x8NG\x8GM\x8ME\x8ER\x8RG\x8GE\x8E_\x8_C\x8CC\x8C·*\x8**\x8**\x8**\x8**\x8* | ||
21 | #define·DUNE_GRIDGLUE_OVERLAPPINGMERGE_CC | ||
22 | =============================================================================== | 18 | =============================================================================== |
23 | ·····Generated·by _\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]·1.9.8 | 19 | ·····Generated·by _\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]·1.9.8 |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-grid-glue:· | 8 | <title>dune-grid-glue:·contactmerge.cc·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 74, 215 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="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·<<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> | ||
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="a00092.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="comment">//#include·<algorithm></span></div> | ||
91 | <div·class="line"><a·id="l0000 | 90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span>·</div> |
92 | <div·class="line"><a·id="l000 | 91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00103.html">Dune</a>·{</div> |
93 | <div·class="line"><a·id="l0001 | 92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="keyword">namespace·</span>GridGlue·{</div> |
94 | <div·class="line"><a·id="l0001 | 93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div> |
95 | <div·class="line"><a·id="l0001 | 94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="keyword">template</span><<span·class="keywordtype">int</span>·dimworld,·<span·class="keyword">typename</span>·T></div> |
96 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="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> | ||
98 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>····T·eps·=·1e-8;</div> | ||
99 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> | ||
100 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>····assert(dim1·==·3·&&·dim2·==·3·&&·dimworld·==·3);</div> | ||
101 | <div·class="line"><a·id="l0001 | 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> | ||
102 | <div·class="line"><a·id="l0002 | 104 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>{</div> |
105 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>····<span·class="keyword">using·</span>std::get;</div> | ||
103 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>····FieldVector<T,dimworld>·v1·=·points[1]-points[0];</div> | ||
104 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>····FieldVector<T,dimworld>·v2·=·points[2]-points[0];</div> | ||
105 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>····FieldVector<T,dimworld>·v3·=·points[3]-points[0];</div> | ||
106 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> | 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>···· | 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>····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="l000 | 109 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>····<span·class="comment">//·Initialize</span></div> |
113 | <div·class="line"><a·id="l000 | 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> | ||
114 | <div·class="line"><a·id="l0003 | 112 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div> |
115 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="keyword">template</span><<span·class="keywordtype">int</span>·dim1,·<span·class="keywordtype">int</span>·dim2,·<span·class="keywordtype">int</span>·dimworld,·<span·class="keyword">typename</span>·T></div> | ||
116 | <div·class="foldopen"·id="foldopen00034"·data-start="{"·data-end="}"> | ||
117 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno"><a·class="line"·href="a01114.html#a6303e85feb1c815ce1ec5771851d7429">···34</a></span><span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01114.html#a6303e85feb1c815ce1ec5771851d7429">OverlappingMerge<dim1,dim2,dimworld,·T>::computeIntersections</a>(<span·class="keyword">const</span>·Dune::GeometryType&·grid1ElementType,</div> | ||
118 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>···············································<span·class="keyword">const</span>·std::vector<Dune::FieldVector<T,dimworld>·>&·grid1ElementCorners,</div> | ||
119 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>···············································std::bitset<(1<<dim1)>&·neighborIntersects1,</div> | ||
120 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>···············································<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·grid1Index,</div> | ||
121 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>···············································<span·class="keyword">const</span>·Dune::GeometryType&·grid2ElementType,</div> | ||
122 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>···············································<span·class="keyword">const</span>·std::vector<Dune::FieldVector<T,dimworld>·>&·grid2ElementCorners,</div> | ||
123 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>···············································std::bitset<(1<<dim2)>&·neighborIntersects2,</div> | ||
124 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>···············································<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·grid2Index,</div> | ||
125 | <div·class="line"><a·id="l000 | 113 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>····<span·class="keyword">const</span>·<span·class="keywordtype">int</span>·nCorners1·=·grid1ElementCorners.size();</div> |
114 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>····<span·class="keyword">const</span>·<span·class="keywordtype">int</span>·nCorners2·=·grid2ElementCorners.size();</div> | ||
115 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div> | ||
116 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>····<span·class="keywordflow">if</span>·(nCorners1·!=·dimworld)</div> | ||
117 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>······DUNE_THROW(Dune::Exception,·<span·class="stringliteral">"element1·must·have·"</span>·<<·dimworld·<<·<span·class="stringliteral">"·corners,·but·has·"</span>·<<·nCorners1);</div> | ||
118 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>····<span·class="keywordflow">if</span>·(nCorners2·!=·dimworld)</div> | ||
119 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>······DUNE_THROW(Dune::Exception,·<span·class="stringliteral">"element2·must·have·"</span>·<<·dimworld·<<·<span·class="stringliteral">"·corners,·but·has·"</span>·<<·nCorners2);</div> | ||
120 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div> | ||
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> | ||
126 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span> | 125 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div> |
127 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>····<span·class=" | 126 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>····<span·class="comment">//·The·grid2·projection·directions</span></div> |
128 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div> | ||
129 | <div·class="line"><a·id="l0004 | 127 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>····std::vector<WorldCoords>·directions2(nCorners2);</div> |
130 | <div·class="line"><a·id="l0004 | 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> | ||
131 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div> | 130 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div> |
132 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>····<span·class=" | 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> | ||
133 | <div·class="line"><a·id="l0005 | 138 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·</div> |
134 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span><span·class="preprocessor">#ifndef·NDEBUG</span></div> | ||
135 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>····<span·class="keyword">const</span>·<span·class="keyword">auto</span>&·refElement1·=·Dune::ReferenceElements<T,dim1>::general(grid1ElementType);</div> | ||
136 | <div·class="line"><a·id="l0005 | 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> | ||
137 | <div·class="line"><a·id="l000 | 142 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div> |
138 | <div·class="line"><a·id="l000 | 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> |
139 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>····assert((<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>)(refElement1.size(dim1))·==·grid1ElementCorners.size());</div> | ||
140 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>····assert((<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>)(refElement2.size(dim2))·==·grid2ElementCorners.size());</div> | ||
141 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span><span·class="preprocessor">#endif</span></div> | ||
142 | <div·class="line"><a·id="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> | ||
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> | 144 | <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="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> | ||
Max diff block lines reached; 48827/92931 bytes (52.54%) of diff not shown. |
Offset 1, 244 lines modified | Offset 1, 439 lines modified | ||
1 | dune-grid-glue 2.10 | 1 | dune-grid-glue 2.10 |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | ····*·_\x8d_\x8u_\x8n_\x8e | 5 | ····*·_\x8d_\x8u_\x8n_\x8e |
6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e | 6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e |
7 | ····*·_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g | 7 | ····*·_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g |
8 | 8 | contactmerge.cc | |
9 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 9 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: | 11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: |
12 | 3//·SPDX-FileCopyrightInfo:·Copyright·Â©·DUNE·Project·contributors,·see·file | 12 | 3//·SPDX-FileCopyrightInfo:·Copyright·Â©·DUNE·Project·contributors,·see·file |
13 | LICENSE.md·in·module·root | 13 | LICENSE.md·in·module·root |
14 | 4//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with- | 14 | 4//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with- |
15 | dune-grid-glue-exception | 15 | dune-grid-glue-exception |
16 | 5 | 16 | 5 |
17 | 6#include·<_\x8d_\x8u_\x8n_\x8e_\x8/_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e_\x8/_\x8c_\x8o_\x8m_\x8m_\x8o_\x8n_\x8/_\x8c_\x8r_\x8o_\x8s_\x8s_\x8p_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8._\x8h_\x8h> | ||
18 | 7#include·<_\x8d_\x8u_\x8n_\x8e_\x8/_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e_\x8/_\x8c_\x8o_\x8m_\x8m_\x8o_\x8n_\x8/_\x8p_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8._\x8h_\x8h> | ||
19 | 8 | ||
17 | 6#ifndef·DUNE_GRIDGLUE_OVERLAPPINGMERGE_CC | ||
18 | _\x87#define·DUNE_GRIDGLUE_OVERLAPPINGMERGE_CC | ||
19 | 8//#include·<algorithm> | ||
20 | 9 | ||
21 | 20 | 9namespace·_\x8D_\x8u_\x8n_\x8e·{ | |
22 | 1 | 21 | 10namespace·GridGlue·{ |
23 | 1 | 22 | 11 |
24 | 1 | 23 | 12template<int·dimworld,·typename·T> |
25 | 14bool·OverlappingMerge<dim1,dim2,dimworld,·T>::inPlane(std:: | ||
26 | vector<FieldVector<T,dimworld>·>&·points)·{ | ||
27 | 15 | ||
28 | 16·T·eps·=·1e-8; | ||
29 | 17 | ||
30 | 18·assert(dim1·==·3·&&·dim2·==·3·&&·dimworld·==·3); | ||
31 | 19·assert(points.size()·==·4); | ||
32 | 20 | ||
33 | 21·FieldVector<T,dimworld>·v1·=·points[1]-points[0]; | ||
34 | 22·FieldVector<T,dimworld>·v2·=·points[2]-points[0]; | ||
35 | 24 | 13void·ContactMerge<dimworld,·T>::computeIntersections(const·Dune:: | |
25 | GeometryType&·grid1ElementType, | ||
26 | 14·const·std::vector<Dune::FieldVector<T,dimworld>·>&·grid1ElementCorners, | ||
27 | 15·std::bitset<(1<<dim)>&·neighborIntersects1, | ||
28 | 16·unsigned·int·grid1Index, | ||
29 | 17·const·Dune::GeometryType&·grid2ElementType, | ||
30 | 18·const·std::vector<Dune::FieldVector<T,dimworld>·>&·grid2ElementCorners, | ||
31 | 19·std::bitset<(1<<dim)>&·neighborIntersects2, | ||
32 | 20·unsigned·int·grid2Index, | ||
33 | 21·std::vector<SimplicialIntersection>&·_\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8s) | ||
34 | 22{ | ||
35 | 23·using·std::get; | ||
36 | 24 | 36 | 24 |
37 | 25·FieldVector<T,dimworld>·v1xv2; | ||
38 | 26·v1xv2[0]·=·v1[1]*v2[2]·-·v1[2]*v2[1]; | ||
39 | 27·v1xv2[1]·=·v1[2]*v2[0]·-·v1[0]*v2[2]; | ||
40 | 28·v1xv2[2]·=·v1[0]*v2[1]·-·v1[1]*v2[0]; | ||
41 | 29 | ||
42 | 30·return·(std::abs(v3.dot(v1xv2))·<·eps); | ||
43 | 31} | ||
44 | 32 | ||
45 | 33template<int·dim1,·int·dim2,·int·dimworld,·typename·T> | ||
46 | _\x83_\x84void·_\x8O_\x8v_\x8e_\x8r_\x8l_\x8a_\x8p_\x8p_\x8i_\x8n_\x8g_\x8M_\x8e_\x8r_\x8g_\x8e_\x8<_\x8d_\x8i_\x8m_\x81_\x8,_\x8d_\x8i_\x8m_\x82_\x8,_\x8d_\x8i_\x8m_\x8w_\x8o_\x8r_\x8l_\x8d_\x8,_\x8·_\x8T_\x8>_\x8:_\x8:_\x8c_\x8o_\x8m_\x8p_\x8u_\x8t_\x8e_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8s(const | ||
47 | Dune::GeometryType&·grid1ElementType, | ||
48 | 35·const·std::vector<Dune::FieldVector<T,dimworld>·>&·grid1ElementCorners, | ||
49 | 36·std::bitset<(1<<dim1)>&·neighborIntersects1, | ||
50 | 37·unsigned·int·grid1Index, | ||
51 | 38·const·Dune::GeometryType&·grid2ElementType, | ||
52 | 39·const·std::vector<Dune::FieldVector<T,dimworld>·>&·grid2ElementCorners, | ||
53 | 40·std::bitset<(1<<dim2)>&·neighborIntersects2, | ||
54 | 41·unsigned·int·grid2Index, | ||
55 | 37 | 25·std::vector<std::array<LocalCoords,2>·>·polytopeCorners; | |
38 | 26 | ||
39 | 27·//·Initialize | ||
40 | 28·neighborIntersects1.reset(); | ||
41 | 29·neighborIntersects2.reset(); | ||
42 | 30 | ||
43 | 31·const·int·nCorners1·=·grid1ElementCorners.size(); | ||
44 | 32·const·int·nCorners2·=·grid2ElementCorners.size(); | ||
45 | 33 | ||
46 | 34·if·(nCorners1·!=·dimworld) | ||
47 | 35·DUNE_THROW(Dune::Exception,·"element1·must·have·"·<<·dimworld·<<·"·corners, | ||
48 | but·has·"·<<·nCorners1); | ||
49 | 36·if·(nCorners2·!=·dimworld) | ||
50 | 37·DUNE_THROW(Dune::Exception,·"element2·must·have·"·<<·dimworld·<<·"·corners, | ||
51 | but·has·"·<<·nCorners2); | ||
52 | 38 | ||
53 | 39·//·The·grid1·projection·directions | ||
54 | 40·std::vector<WorldCoords>·directions1(nCorners1); | ||
55 | 41·for·(size_t·i=0;·i<directions1.size();·i++) | ||
56 | 42·directions1[i]·=·nodalDomainDirections_[this->grid1ElementCorners_ | ||
57 | [grid1Index][i]]; | ||
56 | 43 | 58 | 43 |
57 | 44·using·std::min; | ||
58 | 45 | ||
59 | 46·this->counter++; | ||
60 | 4 | 59 | 44·//·The·grid2·projection·directions |
60 | 45·std::vector<WorldCoords>·directions2(nCorners2); | ||
61 | 46·for·(size_t·i=0;·i<directions2.size();·i++) | ||
62 | 47·directions2[i]·=·nodalTargetDirections_[this->grid2ElementCorners_ | ||
63 | [grid2Index][i]]; | ||
61 | 48 | 64 | 48 |
62 | 49·typedef·_\x8S_\x8i_\x8m_\x8p_\x8l_\x8e_\x8x_\x8M_\x8e_\x8t_\x8h_\x8o_\x8d_\x8<_\x8d_\x8i_\x8m_\x8w_\x8o_\x8r_\x8l_\x8d_\x8,_\x8d_\x8i_\x8m_\x81_\x8,_\x8d_\x8i_\x8m_\x82_\x8,_\x8T_\x8>·CM; | ||
63 | 50 | ||
64 | 51#ifndef·NDEBUG | ||
65 | 52·const·auto&·refElement1·=·Dune::ReferenceElements<T,dim1>::general | ||
66 | (grid1ElementType); | ||
67 | 65 | 49·//·The·difference·between·the·closest·point·projection·and·the·normal | |
66 | projection·is·just·the·ordering | ||
67 | 50·//·of·the·involved·surfaces.·The·closest·point·projection·is·done·along·the | ||
68 | outer·normal·field·of·grid2 | ||
69 | 51·//·(due·to·being·a·best·approximation)·and·the·outer·normal·projection·is | ||
70 | using·the·outer·normal·field | ||
71 | 52·//·of·grid1·instead. | ||
72 | 53·std::array<decltype(std::cref(grid1ElementCorners)),2>·cornersRef·={std:: | ||
73 | cref(grid1ElementCorners),·std::cref(grid2ElementCorners)}; | ||
74 | 54·std::array<decltype(std::cref(directions1)),2>·directionsRef·={std::cref | ||
75 | (directions1),·std::cref(directions2)}; | ||
76 | 55·std::array<Dune::GeometryType,2>·elementTypes·=·{grid1ElementType, | ||
68 | 77 | grid2ElementType}; | |
78 | 56 | ||
79 | 57·//·Determine·which·is·the·grid·we·use·for·outer·normal·projection | ||
80 | 58·const·size_t·domGrid·=·(type_==ProjectionType::OUTER_NORMAL)·?·0·:·1; | ||
81 | 59·const·size_t·tarGrid·=·(type_==ProjectionType::OUTER_NORMAL)·?·1·:·0; | ||
82 | 60 | ||
83 | 62·//·Compute·all·corners·of·the·intersection·polytope | ||
69 | 54 | ||
70 | 55·//·A·few·consistency·checks | ||
71 | 56·assert((unsigned·int)(refElement1.size(dim1))·==·grid1ElementCorners.size | ||
72 | ()); | ||
Max diff block lines reached; 20258/26256 bytes (77.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:·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, 48 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"> | 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 | <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·"config.h"</code><br·/> |
85 | <code>#include·<vector></code><br·/> | ||
86 | <code>#include·<algorithm></code><br·/> | ||
87 | <code>#include·<bitset></code><br·/> | ||
88 | <code>#include·<dune/common/fmatrix.hh></code><br·/> | ||
89 | <code>#include·<dune/common/fvector.hh></code><br·/> | ||
90 | <code>#include·<dune/geometry/referenceelements.hh></code><br·/> | ||
91 | <code>#include·& | 84 | <code>#include·"<a·class="el"·href="a00098_source.html">standardmerge.hh</a>"</code><br·/> |
92 | </div> | ||
93 | <p><a·href="a00095_source.html">Go·to·the·source·code·of·this·file.</a></p> | ||
94 | <table·class="memberdecls"> | 85 | </div><table·class="memberdecls"> |
95 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | ||
96 | Classes</h2></td></tr> | ||
97 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="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> | ||
99 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
100 | </table><table·class="memberdecls"> | ||
101 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 86 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
102 | Namespaces</h2></td></tr> | 87 | 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> | 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> |
104 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 89 | <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> | 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> |
106 | <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> | ||
107 | </table> | 108 | </table> |
108 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> | ||
109 | < | 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> | ||
Max diff block lines reached; 243/10664 bytes (2.28%) of diff not shown. |
Offset 1, 32 lines modified | Offset 1, 52 lines modified | ||
1 | dune-grid-glue 2.10 | 1 | dune-grid-glue 2.10 |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | ····*·_\x8d_\x8u_\x8n_\x8e | 5 | ····*·_\x8d_\x8u_\x8n_\x8e |
6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e | 6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e |
7 | ····*·_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g | 7 | ····*·_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g |
8 | _\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s·|·_\x8M_\x8a_\x8c_\x8r_\x8o_\x8s·|·_\x8F_\x8u_\x8n_\x8c_\x8t_\x8i_\x8o_\x8n_\x8s | ||
9 | standardmerge.cc·File·Reference | ||
10 | #include·"config.h" | ||
11 | #include·"_\x8s_\x8t_\x8a_\x8n_\x8d_\x8a_\x8r_\x8d_\x8m_\x8e_\x8r_\x8g_\x8e_\x8._\x8h_\x8h" | ||
8 | _\x8C_\x8l_\x8a_\x8s_\x8s_\x8e_\x8s·|·_\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s | ||
9 | conformingmerge.hh·File·Reference | ||
10 | Implementation·of·the·Merger·concept·for·conforming·interfaces.·_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
11 | #include·<iomanip> | ||
12 | #include·<vector> | ||
13 | #include·<algorithm> | ||
14 | #include·<bitset> | ||
15 | #include·<dune/common/fmatrix.hh> | ||
16 | #include·<dune/common/fvector.hh> | ||
17 | #include·<dune/geometry/referenceelements.hh> | ||
18 | #include·<_\x8d_\x8u_\x8n_\x8e_\x8/_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e_\x8/_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g_\x8/_\x8s_\x8t_\x8a_\x8n_\x8d_\x8a_\x8r_\x8d_\x8m_\x8e_\x8r_\x8g_\x8e_\x8._\x8h_\x8h> | ||
19 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | ||
20 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s | ||
21 | class· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8C_\x8o_\x8n_\x8f_\x8o_\x8r_\x8m_\x8i_\x8n_\x8g_\x8M_\x8e_\x8r_\x8g_\x8e_\x8<_\x8·_\x8d_\x8i_\x8m_\x8,_\x8·_\x8d_\x8i_\x8m_\x8w_\x8o_\x8r_\x8l_\x8d_\x8,_\x8·_\x8T_\x8·_\x8> | ||
22 | ·······Implementation·of·the·_\x8M_\x8e_\x8r_\x8g_\x8e_\x8r·concept·for·conforming·interfaces.·_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
23 | |||
24 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s | 12 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s |
25 | namespace· ·_\x8D_\x8u_\x8n_\x8e | 13 | namespace· ·_\x8D_\x8u_\x8n_\x8e |
26 | 14 | ||
27 | namespace· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e | 15 | namespace· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e |
28 | 16 | ||
29 | *\x8**\x8**\x8**\x8**\x8*·D\x8De\x8et\x8ta\x8ai\x8il\x8le\x8ed\x8d·D\x8De\x8es\x8sc\x8cr\x8ri\x8ip\x8pt\x8ti\x8io\x8on\x8n·*\x8**\x8**\x8**\x8**\x8* | ||
30 | 17 | M.Ma.ac.cr.ro.os.s | |
18 | #define ·_\x8D_\x8E_\x8C_\x8L | ||
19 | |||
20 | #define ·_\x8S_\x8T_\x8A_\x8N_\x8D_\x8A_\x8R_\x8D_\x8__\x8M_\x8E_\x8R_\x8G_\x8E_\x8__\x8I_\x8N_\x8S_\x8T_\x8A_\x8N_\x8T_\x8I_\x8A_\x8T_\x8E(T,·A,·B,·C) | ||
21 | |||
22 | F\x8Fu\x8un\x8nc\x8ct\x8ti\x8io\x8on\x8ns\x8s | ||
23 | ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8S_\x8T_\x8A_\x8N_\x8D_\x8A_\x8R_\x8D_\x8__\x8M_\x8E_\x8R_\x8G_\x8E_\x8__\x8I_\x8N_\x8S_\x8T_\x8A_\x8N_\x8T_\x8I_\x8A_\x8T_\x8E·(double,·1,·1,·1) | ||
24 | |||
25 | ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8S_\x8T_\x8A_\x8N_\x8D_\x8A_\x8R_\x8D_\x8__\x8M_\x8E_\x8R_\x8G_\x8E_\x8__\x8I_\x8N_\x8S_\x8T_\x8A_\x8N_\x8T_\x8I_\x8A_\x8T_\x8E·(double,·2,·2,·2) | ||
26 | |||
27 | ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8S_\x8T_\x8A_\x8N_\x8D_\x8A_\x8R_\x8D_\x8__\x8M_\x8E_\x8R_\x8G_\x8E_\x8__\x8I_\x8N_\x8S_\x8T_\x8A_\x8N_\x8T_\x8I_\x8A_\x8T_\x8E·(double,·3,·3,·3) | ||
28 | |||
29 | *\x8**\x8**\x8**\x8**\x8*·M\x8Ma\x8ac\x8cr\x8ro\x8o·D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·D\x8Do\x8oc\x8cu\x8um\x8me\x8en\x8nt\x8ta\x8at\x8ti\x8io\x8on\x8n·*\x8**\x8**\x8**\x8**\x8* | ||
30 | *\x8**\x8**\x8**\x8**\x8*·_\x8?\x8◆_\x8?\x8 D\x8DE\x8EC\x8CL\x8L·*\x8**\x8**\x8**\x8**\x8* | ||
31 | #define·DECL | ||
32 | *\x8**\x8**\x8**\x8**\x8*·_\x8?\x8◆_\x8?\x8 S\x8ST\x8TA\x8AN\x8ND\x8DA\x8AR\x8RD\x8D_\x8_M\x8ME\x8ER\x8RG\x8GE\x8E_\x8_I\x8IN\x8NS\x8ST\x8TA\x8AN\x8NT\x8TI\x8IA\x8AT\x8TE\x8E·*\x8**\x8**\x8**\x8**\x8* | ||
33 | #define·STANDARD_MERGE_INSTANTIATE·(· ·T, | ||
34 | ····································· ·A, | ||
35 | ····································· ·B, | ||
36 | ····································· ·C | ||
37 | ···································) | ||
38 | V\x8Va\x8al\x8lu\x8ue\x8e:\x8: | ||
39 | _\x8D_\x8E_\x8C_\x8L·template·\ | ||
40 | void·StandardMerge<T,A,B,C>::build(const·std::vector<Dune::FieldVector<T,C>·>& | ||
41 | grid1_coords,·\ | ||
42 | const·std::vector<unsigned·int>&·grid1_elements,·\ | ||
43 | const·std::vector<Dune::GeometryType>&·grid1_element_types,·\ | ||
44 | const·std::vector<Dune::FieldVector<T,C>·>&·grid2_coords,·\ | ||
45 | const·std::vector<unsigned·int>&·grid2_elements,·\ | ||
46 | const·std::vector<Dune::GeometryType>&·grid2_element_types·\ | ||
47 | ) | ||
48 | _\x8D_\x8E_\x8C_\x8L | ||
49 | #define·DECL | ||
50 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·standardmerge.cc:12 | ||
31 | =============================================================================== | 51 | =============================================================================== |
32 | ·····Generated·by _\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]·1.9.8 | 52 | ·····Generated·by _\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]·1.9.8 |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-grid-glue:· | 8 | <title>dune-grid-glue:·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 72, 46 lines modified | Offset 72, 138 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_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>·| | ||
79 | <a·href="#func-members">Functions</a>··</div> | 80 | <a·href="#func-members">Functions</a>··</div> |
80 | ··<div·class="headertitle"><div·class="title"> | 81 | ··<div·class="headertitle"><div·class="title">standardmerge.hh·File·Reference</div></div> |
81 | </div><!--header--> | 82 | </div><!--header--> |
82 | <div·class="contents"> | 83 | <div·class="contents"> |
84 | <p>Common·base·class·for·many·merger·implementations:·produce·pairs·of·entities·that·<em>may</em>·intersect.·· | ||
85 | <a·href="#details">More...</a></p> | ||
83 | <div·class="textblock"><code>#include·< | 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·/> | ||
84 | <code>#include·<dune/common/f | 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·/> | ||
85 | <code>#include·& | 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="a00071_source.html">dune/grid-glue/merging/merger.hh</a>></code><br·/> | ||
86 | <code>#include·& | 103 | <code>#include·<<a·class="el"·href="a00077_source.html">dune/grid-glue/merging/computeintersection.hh</a>></code><br·/> |
87 | </div> | 104 | </div> |
88 | <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> |
89 | <table·class="memberdecls"> | 106 | <table·class="memberdecls"> |
90 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 107 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
91 | Classes</h2></td></tr> | 108 | Classes</h2></td></tr> |
92 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01 | 109 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01162.html">Dune::GridGlue::StandardMerge<·T,·grid1Dim,·grid2Dim,·dimworld·></a></td></tr> |
110 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Common·base·class·for·many·merger·implementations:·produce·pairs·of·entities·that·<em>may</em>·intersect.··<a·href="a01162.html#details">More...</a><br·/></td></tr> | ||
93 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
94 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="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> | 111 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
97 | </table><table·class="memberdecls"> | 112 | </table><table·class="memberdecls"> |
98 | <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> |
99 | Namespaces</h2></td></tr> | 114 | 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> | 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> |
101 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 116 | <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> | 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> |
103 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 118 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
104 | </table><table·class="memberdecls"> | 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"> | ||
105 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> | 127 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> |
106 | Functions</h2></td></tr> | 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> | ||
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:a2 | 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> | ||
110 | </table> | 135 | </table> |
136 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> | ||
137 | <div·class="textblock"><p>Common·base·class·for·many·merger·implementations:·produce·pairs·of·entities·that·<em>may</em>·intersect.·</p> | ||
138 | </div><h2·class="groupheader">Macro·Definition·Documentation</h2> | ||
139 | <a·id="ad5c7ca0181fea7823b37d06d5f61e9cd"·name="ad5c7ca0181fea7823b37d06d5f61e9cd"></a> | ||
140 | <h2·class="memtitle"><span·class="permalink"><a·href="#ad5c7ca0181fea7823b37d06d5f61e9cd">◆ </a></span>DECL</h2> | ||
141 | <div·class="memitem"> | ||
142 | <div·class="memproto"> | ||
143 | ······<table·class="memname"> | ||
144 | ········<tr> | ||
145 | ··········<td·class="memname">#define·DECL   extern</td> | ||
146 | ········</tr> | ||
147 | ······</table> | ||
148 | </div><div·class="memdoc"> | ||
149 | </div> | ||
150 | </div> | ||
151 | <a·id="a4a2b0f7fb92723749fc6d5cca82a4297"·name="a4a2b0f7fb92723749fc6d5cca82a4297"></a> | ||
152 | <h2·class="memtitle"><span·class="permalink"><a·href="#a4a2b0f7fb92723749fc6d5cca82a4297">◆ </a></span>STANDARD_MERGE_INSTANTIATE</h2> | ||
153 | <div·class="memitem"> | ||
154 | <div·class="memproto"> | ||
155 | ······<table·class="memname"> | ||
156 | ········<tr> | ||
157 | ··········<td·class="memname">#define·STANDARD_MERGE_INSTANTIATE</td> | ||
158 | ··········<td>(</td> | ||
159 | ··········<td·class="paramtype"> </td> | ||
160 | ··········<td·class="paramname">T,·</td> | ||
161 | ········</tr> | ||
162 | ········<tr> | ||
163 | ··········<td·class="paramkey"></td> | ||
164 | ··········<td></td> | ||
165 | ··········<td·class="paramtype"> </td> | ||
166 | ··········<td·class="paramname">A,·</td> | ||
167 | ········</tr> | ||
168 | ········<tr> | ||
169 | ··········<td·class="paramkey"></td> | ||
170 | ··········<td></td> | ||
171 | ··········<td·class="paramtype"> </td> | ||
172 | ··········<td·class="paramname">B,·</td> | ||
173 | ········</tr> | ||
Max diff block lines reached; 271/12885 bytes (2.10%) of diff not shown. |
Offset 1, 32 lines modified | Offset 1, 79 lines modified | ||
1 | dune-grid-glue 2.10 | 1 | dune-grid-glue 2.10 |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | ····*·_\x8d_\x8u_\x8n_\x8e | 5 | ····*·_\x8d_\x8u_\x8n_\x8e |
6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e | 6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e |
7 | ····*·_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g | 7 | ····*·_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g |
8 | _\x8C_\x8l_\x8a_\x8s_\x8s_\x8e_\x8s·|·_\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s·|·_\x8F_\x8u_\x8n_\x8c_\x8t_\x8i_\x8o_\x8n_\x8s | 8 | _\x8C_\x8l_\x8a_\x8s_\x8s_\x8e_\x8s·|·_\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s·|·_\x8M_.a_.c_.r_.o_.s·|·_.F_\x8u_\x8n_\x8c_\x8t_\x8i_\x8o_\x8n_\x8s |
9 | 9 | standardmerge.hh·File·Reference | |
10 | Common·base·class·for·many·merger·implementations:·produce·pairs·of·entities | ||
11 | that·m\x8ma\x8ay\x8y·intersect.·_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
12 | #include·<iostream> | ||
13 | #include·<iomanip> | ||
14 | #include·<vector> | ||
15 | #include·<stack> | ||
16 | #include·<set> | ||
17 | #include·<utility> | ||
18 | #include·<map> | ||
19 | #include·<memory> | ||
20 | #include·<algorithm> | ||
10 | #include·<dune/common/fvector.hh> | 21 | #include·<dune/common/fvector.hh> |
22 | #include·<dune/common/bitsetvector.hh> | ||
23 | #include·<dune/common/stdstreams.hh> | ||
11 | #include·<dune/common/ | 24 | #include·<dune/common/timer.hh> |
12 | #include·"_\x8s_\x8i_\x8m_\x8p_\x8l_\x8e_\x8x_\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8._\x8c_\x8c" | ||
13 | #include· | 25 | #include·<dune/geometry/referenceelements.hh> |
26 | #include·<dune/grid/common/grid.hh> | ||
27 | #include·<_\x8d_\x8u_\x8n_\x8e_\x8/_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e_\x8/_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g_\x8/_\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8l_\x8i_\x8s_\x8t_\x8._\x8h_\x8h> | ||
28 | #include·<_\x8d_\x8u_\x8n_\x8e_\x8/_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e_\x8/_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g_\x8/_\x8m_\x8e_\x8r_\x8g_\x8e_\x8r_\x8._\x8h_\x8h> | ||
29 | #include·<_\x8d_\x8u_\x8n_\x8e_\x8/_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e_\x8/_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g_\x8/_\x8c_\x8o_\x8m_\x8p_\x8u_\x8t_\x8e_\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8._\x8h_\x8h> | ||
14 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 30 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
15 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s | 31 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s |
32 | class· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8S_\x8t_\x8a_\x8n_\x8d_\x8a_\x8r_\x8d_\x8M_\x8e_\x8r_\x8g_\x8e_\x8<_\x8·_\x8T_\x8,_\x8·_\x8g_\x8r_\x8i_\x8d_\x81_\x8D_\x8i_\x8m_\x8,_\x8·_\x8g_\x8r_\x8i_\x8d_\x82_\x8D_\x8i_\x8m_\x8,_\x8·_\x8d_\x8i_\x8m_\x8w_\x8o_\x8r_\x8l_\x8d_\x8·_\x8> | ||
33 | ·······Common·base·class·for·many·merger·implementations:·produce·pairs·of | ||
34 | ········entities·that·m\x8ma\x8ay\x8y·intersect.·_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
16 | class· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8C_\x8o_\x8m_\x8p_\x8u_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8M_\x8e_\x8t_\x8h_\x8o_\x8d_\x8<_\x8·_\x8d_\x8i_\x8m_\x8W_\x8o_\x8r_\x8l_\x8d_\x8,_\x8·_\x8d_\x8i_\x8m_\x81_\x8,_\x8·_\x8d_\x8i_\x8m_\x82_\x8,_\x8·_\x8T_\x8·_\x8> | ||
17 | |||
18 | class· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8C_\x8o_\x8m_\x8p_\x8u_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8<_\x8·_\x8C_\x8M_\x8·_\x8> | ||
19 | ·······_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n·computation·method·for·two·elements·of·arbitrary | ||
20 | ········dimension.·_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
21 | 35 | ||
22 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s | 36 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s |
23 | namespace· ·_\x8D_\x8u_\x8n_\x8e | 37 | namespace· ·_\x8D_\x8u_\x8n_\x8e |
24 | 38 | ||
25 | namespace· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e | 39 | namespace· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e |
26 | 40 | ||
41 | M\x8Ma\x8ac\x8cr\x8ro\x8os\x8s | ||
42 | #define ·_\x8D_\x8E_\x8C_\x8L extern | ||
43 | |||
44 | #define ·_\x8S_\x8T_\x8A_\x8N_\x8D_\x8A_\x8R_\x8D_\x8__\x8M_\x8E_\x8R_\x8G_\x8E_\x8__\x8I_\x8N_\x8S_\x8T_\x8A_\x8N_\x8T_\x8I_\x8A_\x8T_\x8E(T,·A,·B,·C) | ||
45 | |||
27 | F\x8Fu\x8un\x8nc\x8ct\x8ti\x8io\x8on\x8ns\x8s | 46 | F\x8Fu\x8un\x8nc\x8ct\x8ti\x8io\x8on\x8ns\x8s |
28 | template<class·V·> | ||
29 | 47 | ·_.D_.u_.n_.e_.:_.:_.G_.r_.i_.d_.G_.l_.u_.e_.:_.:_.S_.T_.A_.N_.D_.A_.R_.D_.__.M_.E_.R_.G_.E_.__.I_.N_.S_.T_.A_.N_.T_.I_.A_.T_.E·(double,·1,·1,·1) | |
48 | |||
49 | ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8S_\x8T_\x8A_\x8N_\x8D_\x8A_\x8R_\x8D_\x8__\x8M_\x8E_\x8R_\x8G_\x8E_\x8__\x8I_\x8N_\x8S_\x8T_\x8A_\x8N_\x8T_\x8I_\x8A_\x8T_\x8E·(double,·2,·2,·2) | ||
50 | |||
51 | ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8S_\x8T_\x8A_\x8N_\x8D_\x8A_\x8R_\x8D_\x8__\x8M_\x8E_\x8R_\x8G_\x8E_\x8__\x8I_\x8N_\x8S_\x8T_\x8A_\x8N_\x8T_\x8I_\x8A_\x8T_\x8E·(double,·3,·3,·3) | ||
30 | 52 | ||
53 | *\x8**\x8**\x8**\x8**\x8*·D\x8De\x8et\x8ta\x8ai\x8il\x8le\x8ed\x8d·D\x8De\x8es\x8sc\x8cr\x8ri\x8ip\x8pt\x8ti\x8io\x8on\x8n·*\x8**\x8**\x8**\x8**\x8* | ||
54 | Common·base·class·for·many·merger·implementations:·produce·pairs·of·entities | ||
55 | that·m\x8ma\x8ay\x8y·intersect. | ||
56 | *\x8**\x8**\x8**\x8**\x8*·M\x8Ma\x8ac\x8cr\x8ro\x8o·D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·D\x8Do\x8oc\x8cu\x8um\x8me\x8en\x8nt\x8ta\x8at\x8ti\x8io\x8on\x8n·*\x8**\x8**\x8**\x8**\x8* | ||
57 | *\x8**\x8**\x8**\x8**\x8*·_\x8?\x8◆_\x8?\x8 D\x8DE\x8EC\x8CL\x8L·*\x8**\x8**\x8**\x8**\x8* | ||
58 | #define·DECL extern | ||
59 | *\x8**\x8**\x8**\x8**\x8*·_\x8?\x8◆_\x8?\x8 S\x8ST\x8TA\x8AN\x8ND\x8DA\x8AR\x8RD\x8D_\x8_M\x8ME\x8ER\x8RG\x8GE\x8E_\x8_I\x8IN\x8NS\x8ST\x8TA\x8AN\x8NT\x8TI\x8IA\x8AT\x8TE\x8E·*\x8**\x8**\x8**\x8**\x8* | ||
60 | #define·STANDARD_MERGE_INSTANTIATE·(· ·T, | ||
61 | ····································· ·A, | ||
62 | ····································· ·B, | ||
63 | ····································· ·C | ||
64 | ···································) | ||
65 | V\x8Va\x8al\x8lu\x8ue\x8e:\x8: | ||
66 | _\x8D_\x8E_\x8C_\x8L·template·\ | ||
67 | void·StandardMerge<T,A,B,C>::build(const·std::vector<Dune::FieldVector<T,C>·>& | ||
68 | grid1Coords,·\ | ||
69 | const·std::vector<unsigned·int>&·grid1_elements,·\ | ||
70 | const·std::vector<Dune::GeometryType>&·grid1_element_types,·\ | ||
71 | const·std::vector<Dune::FieldVector<T,C>·>&·grid2Coords,·\ | ||
72 | const·std::vector<unsigned·int>&·grid2_elements,·\ | ||
73 | const·std::vector<Dune::GeometryType>&·grid2_element_types·\ | ||
74 | ) | ||
75 | _\x8D_\x8E_\x8C_\x8L | ||
76 | #define·DECL | ||
77 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·standardmerge.hh:827 | ||
31 | =============================================================================== | 78 | =============================================================================== |
32 | ·····Generated·by _\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]·1.9.8 | 79 | ·····Generated·by _\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]·1.9.8 |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-grid-glue:· | 8 | <title>dune-grid-glue:·standardmerge.hh·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 74, 190 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">//· | 83 | <a·href="a00098.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | ||
85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·©·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div> | ||
84 | <div·class="line"><a·id="l0000 | 86 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with-dune-grid-glue-exception</span></div> |
85 | <div·class="line"><a·id="l000 | 87 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#ifndef·DUNE_GRIDGLUE_MERGING_STANDARDMERGE_HH</span></div> |
86 | <div·class="line"><a·id="l000 | 88 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#define·DUNE_GRIDGLUE_MERGING_STANDARDMERGE_HH</span></div> |
87 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> | ||
88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#include·<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="l0001 | 89 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div> |
94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="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="l0001 | 90 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> |
103 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno"><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="l000 | 91 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<iostream></span></div> |
92 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·<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> | ||
114 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span> | 108 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div> |
115 | </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="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> | ||
116 | <div·class="line"><a·id="l0003 | 112 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div> |
113 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00103.html">Dune</a>·{</div> | ||
117 | <div·class="line"><a·id="l0003 | 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> | ||
118 | <div·class="foldopen"·id="foldopen000 | 117 | <div·class="foldopen"·id="foldopen00056"·data-start="{"·data-end="};"> |
119 | <div·class="line"><a·id="l000 | 118 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno"><a·class="line"·href="a01162.html">···56</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01162.html">StandardMerge</a></div> |
119 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>··:·<span·class="keyword">public</span>·<a·class="code·hl_class"·href="a01110.html">Merger</a><T,grid1Dim,grid2Dim,dimworld></div> | ||
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> | ||
120 | <div·class="line"><a·id="l000 | 122 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div> |
121 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>····<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·CM::Vector·V;</div> | ||
122 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>····<span·class="keyword">const</span>·<span·class="keywordtype">int</span>·dimWorld·=·V::dimension;</div> | ||
123 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>····<span·class="keyword">const</span>·<span·class="keywordtype">int</span>·dim1·=·CM::grid1Dimension;</div> | ||
124 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>····<span·class="keyword">const</span>·<span·class="keywordtype">int</span>·dim2·=·CM::grid2Dimension;</div> | ||
125 | <div·class="line"><a·id="l000 | 123 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span><span·class="keyword">public</span>:</div> |
124 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div> | ||
125 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>··<span·class="comment">/*···E·X·P·O·R·T·E·D···T·Y·P·E·S···A·N·D···C·O·N·S·T·A·N·T·S···*/</span></div> | ||
126 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>····<span·class="keyword">static</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01070.html#af0e7174467aa9c3bbda479bdfdcabf48">computeIntersection</a>(<span·class="keyword">const</span>·std::vector<V>&·X,</div> | ||
127 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>····································<span·class="keyword">const</span>·std::vector<V>&·Y,</div> | ||
128 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>····································std::vector<std::vector<int>·>&·SX,</div> | ||
129 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>····································std::vector<std::vector<int>·>&·SY,</div> | ||
130 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>····································std::vector<V>&·P);</div> | ||
131 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>·</div> | 126 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>·</div> |
132 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>····<span·class="keyword">template</span><<span·class="keywordtype">int</span>·isDim,·<span·class="keywordtype">int</span>·dW></div> | ||
133 | <div·class="foldopen"·id="foldopen00075"·data-start="{"·data-end="}"> | ||
134 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno"><a·class="line"·href="a01070.html#a2553ca6100ff95dad59ca1355a080250">···75</a></span>····<span·class="keyword">static</span>·<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01070.html#a2553ca6100ff95dad59ca1355a080250">orderPoints</a>(<span·class="keyword">const</span>·V&·centroid,</div> | ||
135 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>····························<span·class="keyword">const</span>·std::vector<std::vector<int>·>&·SX,</div> | ||
136 | <div·class="line"><a·id="l000 | 127 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno"><a·class="line"·href="a01162.html#a3d284cb584f83589e0b94999b656959e">···66</a></span>··<span·class="keyword">typedef</span>·T·<a·class="code·hl_typedef"·href="a01162.html#a3d284cb584f83589e0b94999b656959e">ctype</[·...·truncated·by·diffoscope;·len:·3,·SHA:·ce0bdbe4babf87e829935b80b6bd7843ec8ba5a4fc763e2d8d5032c750e9808b·...·]</div> |
128 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div> | ||
129 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno"><a·class="line"·href="a01162.html#a08e3749b28fa4f6db1f0323cbf5cc708">···69</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01162.html#a08e3749b28fa4f6db1f0323cbf5cc708">Grid1Coords</a>·=·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a01110.html#a3824f8931b9bec9b19317e5799845783">Base::Grid1Coords</a>;</div> | ||
130 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div> | ||
131 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno"><a·class="line"·href="a01162.html#aaebefd3766c125d855695972d55ea926">···72</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01162.html#aaebefd3766c125d855695972d55ea926">Grid2Coords</a>·=·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a01110.html#aef3557713bdf003e676d382ce333e1d6">Base::Grid2Coords</a>;</div> | ||
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="l0007 | 137 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span><span·class="keyword">protected</span>:</div> |
138 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>····························std::vector<std::vector<int>·>&·H)</div> | ||
139 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>· | 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> | ||
140 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>········<span·class="keywordflow">if</span>·(isDim·>·1)</div> | ||
141 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>············orderPoints_(std::integral_constant<int,isDim>(),std::integral_constant<int,dW>(),</div> | ||
142 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>····················centroid,·SX,·SY,·P,H);</div> | ||
143 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>····}</div> | ||
Max diff block lines reached; 156480/181202 bytes (86.36%) of diff not shown. |
Offset 1, 214 lines modified | Offset 1, 989 lines modified | ||
1 | dune-grid-glue 2.10 | 1 | dune-grid-glue 2.10 |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | ····*·_\x8d_\x8u_\x8n_\x8e | 5 | ····*·_\x8d_\x8u_\x8n_\x8e |
6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e | 6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e |
7 | ····*·_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g | 7 | ····*·_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g |
8 | 8 | standardmerge.hh | |
9 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 9 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | ||
11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: | ||
10 | 12 | 3//·SPDX-FileCopyrightInfo:·Copyright·Â©·DUNE·Project·contributors,·see·file | |
11 | LICENSE.md·in·module·root | 13 | LICENSE.md·in·module·root |
12 | 14 | 4//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with- | |
13 | dune-grid-glue-exception | 15 | dune-grid-glue-exception |
14 | 3#ifndef·DUNE_GRIDGLUE_MERGING_COMPUTEINTERSECTION_HH | ||
15 | 4#define·DUNE_GRIDGLUE_MERGING_COMPUTEINTERSECTION_HH | ||
16 | 16 | 10#ifndef·DUNE_GRIDGLUE_MERGING_STANDARDMERGE_HH | |
17 | 11#define·DUNE_GRIDGLUE_MERGING_STANDARDMERGE_HH | ||
18 | 12 | ||
19 | 13 | ||
20 | 14#include·<iostream> | ||
21 | 15#include·<iomanip> | ||
22 | 16#include·<vector> | ||
23 | 17#include·<stack> | ||
24 | 18#include·<set> | ||
25 | 19#include·<utility> | ||
26 | 20#include·<map> | ||
27 | 21#include·<memory> | ||
28 | 22#include·<algorithm> | ||
29 | 23 | ||
17 | 30 | 24#include·<dune/common/fvector.hh> | |
31 | 25#include·<dune/common/bitsetvector.hh> | ||
32 | 26#include·<dune/common/stdstreams.hh> | ||
18 | 7#include·<dune/common/ | 33 | 27#include·<dune/common/timer.hh> |
19 | 8 | 34 | 28 |
35 | 29#include·<dune/geometry/referenceelements.hh> | ||
36 | 30#include·<dune/grid/common/grid.hh> | ||
37 | 31 | ||
38 | 32#include·<_\x8d_\x8u_\x8n_\x8e_\x8/_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e_\x8/_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g_\x8/_\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8l_\x8i_\x8s_\x8t_\x8._\x8h_\x8h> | ||
39 | 33#include·<_\x8d_\x8u_\x8n_\x8e_\x8/_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e_\x8/_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g_\x8/_\x8m_\x8e_\x8r_\x8g_\x8e_\x8r_\x8._\x8h_\x8h> | ||
40 | 34#include·<_\x8d_\x8u_\x8n_\x8e_\x8/_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e_\x8/_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g_\x8/_\x8c_\x8o_\x8m_\x8p_\x8u_\x8t_\x8e_\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8._\x8h_\x8h> | ||
41 | 35 | ||
20 | 42 | 36namespace·_\x8D_\x8u_\x8n_\x8e·{ | |
21 | 43 | 37namespace·GridGlue·{ | |
22 | 11 | ||
23 | 12template<int·dimWorld,·int·dim1,·int·dim2,·typename·T·=·double> | ||
24 | 44 | 38 | |
45 | 55template<class·T,·int·grid1Dim,·int·grid2Dim,·int·dimworld> | ||
46 | _\x85_\x86class·_\x8S_\x8t_\x8a_\x8n_\x8d_\x8a_\x8r_\x8d_\x8M_\x8e_\x8r_\x8g_\x8e | ||
47 | 57·:·public·_\x8M_\x8e_\x8r_\x8g_\x8e_\x8r<T,grid1Dim,grid2Dim,dimworld> | ||
48 | 58{ | ||
49 | 59·using·_\x8B_\x8a_\x8s_\x8e·=·_\x8M_\x8e_\x8r_\x8g_\x8e_\x8r_\x8<_\x8T_\x8,_\x8·_\x8g_\x8r_\x8i_\x8d_\x81_\x8D_\x8i_\x8m_\x8,_\x8·_\x8g_\x8r_\x8i_\x8d_\x82_\x8D_\x8i_\x8m_\x8,_\x8·_\x8d_\x8i_\x8m_\x8w_\x8o_\x8r_\x8l_\x8d_\x8>; | ||
50 | 60 | ||
25 | 51 | 61public: | |
52 | 62 | ||
53 | 63·/*·E·X·P·O·R·T·E·D·T·Y·P·E·S·A·N·D·C·O·N·S·T·A·N·T·S·*/ | ||
26 | _\x81_\x85·typedef·FieldVector<T,·dimWorld>·_\x8V_\x8e_\x8c_\x8t_\x8o_\x8r; | ||
27 | _\x81_\x86·static·const·int·_\x8g_\x8r_\x8i_\x8d_\x81_\x8D_\x8i_\x8m_\x8e_\x8n_\x8s_\x8i_\x8o_\x8n·=·dim1; | ||
28 | _\x81_\x87·static·const·int·_\x8g_\x8r_\x8i_\x8d_\x82_\x8D_\x8i_\x8m_\x8e_\x8n_\x8s_\x8i_\x8o_\x8n·=·dim2; | ||
29 | _\x81_\x88·static·const·int·_\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8D_\x8i_\x8m_\x8e_\x8n_\x8s_\x8i_\x8o_\x8n·=·(dim1·<·dim2)?(dim1):(dim2); | ||
30 | 19 | ||
31 | _\x82_\x80·static·bool·_\x8c_\x8o_\x8m_\x8p_\x8u_\x8t_\x8e_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8P_\x8o_\x8i_\x8n_\x8t_\x8s(const·std::vector<Vector>·X, | ||
32 | 21·const·std::vector<Vector>·Y, | ||
33 | 22·std::vector<std::vector<int>·>&·SX, | ||
34 | 23·std::vector<std::vector<int>·>&·SY, | ||
35 | 24·std::vector<Vector>&·P); | ||
36 | _\x82_\x85·static·void·_\x8g_\x8r_\x8i_\x8d_\x81_\x8__\x8s_\x8u_\x8b_\x8d_\x8i_\x8v_\x8i_\x8s_\x8i_\x8o_\x8n_\x8s(const·std::vector<Vector>·elementCorners, | ||
37 | 26·std::vector<std::vector<unsigned·int>·>&·subElements, | ||
38 | 27·std::vector<std::vector<int>·>&·faceIds); | ||
39 | _\x82_\x88·static·void·_\x8g_\x8r_\x8i_\x8d_\x82_\x8__\x8s_\x8u_\x8b_\x8d_\x8i_\x8v_\x8i_\x8s_\x8i_\x8o_\x8n_\x8s(const·std::vector<Vector>·elementCorners, | ||
40 | 29·std::vector<std::vector<unsigned·int>·>&·subElements, | ||
41 | 30·std::vector<std::vector<int>·>&·faceIds); | ||
42 | 31}; | ||
43 | 32 | ||
44 | 38template<class·CM> | ||
45 | _\x83_\x89class·_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8C_\x8o_\x8m_\x8p_\x8u_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n·{ | ||
46 | 40private: | ||
47 | 41·typedef·typename·CM::Vector·V; | ||
48 | 42·const·int·dimWorld·=·V::dimension; | ||
49 | 43·const·int·dim1·=·CM::grid1Dimension; | ||
50 | 44·const·int·dim2·=·CM::grid2Dimension; | ||
51 | 45public: | ||
52 | 59·static·bool·_\x8c_\x8o_\x8m_\x8p_\x8u_\x8t_\x8e_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n(const·std::vector<V>&·X, | ||
53 | 60·const·std::vector<V>&·Y, | ||
54 | 61·std::vector<std::vector<int>·>&·SX, | ||
55 | 62·std::vector<std::vector<int>·>&·SY, | ||
56 | 63·std::vector<V>&·P); | ||
57 | 64 | 54 | 64 |
58 | 74·template<int·isDim,·int·dW> | ||
59 | _\x87_\x85·static·void·_\x8o_\x8r_\x8d_\x8e_\x8r_\x8P_\x8o_\x8i_\x8n_\x8t_\x8s(const·V&·centroid, | ||
60 | 76·const·std::vector<std::vector<int>·>&·SX, | ||
61 | 77·const·std::vector<std::vector<int>·>&·SY, | ||
62 | 78·const·std::vector<V>&·P, | ||
63 | 79·std::vector<std::vector<int>·>&·H) | ||
64 | 80·{ | ||
65 | 81·if·(isDim·>·1) | ||
66 | 82·orderPoints_(std::integral_constant<int,isDim>(),std:: | ||
67 | integral_constant<int,dW>(), | ||
68 | 83·centroid,·SX,·SY,·P,H); | ||
69 | 55 | _.6_.6·typedef·T·_.c_.t_.y_.p_.e; | |
56 | 67 | ||
57 | _\x86_\x89·using·_\x8G_\x8r_\x8i_\x8d_\x81_\x8C_\x8o_\x8o_\x8r_\x8d_\x8s·=·typename·_\x8B_\x8a_\x8s_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x81_\x8C_\x8o_\x8o_\x8r_\x8d_\x8s; | ||
58 | 70 | ||
59 | _\x87_\x82·using·_\x8G_\x8r_\x8i_\x8d_\x82_\x8C_\x8o_\x8o_\x8r_\x8d_\x8s·=·typename·_\x8B_\x8a_\x8s_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x82_\x8C_\x8o_\x8o_\x8r_\x8d_\x8s; | ||
60 | 73 | ||
61 | _\x87_\x85·using·_\x8W_\x8o_\x8r_\x8l_\x8d_\x8C_\x8o_\x8o_\x8r_\x8d_\x8s·=·typename·_\x8B_\x8a_\x8s_\x8e_\x8:_\x8:_\x8W_\x8o_\x8r_\x8l_\x8d_\x8C_\x8o_\x8o_\x8r_\x8d_\x8s; | ||
62 | 76 | ||
63 | _\x87_\x87·using·_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8L_\x8i_\x8s_\x8t·=·typename·_\x8B_\x8a_\x8s_\x8e_\x8:_\x8:_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8L_\x8i_\x8s_\x8t; | ||
64 | 78 | ||
65 | 79protected: | ||
66 | 80 | ||
67 | _\x88_\x82·using·_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8L_\x8i_\x8s_\x8t_\x8P_\x8r_\x8o_\x8v_\x8i_\x8d_\x8e_\x8r·= | ||
68 | _\x8S_\x8i_\x8m_\x8p_\x8l_\x8i_\x8c_\x8i_\x8a_\x8l_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8L_\x8i_\x8s_\x8t_\x8P_\x8r_\x8o_\x8v_\x8i_\x8d_\x8e_\x8r_\x8<_\x8g_\x8r_\x8i_\x8d_\x81_\x8D_\x8i_\x8m_\x8,_\x8·_\x8g_\x8r_\x8i_\x8d_\x82_\x8D_\x8i_\x8m_\x8>; | ||
69 | _\x88_\x83·using·_\x8S_\x8i_\x8m_\x8p_\x8l_\x8i_\x8c_\x8i_\x8a_\x8l_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n·=·typename·_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8L_\x8i_\x8s_\x8t_\x8P_\x8r_\x8o_\x8v_\x8i_\x8d_\x8e_\x8r_\x8:_\x8: | ||
70 | _\x8S_\x8i_\x8m_\x8p_\x8l_\x8i_\x8c_\x8i_\x8a_\x8l_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n; | ||
71 | _\x88_\x84·using·_\x8R_\x8e_\x8m_\x8o_\x8t_\x8e_\x8S_\x8i_\x8m_\x8p_\x8l_\x8i_\x8c_\x8i_\x8a_\x8l_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n·=·_\x8S_\x8i_\x8m_\x8p_\x8l_\x8i_\x8c_\x8i_\x8a_\x8l_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n; | ||
70 | 85 | 72 | 85 |
73 | _\x88_\x86·bool·_\x8v_\x8a_\x8l_\x8i_\x8d·=·false; | ||
74 | 87 | ||
75 | _\x88_\x88·_\x8S_\x8t_\x8a_\x8n_\x8d_\x8a_\x8r_\x8d_\x8M_\x8e_\x8r_\x8g_\x8e() | ||
76 | 89·:·_\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8L_\x8i_\x8s_\x8t_\x8P_\x8r_\x8o_\x8v_\x8i_\x8d_\x8e_\x8r_\x8_(std::make_shared<_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8L_\x8i_\x8s_\x8t_\x8P_\x8r_\x8o_\x8v_\x8i_\x8d_\x8e_\x8r>()) | ||
77 | 90·,·_\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8L_\x8i_\x8s_\x8t_\x8_(std::make_shared<_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8L_\x8i_\x8s_\x8t> | ||
78 | (_\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8L_\x8i_\x8s_\x8t_\x8P_\x8r_\x8o_\x8v_\x8i_\x8d_\x8e_\x8r_\x8_)) | ||
79 | 91·{} | ||
80 | 92 | ||
81 | _\x89_\x83·virtual·_\x8~_\x8S_\x8t_\x8a_\x8n_\x8d_\x8a_\x8r_\x8d_\x8M_\x8e_\x8r_\x8g_\x8e()·=·default; | ||
Max diff block lines reached; 43703/53397 bytes (81.85%) 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, 15 lines modified | Offset 1530, 15 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="a00008_source.html">rangegenerators.hh</a></li> | 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> |
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="a0002 | 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="a0002 | 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="a000 | 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="a000 | 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="a000 | 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="a000 | 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="a000 | 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="a000 | 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·required·for·communication">CommInfo</a>·class·· | 82 | <p>forward·gather·scatter·to·user·defined·<a·class="el"·href="a00966.html"·title="collects·all·GridGlue·data·required·for·communication">CommInfo</a>·class·· |
83 | ·<a·href="a00962.html#details">More...</a></p> | 83 | ·<a·href="a00962.html#details">More...</a></p> |
84 | <p><code>#include·<<a·class="el"·href="a000 | 84 | <p><code>#include·<<a·class="el"·href="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="a000 | 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·required·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·required·for·communication·· |
85 | ·<a·href="a00966.html#details">More...</a></p> | 85 | ·<a·href="a00966.html#details">More...</a></p> |
86 | <p><code>#include·<<a·class="el"·href="a000 | 86 | <p><code>#include·<<a·class="el"·href="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="a000 | 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="a000 | 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="a000 | 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="a0001 | 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="a0001 | 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 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, 16 lines modified | Offset 492, 16 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="a000 | 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> |
505 | </body> | 505 | </body> |
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, 16 lines modified | Offset 248, 16 lines modified | ||
248 | ··</table> | 248 | ··</table> |
249 | ··</dd> | 249 | ··</dd> |
250 | </dl> | 250 | </dl> |
251 | </div> | 251 | </div> |
252 | </div> | 252 | </div> |
253 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul> | 253 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul> |
254 | <li><a·class="el"·href="a000 | 254 | <li><a·class="el"·href="a00077_source.html">computeintersection.hh</a></li> |
255 | <li><a·class="el"·href="a0007 | 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> |
262 | </body> | 262 | </body> |
Offset 85, 15 lines modified | Offset 85, 15 lines modified | ||
85 | ··<div·class="headertitle"><div·class="title">Dune::GridGlue::ConformingMerge<·dim,·dimworld,·T·>·Class·Template·Reference<span·class="mlabels"><span·class="mlabel">abstract</span></span></div></div> | 85 | ··<div·class="headertitle"><div·class="title">Dune::GridGlue::ConformingMerge<·dim,·dimworld,·T·>·Class·Template·Reference<span·class="mlabels"><span·class="mlabel">abstract</span></span></div></div> |
86 | </div><!--header--> | 86 | </div><!--header--> |
87 | <div·class="contents"> | 87 | <div·class="contents"> |
88 | <p>Implementation·of·the·<a·class="el"·href="a01110.html"·title="Abstract·base·for·all·classes·that·take·extracted·grids·and·build·sets·of·intersections.">Merger</a>·concept·for·conforming·interfaces.·· | 88 | <p>Implementation·of·the·<a·class="el"·href="a01110.html"·title="Abstract·base·for·all·classes·that·take·extracted·grids·and·build·sets·of·intersections.">Merger</a>·concept·for·conforming·interfaces.·· |
89 | ·<a·href="a01074.html#details">More...</a></p> | 89 | ·<a·href="a01074.html#details">More...</a></p> |
90 | <p><code>#include·<<a·class="el"·href="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="a0008 | 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="a0008 | 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 77, 15 lines modified | Offset 77, 15 lines modified | ||
77 | <a·href="#pub-types">Public·Types</a>·| | 77 | <a·href="#pub-types">Public·Types</a>·| |
78 | <a·href="#pub-methods">Public·Member·Functions</a>·| | 78 | <a·href="#pub-methods">Public·Member·Functions</a>·| |
79 | <a·href="a01079.html">List·of·all·members</a>··</div> | 79 | <a·href="a01079.html">List·of·all·members</a>··</div> |
80 | ··<div·class="headertitle"><div·class="title">Dune::GridGlue::IntersectionListProvider<·L0,·L1·>·Class·Template·Reference<span·class="mlabels"><span·class="mlabel">abstract</span></span></div></div> | 80 | ··<div·class="headertitle"><div·class="title">Dune::GridGlue::IntersectionListProvider<·L0,·L1·>·Class·Template·Reference<span·class="mlabels"><span·class="mlabel">abstract</span></span></div></div> |
81 | </div><!--header--> | 81 | </div><!--header--> |
82 | <div·class="contents"> | 82 | <div·class="contents"> |
83 | <p><code>#include·<<a·class="el"·href="a000 | 83 | <p><code>#include·<<a·class="el"·href="a00083_source.html">dune/grid-glue/merging/intersectionlist.hh</a>></code></p> |
84 | <div·class="dynheader"> | 84 | <div·class="dynheader"> |
85 | Inheritance·diagram·for·Dune::GridGlue::IntersectionListProvider<·L0,·L1·>:</div> | 85 | Inheritance·diagram·for·Dune::GridGlue::IntersectionListProvider<·L0,·L1·>:</div> |
86 | <div·class="dyncontent"> | 86 | <div·class="dyncontent"> |
87 | <div·class="center"><img·src="a01081.png"·border="0"·usemap="#a_dune_1_1_grid_glue_1_1_intersection_list_provider_3_01_l0_00_01_l1_01_4_inherit__map"·alt="Inheritance·graph"/></div> | 87 | <div·class="center"><img·src="a01081.png"·border="0"·usemap="#a_dune_1_1_grid_glue_1_1_intersection_list_provider_3_01_l0_00_01_l1_01_4_inherit__map"·alt="Inheritance·graph"/></div> |
88 | <map·name="a_dune_1_1_grid_glue_1_1_intersection_list_provider_3_01_l0_00_01_l1_01_4_inherit__map"·id="a_dune_1_1_grid_glue_1_1_intersection_list_provider_3_01_l0_00_01_l1_01_4_inherit__map"> | 88 | <map·name="a_dune_1_1_grid_glue_1_1_intersection_list_provider_3_01_l0_00_01_l1_01_4_inherit__map"·id="a_dune_1_1_grid_glue_1_1_intersection_list_provider_3_01_l0_00_01_l1_01_4_inherit__map"> |
89 | <area·shape="rect"·title="·"·alt=""·coords="5,29,212,69"/> | 89 | <area·shape="rect"·title="·"·alt=""·coords="5,29,212,69"/> |
90 | <area·shape="rect"·href="a01082.html"·title="·"·alt=""·coords="415,15,632,84"/> | 90 | <area·shape="rect"·href="a01082.html"·title="·"·alt=""·coords="415,15,632,84"/> |
Offset 490, 15 lines modified | Offset 490, 15 lines modified | ||
490 | <p>number·of·intersections·in·the·merged·grid·</p> | 490 | <p>number·of·intersections·in·the·merged·grid·</p> |
491 | <p>Implemented·in·<a·class="el"·href="a01102.html#abbf975e9e3adf037c90de482be902bcc">Dune::GridGlue::SimplicialIntersectionListProvider<·dim0,·dim1·></a>.</p> | 491 | <p>Implemented·in·<a·class="el"·href="a01102.html#abbf975e9e3adf037c90de482be902bcc">Dune::GridGlue::SimplicialIntersectionListProvider<·dim0,·dim1·></a>.</p> |
492 | </div> | 492 | </div> |
493 | </div> | 493 | </div> |
494 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 494 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
495 | <li><a·class="el"·href="a000 | 495 | <li><a·class="el"·href="a00083_source.html">intersectionlist.hh</a></li> |
496 | </ul> | 496 | </ul> |
497 | </div><!--·contents·--> | 497 | </div><!--·contents·--> |
498 | <!--·start·footer·part·--> | 498 | <!--·start·footer·part·--> |
499 | <hr·class="footer"/><address·class="footer"><small> | 499 | <hr·class="footer"/><address·class="footer"><small> |
500 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 500 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
501 | </small></address> | 501 | </small></address> |
502 | </body> | 502 | </body> |
Offset 77, 15 lines modified | Offset 77, 15 lines modified | ||
77 | <a·href="#pub-types">Public·Types</a>·| | 77 | <a·href="#pub-types">Public·Types</a>·| |
78 | <a·href="#pub-methods">Public·Member·Functions</a>·| | 78 | <a·href="#pub-methods">Public·Member·Functions</a>·| |
79 | <a·href="a01095.html">List·of·all·members</a>··</div> | 79 | <a·href="a01095.html">List·of·all·members</a>··</div> |
80 | ··<div·class="headertitle"><div·class="title">Dune::GridGlue::IntersectionList<·Local0,·Local1·>·Class·Template·Reference</div></div> | 80 | ··<div·class="headertitle"><div·class="title">Dune::GridGlue::IntersectionList<·Local0,·Local1·>·Class·Template·Reference</div></div> |
81 | </div><!--header--> | 81 | </div><!--header--> |
82 | <div·class="contents"> | 82 | <div·class="contents"> |
83 | <p><code>#include·<<a·class="el"·href="a000 | 83 | <p><code>#include·<<a·class="el"·href="a00083_source.html">dune/grid-glue/merging/intersectionlist.hh</a>></code></p> |
84 | <table·class="memberdecls"> | 84 | <table·class="memberdecls"> |
85 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> | 85 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> |
86 | Public·Types</h2></td></tr> | 86 | Public·Types</h2></td></tr> |
87 | <tr·class="memitem:ad01c4cc4461ee3be66a76111d7e61473"·id="r_ad01c4cc4461ee3be66a76111d7e61473"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01098.html#ad01c4cc4461ee3be66a76111d7e61473">Provider</a>·=·<a·class="el"·href="a01082.html">IntersectionListProvider</a><·Local0,·Local1·></td></tr> | 87 | <tr·class="memitem:ad01c4cc4461ee3be66a76111d7e61473"·id="r_ad01c4cc4461ee3be66a76111d7e61473"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01098.html#ad01c4cc4461ee3be66a76111d7e61473">Provider</a>·=·<a·class="el"·href="a01082.html">IntersectionListProvider</a><·Local0,·Local1·></td></tr> |
88 | <tr·class="separator:ad01c4cc4461ee3be66a76111d7e61473"><td·class="memSeparator"·colspan="2"> </td></tr> | 88 | <tr·class="separator:ad01c4cc4461ee3be66a76111d7e61473"><td·class="memSeparator"·colspan="2"> </td></tr> |
89 | <tr·class="memitem:a5a12d1065228a0cf9b5a4306c73e4ee8"·id="r_a5a12d1065228a0cf9b5a4306c73e4ee8"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01098.html#a5a12d1065228a0cf9b5a4306c73e4ee8">Index</a>·=·typename·<a·class="el"·href="a01082.html#a3ce827219b1282269bc512257c0e615b">Provider::Index</a></td></tr> | 89 | <tr·class="memitem:a5a12d1065228a0cf9b5a4306c73e4ee8"·id="r_a5a12d1065228a0cf9b5a4306c73e4ee8"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01098.html#a5a12d1065228a0cf9b5a4306c73e4ee8">Index</a>·=·typename·<a·class="el"·href="a01082.html#a3ce827219b1282269bc512257c0e615b">Provider::Index</a></td></tr> |
90 | <tr·class="separator:a5a12d1065228a0cf9b5a4306c73e4ee8"><td·class="memSeparator"·colspan="2"> </td></tr> | 90 | <tr·class="separator:a5a12d1065228a0cf9b5a4306c73e4ee8"><td·class="memSeparator"·colspan="2"> </td></tr> |
Offset 361, 15 lines modified | Offset 361, 15 lines modified | ||
361 | </table> | 361 | </table> |
362 | </div><div·class="memdoc"> | 362 | </div><div·class="memdoc"> |
363 | <p>number·of·intersections·in·the·merged·grid·</p> | 363 | <p>number·of·intersections·in·the·merged·grid·</p> |
364 | </div> | 364 | </div> |
365 | </div> | 365 | </div> |
366 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 366 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
367 | <li><a·class="el"·href="a000 | 367 | <li><a·class="el"·href="a00083_source.html">intersectionlist.hh</a></li> |
368 | </ul> | 368 | </ul> |
369 | </div><!--·contents·--> | 369 | </div><!--·contents·--> |
370 | <!--·start·footer·part·--> | 370 | <!--·start·footer·part·--> |
371 | <hr·class="footer"/><address·class="footer"><small> | 371 | <hr·class="footer"/><address·class="footer"><small> |
372 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 372 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
373 | </small></address> | 373 | </small></address> |
374 | </body> | 374 | </body> |
Offset 78, 15 lines modified | Offset 78, 15 lines modified | ||
78 | <a·href="#pub-types">Public·Types</a>·| | 78 | <a·href="#pub-types">Public·Types</a>·| |
79 | <a·href="#pub-methods">Public·Member·Functions</a>·| | 79 | <a·href="#pub-methods">Public·Member·Functions</a>·| |
80 | <a·href="a01099.html">List·of·all·members</a>··</div> | 80 | <a·href="a01099.html">List·of·all·members</a>··</div> |
81 | ··<div·class="headertitle"><div·class="title">Dune::GridGlue::SimplicialIntersectionListProvider<·dim0,·dim1·>·Class·Template·Reference<span·class="mlabels"><span·class="mlabel">final</span></span></div></div> | 81 | ··<div·class="headertitle"><div·class="title">Dune::GridGlue::SimplicialIntersectionListProvider<·dim0,·dim1·>·Class·Template·Reference<span·class="mlabels"><span·class="mlabel">final</span></span></div></div> |
82 | </div><!--header--> | 82 | </div><!--header--> |
83 | <div·class="contents"> | 83 | <div·class="contents"> |
84 | <p><code>#include·<<a·class="el"·href="a000 | 84 | <p><code>#include·<<a·class="el"·href="a00083_source.html">dune/grid-glue/merging/intersectionlist.hh</a>></code></p> |
85 | <div·class="dynheader"> | 85 | <div·class="dynheader"> |
86 | Inheritance·diagram·for·Dune::GridGlue::SimplicialIntersectionListProvider<·dim0,·dim1·>:</div> | 86 | Inheritance·diagram·for·Dune::GridGlue::SimplicialIntersectionListProvider<·dim0,·dim1·>:</div> |
87 | <div·class="dyncontent"> | 87 | <div·class="dyncontent"> |
88 | <div·class="center"><img·src="a01101.png"·border="0"·usemap="#a_dune_1_1_grid_glue_1_1_simplicial_intersection_list_provider_3_01dim0_00_01dim1_01_4_inherit__map"·alt="Inheritance·graph"/></div> | 88 | <div·class="center"><img·src="a01101.png"·border="0"·usemap="#a_dune_1_1_grid_glue_1_1_simplicial_intersection_list_provider_3_01dim0_00_01dim1_01_4_inherit__map"·alt="Inheritance·graph"/></div> |
89 | <map·name="a_dune_1_1_grid_glue_1_1_simplicial_intersection_list_provider_3_01dim0_00_01dim1_01_4_inherit__map"·id="a_dune_1_1_grid_glue_1_1_simplicial_intersection_list_provider_3_01dim0_00_01dim1_01_4_inherit__map"> | 89 | <map·name="a_dune_1_1_grid_glue_1_1_simplicial_intersection_list_provider_3_01dim0_00_01dim1_01_4_inherit__map"·id="a_dune_1_1_grid_glue_1_1_simplicial_intersection_list_provider_3_01dim0_00_01dim1_01_4_inherit__map"> |
90 | <area·shape="rect"·title="·"·alt=""·coords="681,22,875,77"/> | 90 | <area·shape="rect"·title="·"·alt=""·coords="681,22,875,77"/> |
91 | <area·shape="rect"·href="a01082.html"·title="·"·alt=""·coords="415,15,632,84"/> | 91 | <area·shape="rect"·href="a01082.html"·title="·"·alt=""·coords="415,15,632,84"/> |
Offset 633, 15 lines modified | Offset 633, 15 lines modified | ||
633 | <p>number·of·intersections·in·the·merged·grid·</p> | 633 | <p>number·of·intersections·in·the·merged·grid·</p> |
634 | <p>Implements·<a·class="el"·href="a01082.html#a5f8d56fc9e8e0bc5f3bec7296ec79f8b">Dune::GridGlue::IntersectionListProvider<·FieldVector<·double,·dim0·>,·FieldVector<·double,·dim1·>·></a>.</p> | 634 | <p>Implements·<a·class="el"·href="a01082.html#a5f8d56fc9e8e0bc5f3bec7296ec79f8b">Dune::GridGlue::IntersectionListProvider<·FieldVector<·double,·dim0·>,·FieldVector<·double,·dim1·>·></a>.</p> |
635 | </div> | 635 | </div> |
636 | </div> | 636 | </div> |
637 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 637 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
638 | <li><a·class="el"·href="a000 | 638 | <li><a·class="el"·href="a00083_source.html">intersectionlist.hh</a></li> |
639 | </ul> | 639 | </ul> |
640 | </div><!--·contents·--> | 640 | </div><!--·contents·--> |
641 | <!--·start·footer·part·--> | 641 | <!--·start·footer·part·--> |
642 | <hr·class="footer"/><address·class="footer"><small> | 642 | <hr·class="footer"/><address·class="footer"><small> |
643 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 643 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
644 | </small></address> | 644 | </small></address> |
645 | </body> | 645 | </body> |
Offset 78, 15 lines modified | Offset 78, 15 lines modified | ||
78 | <a·href="#pub-methods">Public·Member·Functions</a>·| | 78 | <a·href="#pub-methods">Public·Member·Functions</a>·| |
79 | <a·href="#pub-attribs">Public·Attributes</a>·| | 79 | <a·href="#pub-attribs">Public·Attributes</a>·| |
80 | <a·href="a01103.html">List·of·all·members</a>··</div> | 80 | <a·href="a01103.html">List·of·all·members</a>··</div> |
81 | ··<div·class="headertitle"><div·class="title">Dune::GridGlue::SimplicialIntersectionListProvider<·dim0,·dim1·>::SimplicialIntersection·Struct·Reference</div></div> | 81 | ··<div·class="headertitle"><div·class="title">Dune::GridGlue::SimplicialIntersectionListProvider<·dim0,·dim1·>::SimplicialIntersection·Struct·Reference</div></div> |
82 | </div><!--header--> | 82 | </div><!--header--> |
83 | <div·class="contents"> | 83 | <div·class="contents"> |
84 | <p><code>#include·<<a·class="el"·href="a000 | 84 | <p><code>#include·<<a·class="el"·href="a00083_source.html">dune/grid-glue/merging/intersectionlist.hh</a>></code></p> |
85 | <table·class="memberdecls"> | 85 | <table·class="memberdecls"> |
86 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> | 86 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> |
87 | Public·Types</h2></td></tr> | 87 | Public·Types</h2></td></tr> |
88 | <tr·class="memitem:a22ee503958e3501c70236ab62558cbaa"·id="r_a22ee503958e3501c70236ab62558cbaa"><td·class="memTemplParams"·colspan="2">template<int·I>·</td></tr> | 88 | <tr·class="memitem:a22ee503958e3501c70236ab62558cbaa"·id="r_a22ee503958e3501c70236ab62558cbaa"><td·class="memTemplParams"·colspan="2">template<int·I>·</td></tr> |
89 | <tr·class="memitem:a22ee503958e3501c70236ab62558cbaa"><td·class="memTemplItemLeft"·align="right"·valign="top">using </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a01106.html#a22ee503958e3501c70236ab62558cbaa">Corners</a>·=·std::array<·<a·class="el"·href="a01102.html#aa1a102616f2b5e28a796786d5987b4e1">Local</a><·I·>,·nVertices·></td></tr> | 89 | <tr·class="memitem:a22ee503958e3501c70236ab62558cbaa"><td·class="memTemplItemLeft"·align="right"·valign="top">using </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a01106.html#a22ee503958e3501c70236ab62558cbaa">Corners</a>·=·std::array<·<a·class="el"·href="a01102.html#aa1a102616f2b5e28a796786d5987b4e1">Local</a><·I·>,·nVertices·></td></tr> |
90 | <tr·class="separator:a22ee503958e3501c70236ab62558cbaa"><td·class="memSeparator"·colspan="2"> </td></tr> | 90 | <tr·class="separator:a22ee503958e3501c70236ab62558cbaa"><td·class="memSeparator"·colspan="2"> </td></tr> |
91 | </table><table·class="memberdecls"> | 91 | </table><table·class="memberdecls"> |
Offset 263, 15 lines modified | Offset 263, 15 lines modified | ||
263 | ······</table> | 263 | ······</table> |
264 | </div><div·class="memdoc"> | 264 | </div><div·class="memdoc"> |
265 | <p>list·of·parent·entities·for·embeddings·into·the·second·grid·</p> | 265 | <p>list·of·parent·entities·for·embeddings·into·the·second·grid·</p> |
266 | </div> | 266 | </div> |
267 | </div> | 267 | </div> |
268 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 268 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
269 | <li><a·class="el"·href="a000 | 269 | <li><a·class="el"·href="a00083_source.html">intersectionlist.hh</a></li> |
270 | </ul> | 270 | </ul> |
271 | </div><!--·contents·--> | 271 | </div><!--·contents·--> |
272 | <!--·start·footer·part·--> | 272 | <!--·start·footer·part·--> |
273 | <hr·class="footer"/><address·class="footer"><small> | 273 | <hr·class="footer"/><address·class="footer"><small> |
274 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 274 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
275 | </small></address> | 275 | </small></address> |
276 | </body> | 276 | </body> |
Offset 81, 15 lines modified | Offset 81, 15 lines modified | ||
81 | ··<div·class="headertitle"><div·class="title">Dune::GridGlue::Merger<·ctype,·grid1Dim,·grid2Dim,·dimworld·>·Class·Template·Reference<span·class="mlabels"><span·class="mlabel">abstract</span></span></div></div> | 81 | ··<div·class="headertitle"><div·class="title">Dune::GridGlue::Merger<·ctype,·grid1Dim,·grid2Dim,·dimworld·>·Class·Template·Reference<span·class="mlabels"><span·class="mlabel">abstract</span></span></div></div> |
82 | </div><!--header--> | 82 | </div><!--header--> |
83 | <div·class="contents"> | 83 | <div·class="contents"> |
84 | <p>Abstract·base·for·all·classes·that·take·extracted·grids·and·build·sets·of·intersections.·· | 84 | <p>Abstract·base·for·all·classes·that·take·extracted·grids·and·build·sets·of·intersections.·· |
85 | ·<a·href="a01110.html#details">More...</a></p> | 85 | ·<a·href="a01110.html#details">More...</a></p> |
86 | <p><code>#include·<<a·class="el"·href="a0007 | 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="a0007 | 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 493, 15 lines modified | Offset 493, 15 lines modified | ||
493 | ··</tr> | 493 | ··</tr> |
494 | </table> | 494 | </table> |
495 | </div><div·class="memdoc"> | 495 | </div><div·class="memdoc"> |
496 | </div> | 496 | </div> |
497 | </div> | 497 | </div> |
498 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 498 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
499 | <li><a·class="el"·href="a000 | 499 | <li><a·class="el"·href="a00080_source.html">simplexintersection.cc</a></li> |
500 | </ul> | 500 | </ul> |
501 | </div><!--·contents·--> | 501 | </div><!--·contents·--> |
502 | <!--·start·footer·part·--> | 502 | <!--·start·footer·part·--> |
503 | <hr·class="footer"/><address·class="footer"><small> | 503 | <hr·class="footer"/><address·class="footer"><small> |
504 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 504 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
505 | </small></address> | 505 | </small></address> |
506 | </body> | 506 | </body> |
Offset 493, 15 lines modified | Offset 493, 15 lines modified | ||
493 | ··</tr> | 493 | ··</tr> |
494 | </table> | 494 | </table> |
495 | </div><div·class="memdoc"> | 495 | </div><div·class="memdoc"> |
496 | </div> | 496 | </div> |
497 | </div> | 497 | </div> |
498 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 498 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
499 | <li><a·class="el"·href="a000 | 499 | <li><a·class="el"·href="a00080_source.html">simplexintersection.cc</a></li> |
500 | </ul> | 500 | </ul> |
501 | </div><!--·contents·--> | 501 | </div><!--·contents·--> |
502 | <!--·start·footer·part·--> | 502 | <!--·start·footer·part·--> |
503 | <hr·class="footer"/><address·class="footer"><small> | 503 | <hr·class="footer"/><address·class="footer"><small> |
504 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 504 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
505 | </small></address> | 505 | </small></address> |
506 | </body> | 506 | </body> |
Offset 493, 15 lines modified | Offset 493, 15 lines modified | ||
493 | ··</tr> | 493 | ··</tr> |
494 | </table> | 494 | </table> |
495 | </div><div·class="memdoc"> | 495 | </div><div·class="memdoc"> |
496 | </div> | 496 | </div> |
497 | </div> | 497 | </div> |
498 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 498 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
499 | <li><a·class="el"·href="a000 | 499 | <li><a·class="el"·href="a00080_source.html">simplexintersection.cc</a></li> |
500 | </ul> | 500 | </ul> |
501 | </div><!--·contents·--> | 501 | </div><!--·contents·--> |
502 | <!--·start·footer·part·--> | 502 | <!--·start·footer·part·--> |
503 | <hr·class="footer"/><address·class="footer"><small> | 503 | <hr·class="footer"/><address·class="footer"><small> |
504 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 504 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
505 | </small></address> | 505 | </small></address> |
506 | </body> | 506 | </body> |
Offset 493, 15 lines modified | Offset 493, 15 lines modified | ||
493 | ··</tr> | 493 | ··</tr> |
494 | </table> | 494 | </table> |
495 | </div><div·class="memdoc"> | 495 | </div><div·class="memdoc"> |
496 | </div> | 496 | </div> |
497 | </div> | 497 | </div> |
498 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 498 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
499 | <li><a·class="el"·href="a000 | 499 | <li><a·class="el"·href="a00080_source.html">simplexintersection.cc</a></li> |
500 | </ul> | 500 | </ul> |
501 | </div><!--·contents·--> | 501 | </div><!--·contents·--> |
502 | <!--·start·footer·part·--> | 502 | <!--·start·footer·part·--> |
503 | <hr·class="footer"/><address·class="footer"><small> | 503 | <hr·class="footer"/><address·class="footer"><small> |
504 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 504 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
505 | </small></address> | 505 | </small></address> |
506 | </body> | 506 | </body> |
Offset 493, 15 lines modified | Offset 493, 15 lines modified | ||
493 | ··</tr> | 493 | ··</tr> |
494 | </table> | 494 | </table> |
495 | </div><div·class="memdoc"> | 495 | </div><div·class="memdoc"> |
496 | </div> | 496 | </div> |
497 | </div> | 497 | </div> |
498 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 498 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
499 | <li><a·class="el"·href="a000 | 499 | <li><a·class="el"·href="a00080_source.html">simplexintersection.cc</a></li> |
500 | </ul> | 500 | </ul> |
501 | </div><!--·contents·--> | 501 | </div><!--·contents·--> |
502 | <!--·start·footer·part·--> | 502 | <!--·start·footer·part·--> |
503 | <hr·class="footer"/><address·class="footer"><small> | 503 | <hr·class="footer"/><address·class="footer"><small> |
504 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 504 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
505 | </small></address> | 505 | </small></address> |
506 | </body> | 506 | </body> |
Offset 493, 15 lines modified | Offset 493, 15 lines modified | ||
493 | ··</tr> | 493 | ··</tr> |
494 | </table> | 494 | </table> |
495 | </div><div·class="memdoc"> | 495 | </div><div·class="memdoc"> |
496 | </div> | 496 | </div> |
497 | </div> | 497 | </div> |
498 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 498 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
499 | <li><a·class="el"·href="a000 | 499 | <li><a·class="el"·href="a00080_source.html">simplexintersection.cc</a></li> |
500 | </ul> | 500 | </ul> |
501 | </div><!--·contents·--> | 501 | </div><!--·contents·--> |
502 | <!--·start·footer·part·--> | 502 | <!--·start·footer·part·--> |
503 | <hr·class="footer"/><address·class="footer"><small> | 503 | <hr·class="footer"/><address·class="footer"><small> |
504 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 504 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
505 | </small></address> | 505 | </small></address> |
506 | </body> | 506 | </body> |
Offset 493, 15 lines modified | Offset 493, 15 lines modified | ||
493 | ··</tr> | 493 | ··</tr> |
494 | </table> | 494 | </table> |
495 | </div><div·class="memdoc"> | 495 | </div><div·class="memdoc"> |
496 | </div> | 496 | </div> |
497 | </div> | 497 | </div> |
498 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 498 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
499 | <li><a·class="el"·href="a000 | 499 | <li><a·class="el"·href="a00080_source.html">simplexintersection.cc</a></li> |
500 | </ul> | 500 | </ul> |
501 | </div><!--·contents·--> | 501 | </div><!--·contents·--> |
502 | <!--·start·footer·part·--> | 502 | <!--·start·footer·part·--> |
503 | <hr·class="footer"/><address·class="footer"><small> | 503 | <hr·class="footer"/><address·class="footer"><small> |
504 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 504 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
505 | </small></address> | 505 | </small></address> |
506 | </body> | 506 | </body> |
Offset 493, 15 lines modified | Offset 493, 15 lines modified | ||
493 | ··</tr> | 493 | ··</tr> |
494 | </table> | 494 | </table> |
495 | </div><div·class="memdoc"> | 495 | </div><div·class="memdoc"> |
496 | </div> | 496 | </div> |
497 | </div> | 497 | </div> |
498 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 498 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
499 | <li><a·class="el"·href="a000 | 499 | <li><a·class="el"·href="a00080_source.html">simplexintersection.cc</a></li> |
500 | </ul> | 500 | </ul> |
501 | </div><!--·contents·--> | 501 | </div><!--·contents·--> |
502 | <!--·start·footer·part·--> | 502 | <!--·start·footer·part·--> |
503 | <hr·class="footer"/><address·class="footer"><small> | 503 | <hr·class="footer"/><address·class="footer"><small> |
504 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 504 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
505 | </small></address> | 505 | </small></address> |
506 | </body> | 506 | </body> |
Offset 493, 15 lines modified | Offset 493, 15 lines modified | ||
493 | ··</tr> | 493 | ··</tr> |
494 | </table> | 494 | </table> |
495 | </div><div·class="memdoc"> | 495 | </div><div·class="memdoc"> |
496 | </div> | 496 | </div> |
497 | </div> | 497 | </div> |
498 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 498 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
499 | <li><a·class="el"·href="a000 | 499 | <li><a·class="el"·href="a00080_source.html">simplexintersection.cc</a></li> |
500 | </ul> | 500 | </ul> |
501 | </div><!--·contents·--> | 501 | </div><!--·contents·--> |
502 | <!--·start·footer·part·--> | 502 | <!--·start·footer·part·--> |
503 | <hr·class="footer"/><address·class="footer"><small> | 503 | <hr·class="footer"/><address·class="footer"><small> |
504 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 504 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
505 | </small></address> | 505 | </small></address> |
506 | </body> | 506 | </body> |
Offset 493, 15 lines modified | Offset 493, 15 lines modified | ||
493 | ··</tr> | 493 | ··</tr> |
494 | </table> | 494 | </table> |
495 | </div><div·class="memdoc"> | 495 | </div><div·class="memdoc"> |
496 | </div> | 496 | </div> |
497 | </div> | 497 | </div> |
498 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 498 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
499 | <li><a·class="el"·href="a000 | 499 | <li><a·class="el"·href="a00080_source.html">simplexintersection.cc</a></li> |
500 | </ul> | 500 | </ul> |
501 | </div><!--·contents·--> | 501 | </div><!--·contents·--> |
502 | <!--·start·footer·part·--> | 502 | <!--·start·footer·part·--> |
503 | <hr·class="footer"/><address·class="footer"><small> | 503 | <hr·class="footer"/><address·class="footer"><small> |
504 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 504 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
505 | </small></address> | 505 | </small></address> |
506 | </body> | 506 | </body> |
Offset 493, 15 lines modified | Offset 493, 15 lines modified | ||
493 | ··</tr> | 493 | ··</tr> |
494 | </table> | 494 | </table> |
495 | </div><div·class="memdoc"> | 495 | </div><div·class="memdoc"> |
496 | </div> | 496 | </div> |
497 | </div> | 497 | </div> |
498 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 498 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
499 | <li><a·class="el"·href="a000 | 499 | <li><a·class="el"·href="a00080_source.html">simplexintersection.cc</a></li> |
500 | </ul> | 500 | </ul> |
501 | </div><!--·contents·--> | 501 | </div><!--·contents·--> |
502 | <!--·start·footer·part·--> | 502 | <!--·start·footer·part·--> |
503 | <hr·class="footer"/><address·class="footer"><small> | 503 | <hr·class="footer"/><address·class="footer"><small> |
504 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 504 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
505 | </small></address> | 505 | </small></address> |
506 | </body> | 506 | </body> |
Offset 84, 15 lines modified | Offset 84, 15 lines modified | ||
84 | ··<div·class="headertitle"><div·class="title">Dune::GridGlue::StandardMerge<·T,·grid1Dim,·grid2Dim,·dimworld·>·Class·Template·Reference<span·class="mlabels"><span·class="mlabel">abstract</span></span></div></div> | 84 | ··<div·class="headertitle"><div·class="title">Dune::GridGlue::StandardMerge<·T,·grid1Dim,·grid2Dim,·dimworld·>·Class·Template·Reference<span·class="mlabels"><span·class="mlabel">abstract</span></span></div></div> |
85 | </div><!--header--> | 85 | </div><!--header--> |
86 | <div·class="contents"> | 86 | <div·class="contents"> |
87 | <p>Common·base·class·for·many·merger·implementations:·produce·pairs·of·entities·that·<em>may</em>·intersect.·· | 87 | <p>Common·base·class·for·many·merger·implementations:·produce·pairs·of·entities·that·<em>may</em>·intersect.·· |
88 | ·<a·href="a01162.html#details">More...</a></p> | 88 | ·<a·href="a01162.html#details">More...</a></p> |
89 | <p><code>#include·<<a·class="el"·href="a000 | 89 | <p><code>#include·<<a·class="el"·href="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="a000 | 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><li·class="navelem"><a·class="el"·href="dir_eaad0bdad6fc03850e65b1fdad9faad4.html">extractors</a></li>··</ul> | 71 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_eaad0bdad6fc03850e65b1fdad9faad4.html">extractors</a></li>··</ul> |
72 | </div> | 72 | </div> |
73 | </div><!--·top·--> | 73 | </div><!--·top·--> |
74 | <div·class="contents"> | 74 | <div·class="contents"> |
75 | <h3>extractors·→·common·Relation</h3><table·class="dirtab"><tr·class="dirtab"><th·class="dirtab">File·in·dune/grid-glue/extractors</th><th·class="dirtab">Includes·file·in·dune/grid-glue/common</th></tr><tr·class="dirtab"><td·class="dirtab"><a·class="el"·href="a00062.html">codim1extractor.hh</a></td><td·class="dirtab"><a·class="el"·href="a000 | 75 | <h3>extractors·→·common·Relation</h3><table·class="dirtab"><tr·class="dirtab"><th·class="dirtab">File·in·dune/grid-glue/extractors</th><th·class="dirtab">Includes·file·in·dune/grid-glue/common</th></tr><tr·class="dirtab"><td·class="dirtab"><a·class="el"·href="a00062.html">codim1extractor.hh</a></td><td·class="dirtab"><a·class="el"·href="a00029.html">crossproduct.hh</a></td></tr></table></div><!--·contents·--> |
76 | <!--·start·footer·part·--> | 76 | <!--·start·footer·part·--> |
77 | <hr·class="footer"/><address·class="footer"><small> | 77 | <hr·class="footer"/><address·class="footer"><small> |
78 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 78 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
79 | </small></address> | 79 | </small></address> |
80 | </body> | 80 | </body> |
81 | </html> | 81 | </html> |
Offset 69, 14 lines modified | Offset 69, 14 lines modified | ||
69 | <div·id="nav-path"·class="navpath"> | 69 | <div·id="nav-path"·class="navpath"> |
70 | ··<ul> | 70 | ··<ul> |
71 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li>··</ul> | 71 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li>··</ul> |
72 | </div> | 72 | </div> |
73 | </div><!--·top·--> | 73 | </div><!--·top·--> |
74 | <div·class="contents"> | 74 | <div·class="contents"> |
75 | <h3>grid-glue·→·adapter·Relation</h3><table·class="dirtab"><tr·class="dirtab"><th·class="dirtab">File·in·dune/grid-glue</th><th·class="dirtab">Includes·file·in·dune/grid-glue/adapter</th></tr><tr·class="dirtab"><td·class="dirtab"><a·class="el"·href="a00002.html">gridglue.hh</a></td><td·class="dirtab"><a·class="el"·href="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="a0007 | 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 87, 40 lines modified | Offset 87, 40 lines modified | ||
87 | <area·shape="rect"·href="dir_000005_000001.html"·title="2"·alt=""·coords="70,100,80,114"/> | 87 | <area·shape="rect"·href="dir_000005_000001.html"·title="2"·alt=""·coords="70,100,80,114"/> |
88 | <area·shape="rect"·href="dir_68eff8a27dcb1cd0ff0ecf490070d3de.html"·title="grid-glue"·alt=""·coords="16,16,117,161"/> | 88 | <area·shape="rect"·href="dir_68eff8a27dcb1cd0ff0ecf490070d3de.html"·title="grid-glue"·alt=""·coords="16,16,117,161"/> |
89 | </map> | 89 | </map> |
90 | </div> | 90 | </div> |
91 | <table·class="memberdecls"> | 91 | <table·class="memberdecls"> |
92 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="files"·name="files"></a> | 92 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="files"·name="files"></a> |
93 | Files</h2></td></tr> | 93 | Files</h2></td></tr> |
94 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a0007 | 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="a0008 | 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:a0008 | 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="a000 | 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="a0007 | 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="a000 | 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="a000 | 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:a000 | 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, 34 lines modified | Offset 87, 34 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="a0002 | 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:a0002 | 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="a000 | 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:a000 | 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="a0001 | 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:a0001 | 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="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> | 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> |
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="a000 | 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="a000 | 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="a000 | 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="a000 | 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, 81 lines modified | Offset 1, 81 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.10.0/dune/grid-glue/adapter/</path> | 5 | ····<path>/build/reproducible-path/dune-grid-glue-2.10.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.10.0/dune/grid-glue/adapter/</path> | 15 | ····<path>/build/reproducible-path/dune-grid-glue-2.10.0/dune/grid-glue/adapter/</path> |
16 | ····<filename>a0002 | 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.10.0/dune/grid-glue/adapter/</path> | 23 | ····<path>/build/reproducible-path/dune-grid-glue-2.10.0/dune/grid-glue/adapter/</path> |
24 | ····<filename>a000 | 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.10.0/dune/grid-glue/adapter/</path> | 36 | ····<path>/build/reproducible-path/dune-grid-glue-2.10.0/dune/grid-glue/adapter/</path> |
37 | ····<filename>a0001 | 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.10.0/dune/grid-glue/adapter/</path> | 45 | ····<path>/build/reproducible-path/dune-grid-glue-2.10.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.10.0/dune/grid-glue/adapter/</path> | 63 | ····<path>/build/reproducible-path/dune-grid-glue-2.10.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.10.0/dune/grid-glue/adapter/</path> | 73 | ····<path>/build/reproducible-path/dune-grid-glue-2.10.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> |
Offset 84, 99 lines modified | Offset 84, 99 lines modified | ||
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.10.0/dune/grid-glue/common/</path> | 90 | ····<path>/build/reproducible-path/dune-grid-glue-2.10.0/dune/grid-glue/common/</path> |
91 | ····<filename>a000 | 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.10.0/dune/grid-glue/common/</path> | 98 | ····<path>/build/reproducible-path/dune-grid-glue-2.10.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> |
107 | ····<path>/build/reproducible-path/dune-grid-glue-2.10.0/dune/grid-glue/common/</path> | 107 | ····<path>/build/reproducible-path/dune-grid-glue-2.10.0/dune/grid-glue/common/</path> |
108 | ····<filename>a000 | 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.10.0/dune/grid-glue/common/</path> | 114 | ····<path>/build/reproducible-path/dune-grid-glue-2.10.0/dune/grid-glue/common/</path> |
115 | ····<filename>a000 | 115 | ····<filename>a00041.html</filename> |
116 | ····<includes·id="a000 | 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"> |
123 | ····<name>projection_impl.hh</name> | 123 | ····<name>projection_impl.hh</name> |
124 | ····<path>/build/reproducible-path/dune-grid-glue-2.10.0/dune/grid-glue/common/</path> | 124 | ····<path>/build/reproducible-path/dune-grid-glue-2.10.0/dune/grid-glue/common/</path> |
125 | ····<filename>a000 | 125 | ····<filename>a00038.html</filename> |
126 | ····<namespace>Dune</namespace> | 126 | ····<namespace>Dune</namespace> |
127 | ····<namespace>Dune::GridGlue</namespace> | 127 | ····<namespace>Dune::GridGlue</namespace> |
128 | ····<namespace>Dune::GridGlue::ProjectionImplementation</namespace> | 128 | ····<namespace>Dune::GridGlue::ProjectionImplementation</namespace> |
Max diff block lines reached; 17851/25504 bytes (69.99%) 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="a0002 | 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="a000 | 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="a0001 | 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="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> | 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="a000 | 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="a000 | 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="a000 | 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="a000 | 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="a0007 | 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="a0008 | 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="a000 | 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="a0007 | 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="a000 | 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="a000 | 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> |