Offset 1, 4 lines modified | Offset 1, 4 lines modified | ||
1 | ·1c08408b21b55d37a5895e8aa7f05bfa·897400·debug·optional·libdune-grid-glue-dev-dbgsym_2.10.0-1_i386.deb | 1 | ·1c08408b21b55d37a5895e8aa7f05bfa·897400·debug·optional·libdune-grid-glue-dev-dbgsym_2.10.0-1_i386.deb |
2 | ·474bb9b84e38be5941306cc1f5bdf809·112376·libdevel·optional·libdune-grid-glue-dev_2.10.0-1_i386.deb | 2 | ·474bb9b84e38be5941306cc1f5bdf809·112376·libdevel·optional·libdune-grid-glue-dev_2.10.0-1_i386.deb |
3 | · | 3 | ·6ed01c87e9d8d9153d6a33a0c70d2bc9·958868·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·····7392·2024-11-14·21:31:44.000000·control.tar.xz | 2 | -rw-r--r--···0········0········0·····7392·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···951284·2024-11-14·21:31:44.000000·data.tar.xz |
Offset 7, 75 lines modified | Offset 7, 75 lines modified | ||
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)·····6158·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00005.html | 12 | -rw-r--r--···0·root·········(0)·root·········(0)·····6158·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)····14374·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00005_source.html | 13 | -rw-r--r--···0·root·········(0)·root·········(0)····14374·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)····· | 14 | -rw-r--r--···0·root·········(0)·root·········(0)·····8113·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)··· | 15 | -rw-r--r--···0·root·········(0)·root·········(0)···118079·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)·····5322·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00011.html | 16 | -rw-r--r--···0·root·········(0)·root·········(0)·····5322·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)····16900·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00011_source.html | 17 | -rw-r--r--···0·root·········(0)·root·········(0)····16900·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)····· | 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 |
19 | -rw-r--r--···0·root·········(0)·root·········(0)··· | 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)····10872·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00017.html | 20 | -rw-r--r--···0·root·········(0)·root·········(0)····10872·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)····70889·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00017_source.html | 21 | -rw-r--r--···0·root·········(0)·root·········(0)····70889·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)·····5 | 22 | -rw-r--r--···0·root·········(0)·root·········(0)·····5610·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)···· | 23 | -rw-r--r--···0·root·········(0)·root·········(0)····84448·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00020_source.html |
24 | -rw-r--r--···0·root·········(0)·root·········(0)·····5089·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00023.html | 24 | -rw-r--r--···0·root·········(0)·root·········(0)·····5089·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)····16769·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00023_source.html | 25 | -rw-r--r--···0·root·········(0)·root·········(0)····16769·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)·····5454·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00026.html | 26 | -rw-r--r--···0·root·········(0)·root·········(0)·····5454·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)····27384·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00026_source.html | 27 | -rw-r--r--···0·root·········(0)·root·········(0)····27384·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 | 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 | 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)·····5 | 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/a00032.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/a00032_source.html | ||
32 | -rw-r--r--···0·root·········(0)·root·········(0)·····8137·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00035.html | ||
31 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 33 | -rw-r--r--···0·root·········(0)·root·········(0)····72682·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00035_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/a0003 | 34 | -rw-r--r--···0·root·········(0)·root·········(0)·····7676·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00038.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/a0003 | 35 | -rw-r--r--···0·root·········(0)·root·········(0)····11026·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00038_source.html |
34 | -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 | 36 | -rw-r--r--···0·root·········(0)·root·········(0)·····7371·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00041.html |
35 | -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 | 37 | -rw-r--r--···0·root·········(0)·root·········(0)····44831·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00041_source.html |
36 | -rw-r--r--···0·root·········(0)·root·········(0)·····8137·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00041.html | ||
37 | -rw-r--r--···0·root·········(0)·root·········(0)····72682·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)····11614·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00044.html | 38 | -rw-r--r--···0·root·········(0)·root·········(0)····11614·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)····39772·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00044_source.html | 39 | -rw-r--r--···0·root·········(0)·root·········(0)····39772·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)·····5361·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)·····8501·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)·····8223·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a000 | 40 | -rw-r--r--···0·root·········(0)·root·········(0)·····8223·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00047.html |
43 | -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 | 41 | -rw-r--r--···0·root·········(0)·root·········(0)····30067·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00047_source.html |
44 | -rw-r--r--···0·root·········(0)·root·········(0)·····5 | 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/a00050.html |
45 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 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/a00050_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/a0005 | 44 | -rw-r--r--···0·root·········(0)·root·········(0)·····5389·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00053.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/a0005 | 45 | -rw-r--r--···0·root·········(0)·root·········(0)····50227·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00053_source.html |
48 | -rw-r--r--···0·root·········(0)·root·········(0)·····8207·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)····94036·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/a000 | 46 | -rw-r--r--···0·root·········(0)·root·········(0)·····5563·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00056.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/a000 | 47 | -rw-r--r--···0·root·········(0)·root·········(0)····70754·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/a00059.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/a00059_source.html | ||
50 | -rw-r--r--···0·root·········(0)·root·········(0)·····8207·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)····94036·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)····10147·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00065.html | 52 | -rw-r--r--···0·root·········(0)·root·········(0)····10147·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)·····5968·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00068.html | ||
54 | -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 | ||
55 | -rw-r--r--···0·root·········(0)·root·········(0)·····5931·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00071.html | ||
56 | -rw-r--r--···0·root·········(0)·root·········(0)····19311·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00071_source.html | ||
57 | -rw-r--r--···0·root·········(0)·root·········(0)·····4560·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00074.html | ||
58 | -rw-r--r--···0·root·········(0)·root·········(0)····63706·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00074_source.html | ||
59 | -rw-r--r--···0·root·········(0)·root·········(0)·····5358·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00077.html | ||
60 | -rw-r--r--···0·root·········(0)·root·········(0)····22695·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00077_source.html | ||
61 | -rw-r--r--···0·root·········(0)·root·········(0)·····5485·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00080.html | ||
62 | -rw-r--r--···0·root·········(0)·root·········(0)····36323·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)····11544·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)···239994·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)·····6648·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)····36463·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/a000 | 53 | -rw-r--r--···0·root·········(0)·root·········(0)·····6349·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00068.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/a000 | 54 | -rw-r--r--···0·root·········(0)·root·········(0)····45999·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00068_source.html |
55 | -rw-r--r--···0·root·········(0)·root·········(0)·····6648·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00071.html | ||
56 | -rw-r--r--···0·root·········(0)·root·········(0)····36463·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00071_source.html | ||
57 | -rw-r--r--···0·root·········(0)·root·········(0)·····5485·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00074.html | ||
58 | -rw-r--r--···0·root·········(0)·root·········(0)····36323·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00074_source.html | ||
59 | -rw-r--r--···0·root·········(0)·root·········(0)····11544·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00077.html | ||
60 | -rw-r--r--···0·root·········(0)·root·········(0)···239994·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00077_source.html | ||
61 | -rw-r--r--···0·root·········(0)·root·········(0)·····5358·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00080.html | ||
62 | -rw-r--r--···0·root·········(0)·root·········(0)····22695·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00080_source.html | ||
69 | -rw-r--r--···0·root·········(0)·root·········(0)····· | 63 | -rw-r--r--···0·root·········(0)·root·········(0)·····5931·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)····19311·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 | ||
70 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 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 |
71 | -rw-r--r--···0·root·········(0)·root·········(0)····12400·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a000 | 67 | -rw-r--r--···0·root·········(0)·root·········(0)····12400·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00089.html |
72 | -rw-r--r--···0·root·········(0)·root·········(0)···149555·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)···149555·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00089_source.html |
69 | -rw-r--r--···0·root·········(0)·root·········(0)·····5968·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00092.html | ||
70 | -rw-r--r--···0·root·········(0)·root·········(0)····37343·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00092_source.html | ||
73 | -rw-r--r--···0·root·········(0)·root·········(0)·····6081·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a0009 | 71 | -rw-r--r--···0·root·········(0)·root·········(0)·····6081·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00095.html |
74 | -rw-r--r--···0·root·········(0)·root·········(0)····59846·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a0009 | 72 | -rw-r--r--···0·root·········(0)·root·········(0)····59846·2024-11-14·21:31:44.000000·./usr/share/doc/libdune-grid-glue-doc/doxygen/a00095_source.html |
73 | -rw-r--r--···0·root·········(0)·root·········(0)·····4311·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)····55660·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)·····2178·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)·····2178·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)····2703 | 233 | -rw-r--r--···0·root·········(0)·root·········(0)····27033·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 88, 25 lines modified | Offset 88, 25 lines modified | ||
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="a00017_source.html">adapter/gridgluecommunicate.hh</a>"</code><br·/> | 94 | <code>#include·"<a·class="el"·href="a00017_source.html">adapter/gridgluecommunicate.hh</a>"</code><br·/> |
95 | <code>#include·<<a·class="el"·href="a000 | 95 | <code>#include·<<a·class="el"·href="a00080_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="a00005_source.html">adapter/rangegenerators.hh</a>"</code><br·/> | 103 | <code>#include·"<a·class="el"·href="a00005_source.html">adapter/rangegenerators.hh</a>"</code><br·/> |
104 | <code>#include·"<a·class="el"·href="a000 | 104 | <code>#include·"<a·class="el"·href="a00020_source.html">adapter/gridglue.cc</a>"</code><br·/> |
105 | <code>#include·"<a·class="el"·href="a000 | 105 | <code>#include·"<a·class="el"·href="a00008_source.html">adapter/intersection.hh</a>"</code><br·/> |
106 | <code>#include·"<a·class="el"·href="a00011_source.html">adapter/intersectioniterator.hh</a>"</code><br·/> | 106 | <code>#include·"<a·class="el"·href="a00011_source.html">adapter/intersectioniterator.hh</a>"</code><br·/> |
107 | <code>#include·"<a·class="el"·href="a00023_source.html">adapter/intersectionindexset.hh</a>"</code><br·/> | 107 | <code>#include·"<a·class="el"·href="a00023_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> |
Offset 96, 15 lines modified | Offset 96, 15 lines modified | ||
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="a00017.html">adapter/gridgluecommunicate.hh</a>"</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="a00017.html">adapter/gridgluecommunicate.hh</a>"</span></div> |
103 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="preprocessor">#include·<<a·class="code"·href="a000 | 103 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="preprocessor">#include·<<a·class="code"·href="a00080.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="a00005.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="a00005.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="a00020.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="a00008.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="a00011.html">adapter/intersectioniterator.hh</a>"</span></div> | 403 | <div·class="line"><a·id="l00408"·name="l00408"></a><span·class="lineno">··408</span><span·class="preprocessor">#include·"<a·class="code"·href="a00011.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="a00023.html">adapter/intersectionindexset.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="a00023.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">rangegenerators.hh</a></div></div> | 407 | <div·class="ttc"·id="aa00005_html"><div·class="ttname"><a·href="a00005.html">rangegenerators.hh</a></div></div> |
408 | <div·class="ttc"·id="aa00008_html"><div·class="ttname"><a·href="a00008.html"> | 408 | <div·class="ttc"·id="aa00008_html"><div·class="ttname"><a·href="a00008.html">intersection.hh</a></div><div·class="ttdoc">Model·of·the·Intersection·concept·provided·by·GridGlue.</div></div> |
409 | <div·class="ttc"·id="aa00011_html"><div·class="ttname"><a·href="a00011.html">intersectioniterator.hh</a></div><div·class="ttdoc">Implement·iterators·over·GridGlue·intersections.</div></div> | 409 | <div·class="ttc"·id="aa00011_html"><div·class="ttname"><a·href="a00011.html">intersectioniterator.hh</a></div><div·class="ttdoc">Implement·iterators·over·GridGlue·intersections.</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="aa00017_html"><div·class="ttname"><a·href="a00017.html">gridgluecommunicate.hh</a></div><div·class="ttdoc">Describes·the·parallel·communication·interface·class·for·Dune::GridGlue.</div></div> | 410 | <div·class="ttc"·id="aa00017_html"><div·class="ttname"><a·href="a00017.html">gridgluecommunicate.hh</a></div><div·class="ttdoc">Describes·the·parallel·communication·interface·class·for·Dune::GridGlue.</div></div> |
411 | <div·class="ttc"·id="aa00020_html"><div·class="ttname"><a·href="a00020.html">gridglue.cc</a></div></div> | ||
412 | <div·class="ttc"·id="aa00023_html"><div·class="ttname"><a·href="a00023.html">intersectionindexset.hh</a></div></div> | 412 | <div·class="ttc"·id="aa00023_html"><div·class="ttname"><a·href="a00023.html">intersectionindexset.hh</a></div></div> |
413 | <div·class="ttc"·id="aa000 | 413 | <div·class="ttc"·id="aa00080_html"><div·class="ttname"><a·href="a00080.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 323, 21 lines modified | Offset 323, 21 lines modified | ||
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 | _\x8r_\x8a_\x8n_\x8g_\x8e_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8s_\x8._\x8h_\x8h | 329 | _\x8r_\x8a_\x8n_\x8g_\x8e_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8s_\x8._\x8h_\x8h |
330 | _\x8g_\x8r_\x8i_\x8d_\x8g_\x8l_\x8u_\x8e_\x8._\x8c_\x8c | ||
331 | _\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8i_\x8t_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8._\x8h_\x8h | ||
332 | Implement·iterators·over·GridGlue·intersections. | ||
333 | _\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8._\x8h_\x8h | 330 | _\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8._\x8h_\x8h |
334 | Model·of·the·Intersection·concept·provided·by·GridGlue. | 331 | Model·of·the·Intersection·concept·provided·by·GridGlue. |
332 | _\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8i_\x8t_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8._\x8h_\x8h | ||
333 | Implement·iterators·over·GridGlue·intersections. | ||
335 | _\x8g_\x8r_\x8i_\x8d_\x8g_\x8l_\x8u_\x8e_\x8c_\x8o_\x8m_\x8m_\x8u_\x8n_\x8i_\x8c_\x8a_\x8t_\x8e_\x8._\x8h_\x8h | 334 | _\x8g_\x8r_\x8i_\x8d_\x8g_\x8l_\x8u_\x8e_\x8c_\x8o_\x8m_\x8m_\x8u_\x8n_\x8i_\x8c_\x8a_\x8t_\x8e_\x8._\x8h_\x8h |
336 | Describes·the·parallel·communication·interface·class·for·Dune::GridGlue. | 335 | Describes·the·parallel·communication·interface·class·for·Dune::GridGlue. |
336 | _\x8g_\x8r_\x8i_\x8d_\x8g_\x8l_\x8u_\x8e_\x8._\x8c_\x8c | ||
337 | _\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8i_\x8n_\x8d_\x8e_\x8x_\x8s_\x8e_\x8t_\x8._\x8h_\x8h | 337 | _\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8i_\x8n_\x8d_\x8e_\x8x_\x8s_\x8e_\x8t_\x8._\x8h_\x8h |
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 |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <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 70, 41 lines modified | Offset 70, 75 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>·| |
78 | <a·href="#f | 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 | <div·class="textblock"><code>#include·"<a·class="el"·href="a00014_source.html">intersection.hh</a>"</code><br·/> | ||
83 | <p>Model·of·the·Intersection·concept·provided·by·GridGlue.·· | ||
84 | <a·href="#details">More...</a></p> | ||
85 | <div·class="textblock"><code>#include·<algorithm></code><br·/> | ||
83 | <code>#include·< | 86 | <code>#include·<optional></code><br·/> |
84 | <code>#include·< | 87 | <code>#include·<tuple></code><br·/> |
88 | <code>#include·<dune/common/deprecated.hh></code><br·/> | ||
85 | <code>#include·"<a·class="el"·href="a00002_source.html">../gridglue.hh</a>"</code><br·/> | ||
86 | <code>#include·"<a·class="el"·href="a00038_source.html">../common/ringcomm.hh</a>"</code><br·/> | ||
87 | <code>#include·<dune/common/ | 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·/> | ||
88 | </div> | 93 | </div> |
89 | <p><a·href="a00008_source.html">Go·to·the·source·code·of·this·file.</a></p> | 94 | <p><a·href="a00008_source.html">Go·to·the·source·code·of·this·file.</a></p> |
90 | <table·class="memberdecls"> | 95 | <table·class="memberdecls"> |
96 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | ||
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> | ||
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> | ||
104 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">The·intersection·of·two·entities·of·the·two·patches·of·a·<a·class="el"·href="a00926.html"·title="sequential·adapter·to·couple·two·grids·at·specified·close·together·boundaries">GridGlue</a>.··<a·href="a00934.html#details">More...</a><br·/></td></tr> | ||
105 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
106 | </table><table·class="memberdecls"> | ||
91 | <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> |
92 | Namespaces</h2></td></tr> | 108 | 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> | 109 | <tr·class="memitem:a00103"·id="r_a00103"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00103.html">Dune</a></td></tr> |
94 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 110 | <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> | 111 | <tr·class="memitem:a00104"·id="r_a00104"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00104.html">Dune::GridGlue</a></td></tr> |
96 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 112 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
97 | </table><table·class="memberdecls"> | 113 | </table><table·class="memberdecls"> |
98 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="f | 114 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="define-members"·name="define-members"></a> |
99 | 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="a00008.html#aac752eae6e9ad7d1e576f1fe3f7c8a6b">ONLY_SIMPLEX_INTERSECTIONS</a></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:a | 117 | <tr·class="separator:aac752eae6e9ad7d1e576f1fe3f7c8a6b"><td·class="memSeparator"·colspan="2"> </td></tr> |
103 | </table> | 118 | </table> |
119 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> | ||
120 | <div·class="textblock"><p>Model·of·the·Intersection·concept·provided·by·GridGlue.·</p> | ||
121 | <dl·class="section·author"><dt>Author</dt><dd>Christian·Engwer·</dd></dl> | ||
122 | </div><h2·class="groupheader">Macro·Definition·Documentation</h2> | ||
123 | <a·id="aac752eae6e9ad7d1e576f1fe3f7c8a6b"·name="aac752eae6e9ad7d1e576f1fe3f7c8a6b"></a> | ||
124 | <h2·class="memtitle"><span·class="permalink"><a·href="#aac752eae6e9ad7d1e576f1fe3f7c8a6b">◆ </a></span>ONLY_SIMPLEX_INTERSECTIONS</h2> | ||
125 | <div·class="memitem"> | ||
126 | <div·class="memproto"> | ||
127 | ······<table·class="memname"> | ||
128 | ········<tr> | ||
129 | ··········<td·class="memname">#define·ONLY_SIMPLEX_INTERSECTIONS</td> | ||
130 | ········</tr> | ||
131 | ······</table> | ||
132 | </div><div·class="memdoc"> | ||
133 | </div> | ||
134 | </div> | ||
104 | </div><!--·contents·--> | 135 | </div><!--·contents·--> |
105 | <!--·start·footer·part·--> | 136 | <!--·start·footer·part·--> |
106 | <hr·class="footer"/><address·class="footer"><small> | 137 | <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 | 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 |
108 | </small></address> | 139 | </small></address> |
109 | </body> | 140 | </body> |
110 | </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 | _\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 | 8 | _.C_.l_.a_.s_.s_.e_.s·|·_.N_.a_.m_.e_.s_.p_.a_.c_.e_.s·|·_.M_.a_.c_.r_.o_.s | |
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·<tuple> | ||
14 | #include·<dune/common/deprecated.hh> | ||
15 | #include·<dune/common/ | 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> | ||
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. | 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:_\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 | ·········_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
29 | |||
17 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s | 30 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s |
18 | namespace· ·_\x8D_\x8u_\x8n_\x8e | 31 | namespace· ·_\x8D_\x8u_\x8n_\x8e |
19 | 32 | ||
20 | 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 |
21 | 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 | ||
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 | 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 | 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, 502 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="a00008.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 83 | <a·href="a00008.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><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="a00014.html">intersection.hh</a>"</span></div> | ||
90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·<vector></span></div> | ||
91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·<iterator></span></div> | ||
92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·"../gridglue.hh"</span></div> | ||
93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#if· | 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> |
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="l0001 | 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> |
96 | <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> | ||
97 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·< | 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> | ||
98 | <div·class="line"><a·id="l0001 | 93 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> |
99 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00103.html">Dune</a>·{</div> | ||
100 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class=" | 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> | ||
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> | ||
103 | <div·class="foldopen"·id="foldopen00021"·data-start="{"·data-end="}"> | ||
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_ptr<·<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a00926.html#ae152b87c89fcf70c7846497c0d3cad13">GridPatch<0></a>·>&·gp0,·<span·class="keyword">const</span>·std::shared_ptr<·<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a00926.html#ae152b87c89fcf70c7846497c0d3cad13">GridPatch<1></a>·>&·gp1,·<span·class="keyword">const</span>·std::shared_ptr<Merger>&·merger)</div> | ||
105 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>··:·patches_{gp0,·gp1},·merger_(merger)</div> | ||
106 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span> | 99 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div> |
100 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno"><a·class="line"·href="a00008.html#aac752eae6e9ad7d1e576f1fe3f7c8a6b">···24</a></span><span·class="preprocessor">#define·ONLY_SIMPLEX_INTERSECTIONS</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="l000 | 101 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div> |
117 | </div> | 102 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00103.html">Dune</a>·{</div> |
103 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>··<span·class="keyword">namespace·</span>GridGlue·{</div> | ||
104 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div> | ||
105 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>····<span·class="comment">//·forward·declaration</span></div> | ||
106 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>····<span·class="keyword">template</span><<span·class="keyword">typename</span>·P0,·<span·class="keyword">typename</span>·P1></div> | ||
107 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>····<span·class="keyword">class·</span>IntersectionIndexSet;</div> | ||
118 | <div·class="line"><a·id="l0003 | 108 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div> |
119 | <div·class="line"><a·id="l0003 | 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> |
120 | <div·class="foldopen"·id="foldopen0003 | 110 | <div·class="foldopen"·id="foldopen00037"·data-start="{"·data-end="};"> |
121 | <div·class="line"><a·id="l0003 | 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> |
122 | <div·class="line"><a·id="l0003 | 112 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>····{</div> |
123 | <div·class="line"><a·id="l0003 | 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> | ||
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 | 115 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·</div> |
130 | <div·class="line"><a·id="l0004 | 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#a1b[·...·truncated·by·diffoscope;·len:·150,·SHA:·9d233a3eddb6b06df20c8500c4144e1abc263493b95076e3b123e8970b71a5e6·...·]</div> |
117 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div> | ||
118 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno"><a·class="line"·href="a00930.html#a2b101a665b912ab2fbd5fd8e95491bec">···45</a></span>······<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_variable"·href="a00930.html#a2b101a665b912ab2fbd5fd8e95491bec">coorddim</a>·=·<a·class="code·hl_variable"·href="a00926.html#a2f6a53feab1f80490763bae3f10f734c">GridGlue::dimworld</a>;</div> | ||
131 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>· | 119 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div> |
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="l0004 | 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> | ||
135 | <div·class="line"><a·id="l0005 | 124 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div> |
136 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>··std::vector<Dune::FieldVector<ctype,·dimworld>·>·patch0coords;</div> | ||
137 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·· | 125 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>····<span·class="keyword">public</span>:</div> |
126 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno"><a·class="line"·href="a00930.html#a8e2218af4a0b1dc1ff24e9244f47de23">···54</a></span>······<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_variable"·href="a00930.html#a8e2218af4a0b1dc1ff24e9244f47de23">mydim</a>·=·dim<0>()·<·dim<1>()·?·dim<0>()·:·dim<1>();</div> | ||
138 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>··std::vector<Dune::GeometryType>·patch0types;</div> | ||
139 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>··std::vector<Dune::FieldVector<ctype,dimworld>·>·patch1coords;</div> | ||
140 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>··std::vector<unsigned·int>·patch1entities;</div> | ||
141 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>··std::vector<Dune::GeometryType>·patch1types;</div> | ||
142 | <div·class="line"><a·id="l0005 | 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> | ||
143 | <div·class="line"><a·id="l0005 | 131 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</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="commen | 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="s[·...·truncated·by·diffoscope;·len:·195,·SHA:·3e9480ff311984380d1118591d84f3197f5ac8ed8239ab590dbf5869b441c024·...·]</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> | ||
146 | <div·class="line"><a·id="l0006 | 134 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div> |
135 | <div·class="line"><a·id="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> | ||
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> | 138 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div> |
139 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno"><a·class="line"·href="a00930.html#a321b26a0c3b883d63a4f25937d727324">···67</a></span>······<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a00930.html#a321b26a0c3b883d63a4f25937d727324">Grid0Geometry</a>·[[deprecated(<span·class="stringliteral">"please·use·GridGeometry<0>·instead"</span>)]]·=·<a·class="code·hl_typedef"·href="a00930.html#a1d1557900c0904d86a048acd96a5728d">GridGeometry<0></a>;</div> | ||
140 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno"><a·class="line"·href="a00930.html#add631c80de4bcfba651130a460de019a">···68</a></span>······<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a00930.html#add631c80de4bcfba651130a460de019a">Grid1Geometry</a>·[[deprecated(<span·class="stringliteral">"please·use·GridGeometry<1>·instead"</span>)]]·=·<a·class="code·hl_typedef"·href="a00930.html#a1d1557900c0904d86a048acd96a5728d">GridGeometry<1></a>;</div> | ||
141 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div> | ||
142 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>······<span·class="keyword">template</span><<span·class="keywordtype">int</span>·s<span·class="keywordtype">id</span>e></div> | ||
143 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno"><a·class="line"·href="a00930.html#a3fff7e715ab7d74a2fd7a88ea45d38b3">···71</a></span>······<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a00930.html#a3fff7e715ab7d74a2fd7a88ea45d38b3">GridIndexType</a>·=·<span·class="keyword">typename</span>·GridGlue::template·GridView<side>::IndexSet::IndexType;</div> | ||
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> | ||
Max diff block lines reached; 161765/195472 bytes (82.76%) of diff not shown. |
Offset 1, 584 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·-*- | 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 | 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> | ||
22 | 17 | ||
23 | 18#include·<dune/common/deprecated.hh> | ||
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 | ||
25 | 14 | ||
26 | 1 | 24 | 19#include·<dune/common/version.hh> |
27 | 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 | ||
28 | 31 | 26namespace·_\x8D_\x8u_\x8n_\x8e·{ | |
29 | 32 | 27·namespace·GridGlue·{ | |
30 | 33 | 28 | |
34 | 29·//·forward·declaration | ||
31 | 35 | 30·template<typename·P0,·typename·P1> | |
36 | 31·class·IntersectionIndexSet; | ||
37 | 32 | ||
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 | 3 | 38 | 36·template<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 | 46·{ | ||
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 | 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·*/ | ||
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 | 39 | _.3_.7·class·_.I_.n_.t_.e_.r_.s_.e_.c_.t_.i_.o_.n_.D_.a_.t_.a | |
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; | ||
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 | _\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 | ||
70 | GridView<side>::dimensionworld>; | ||
80 | 66 | 71 | 66 |
Max diff block lines reached; 54250/62053 bytes (87.43%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-grid-glue:·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:·gridglue | 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, 48 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">gridglue | 79 | ··<div·class="headertitle"><div·class="title">gridglue.cc·File·Reference</div></div> |
80 | </div><!--header--> | 80 | </div><!--header--> |
81 | <div·class="contents"> | 81 | <div·class="contents"> |
82 | <div·class="textblock"><code>#include·"<a·class="el"·href="a00008_source.html">intersection.hh</a>"</code><br·/> | ||
82 | <p>Write·all·remote·intersections·to·a·vtk·file·for·debugging.·· | ||
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·/> | 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="a00041_source.html">../common/ringcomm.hh</a>"</code><br·/> | ||
88 | <code>#include·<dune/common/ | 87 | <code>#include·<dune/common/unused.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·/> | ||
92 | </div> | 88 | </div> |
93 | <p><a·href="a00020_source.html">Go·to·the·source·code·of·this·file.</a></p> | 89 | <p><a·href="a00020_source.html">Go·to·the·source·code·of·this·file.</a></p> |
94 | <table·class="memberdecls"> | 90 | <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="a00974.html">Dune::GridGlue::GridGlueVtkWriter</a></td></tr> | ||
98 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Write·remote·intersections·to·a·vtk·file·for·debugging·purposes.··<a·href="a00974.html#details">More...</a><br·/></td></tr> | ||
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> | 91 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
102 | Namespaces</h2></td></tr> | 92 | 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> | 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> |
104 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 94 | <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> | 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> |
106 | <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> | ||
107 | </table> | 103 | </table> |
108 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> | ||
109 | <div·class="textblock"><p>Write·all·remote·intersections·to·a·vtk·file·for·debugging.·</p> | ||
110 | </div>< | 104 | </div><!--·contents·--> |
111 | <!--·start·footer·part·--> | 105 | <!--·start·footer·part·--> |
112 | <hr·class="footer"/><address·class="footer"><small> | 106 | <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 | 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 |
114 | </small></address> | 108 | </small></address> |
115 | </body> | 109 | </body> |
116 | </html> | 110 | </html> |
Offset 1, 33 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 | _\x8 | 8 | _\x8N_.a_.m_.e_.s_.p_.a_.c_.e_.s·|·_.F_.u_.n_.c_.t_.i_.o_.n_\x8s |
9 | gridglue | 9 | gridglue.cc·File·Reference |
10 | #include·"_\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8._\x8h_\x8h" | ||
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> | 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/ | 15 | #include·<dune/common/unused.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> | ||
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. | 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. |
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. | ||
23 | ········_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
24 | |||
25 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s | 17 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s |
26 | namespace· ·_\x8D_\x8u_\x8n_\x8e | 18 | namespace· ·_\x8D_\x8u_\x8n_\x8e |
27 | 19 | ||
28 | 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 |
29 | 21 | ||
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 | 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 | |||
32 | =============================================================================== | 27 | =============================================================================== |
33 | ·····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:·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, 318 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">gridglue | 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="a00020.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 83 | <a·href="a00020.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·©·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div> | 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·©·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div> |
86 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with-dune-grid-glue-exception</span></div> | 86 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with-dune-grid-glue-exception</span></div> |
87 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">/*</span></div> | 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><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="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#ifndef·DUNE_GRIDGLUE_ADAPTER_GRIDGLUEVTKWRITER_HH</span></div> | ||
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> | ||
99 | <div·class="line"><a·id="l000 | 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="a00008.html">intersection.hh</a>"</span></div> | ||
90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·<vector></span></div> | ||
91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·<iterator></span></div> | ||
92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·"../gridglue.hh"</span></div> | ||
93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#if·HAVE_MPI</span></div> | ||
94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·"../common/ringcomm.hh"</span></div> | ||
95 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#endif</span></div> | ||
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="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00103.html">Dune</a>·{</div> | ||
100 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="keyword">namespace·</span>GridGlue·{</div> | ||
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> | ||
103 | <div·class="foldopen"·id="foldopen00021"·data-start="{"·data-end="}"> | ||
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_ptr<·<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a00926.html#ae152b87c89fcf70c7846497c0d3cad13">GridPatch<0></a>·>&·gp0,·<span·class="keyword">const</span>·std::shared_ptr<·<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a00926.html#ae152b87c89fcf70c7846497c0d3cad13">GridPatch<1></a>·>&·gp1,·<span·class="keyword">const</span>·std::shared_ptr<Merger>&·merger)</div> | ||
105 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>··:·patches_{gp0,·gp1},·merger_(merger)</div> | ||
100 | <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> |
101 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#i | 107 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#if·HAVE_MPI</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="l0002 | 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> | ||
105 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div> | 111 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>····mpicomm_·=·MPI_COMM_SELF;</div> |
106 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class=" | 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> | ||
107 | <div·class="line"><a·id="l0003 | 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> |
108 | <div·class="line"><a·id="l0003 | 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> |
109 | <div·class="line"><a·id="l0003 | 116 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>}</div> |
110 | < | 117 | </div> |
111 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div> | 118 | <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="l0003 | 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="foldopen00036"·data-start="{"·data-end="}"> | ||
121 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno"><a·class="line"·href="a00926.html#a5b6569010e6daca0427036a725b47e38">···36</a></span><span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a00926.html#a5b6569010e6daca0427036a725b47e38">GridGlue<P0,·P1>::build</a>()</div> | ||
114 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span> | 122 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>{</div> |
115 | <div·class="foldopen"·id="foldopen00040"·data-start="{"·data-end="};"> | ||
116 | <div·class="line"><a·id="l000 | 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> | ||
117 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span> | 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> | ||
118 | <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> | ||
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="l0004 | 131 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>··{</div> |
122 | <div·class="line"><a·id="l0004 | 132 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>····std::vector<IntersectionData>·dummy(1);·<span·class="comment">//·we·need·size·1,·as·we·always·store·data·for·the·end-intersection</span></div> |
133 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>····intersections_.swap(dummy);</div> | ||
134 | <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>·</div> | 135 | <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>·· | 136 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>··std::vector<Dune::FieldVector<ctype,·dimworld>·>·patch0coords;</div> |
125 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div> | 137 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>··std::vector<unsigned·int>·patch0entities;</div> |
126 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>·· | 138 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>··std::vector<Dune::GeometryType>·patch0types;</div> |
139 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>··std::vector<Dune::FieldVector<ctype,dimworld>·>·patch1coords;</div> | ||
127 | <div·class="line"><a·id="l0005 | 140 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>··std::vector<unsigned·int>·patch1entities;</div> |
141 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>··std::vector<Dune::GeometryType>·patch1types;</div> | ||
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> | 142 | <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="l0005 | 143 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>··<span·class="comment">/*</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="l000 | 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> | ||
135 | <div·class="line"><a·id="l0006 | 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> | ||
136 | <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> | ||
137 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>····std::string·coordinatePadding;</div> | ||
138 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>····<span·class="keywordflow">for</span>·(<span·class="keywordtype">int</span>·i=domdimw;·i<3;·i++)</div> | ||
139 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>······coordinatePadding·+=·<span·class="stringliteral">"·0"</span>;</div> | ||
140 | <div·class="line"><a·id="l0006 | 151 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</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="l000 | 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; 103890/129095 bytes (80.48%) of diff not shown. |
Offset 1, 349 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 | gridglue | 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 | 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" | ||
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 | 19 | 8#include·<vector> | |
35 | 20 | 9#include·<iterator> | |
21 | 10#include·"../gridglue.hh" | ||
22 | 11#if·HAVE_MPI | ||
23 | 12#include·"../common/ringcomm.hh" | ||
24 | 13#endif | ||
25 | 14 | ||
36 | 26 | 15#include·<dune/common/unused.hh> | |
37 | 30#include·<dune/geometry/type.hh> | ||
38 | 31#include·<dune/geometry/referenceelements.hh> | ||
39 | 32 | ||
40 | 27 | 16 | |
28 | 17namespace·_\x8D_\x8u_\x8n_\x8e·{ | ||
29 | 18namespace·GridGlue·{ | ||
30 | 19 | ||
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} | ||
41 | 34 | 47 | 34 |
42 | 35namespace·_\x8D_\x8u_\x8n_\x8e·{ | ||
43 | 3 | 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() | ||
44 | 37 | 50 | 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 | 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 | ||
51 | 4 | 59 | 46·{ |
52 | 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); | ||
63 | 49·} | ||
53 | 50 | 64 | 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 | 5 | 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; | ||
60 | 57 | 71 | 57 |
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 | ||
88 | 74#ifdef·WRITE_TO_VTK | ||
89 | 75·const·char·prefix[]·=·"GridGlue::Builder::build()·:·"; | ||
90 | 76·char·patch0surf[256]; | ||
91 | 77·sprintf(patch0surf,·"/tmp/vtk-patch0-test-%i",·myrank); | ||
92 | 78·char·patch1surf[256]; | ||
93 | 79·sprintf(patch1surf,·"/tmp/vtk-patch1-test-%i",·myrank); | ||
61 | 58·typedef·typename·GridView::ctype·ctype; | ||
62 | 59 | ||
Max diff block lines reached; 29338/35000 bytes (83.82%) of diff not shown. |
Offset 76, 15 lines modified | Offset 76, 15 lines modified | ||
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">intersectionindexset.hh·File·Reference</div></div> | 79 | ··<div·class="headertitle"><div·class="title">intersectionindexset.hh·File·Reference</div></div> |
80 | </div><!--header--> | 80 | </div><!--header--> |
81 | <div·class="contents"> | 81 | <div·class="contents"> |
82 | <div·class="textblock"><code>#include·<<a·class="el"·href="a00002_source.html">dune/grid-glue/gridglue.hh</a>></code><br·/> | 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="a000 | 83 | <code>#include·<<a·class="el"·href="a00008_source.html">dune/grid-glue/adapter/intersection.hh</a>></code><br·/> |
84 | </div> | 84 | </div> |
85 | <p><a·href="a00023_source.html">Go·to·the·source·code·of·this·file.</a></p> | 85 | <p><a·href="a00023_source.html">Go·to·the·source·code·of·this·file.</a></p> |
86 | <table·class="memberdecls"> | 86 | <table·class="memberdecls"> |
87 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 87 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
88 | Classes</h2></td></tr> | 88 | Classes</h2></td></tr> |
89 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00942.html">Dune::GridGlue::IntersectionIndexSet<·P0,·P1·></a></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> | 90 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
Offset 83, 15 lines modified | Offset 83, 15 lines modified | ||
83 | <div·class="contents"> | 83 | <div·class="contents"> |
84 | <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"><a·class="line"·href="a00942.html#a8d92c44719935a9e0bfd103f7b8a7e4a">····1</a></span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·©·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div> | 84 | <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"><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> |
85 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with-dune-grid-glue-exception</span></div> | 85 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with-dune-grid-glue-exception</span></div> |
86 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_GRIDGLUE_ADAPTER_INTERSECTIONINDEXSET_HH</span></div> | 86 | <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> |
87 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_GRIDGLUE_ADAPTER_INTERSECTIONINDEXSET_HH</span></div> | 87 | <div·class="line"><a·id="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="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> | 88 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> |
89 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#include·<<a·class="code"·href="a00002.html">dune/grid-glue/gridglue.hh</a>></span></div> | 89 | <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> |
90 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#include·<<a·class="code"·href="a000 | 90 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#include·<<a·class="code"·href="a00008.html">dune/grid-glue/adapter/intersection.hh</a>></span></div> |
91 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span>·</div> | 91 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span>·</div> |
92 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#ifndef·ONLY_SIMPLEX_INTERSECTIONS</span></div> | 92 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#ifndef·ONLY_SIMPLEX_INTERSECTIONS</span></div> |
93 | <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="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> |
94 | <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="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="comment">//·we·have·to·think·about·the·semantics·of·our·IndexSet</span></div> |
95 | <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="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#error·Not·Implemented</span></div> |
96 | <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="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#endif</span></div> |
97 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div> | 97 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div> |
Offset 135, 15 lines modified | Offset 135, 15 lines modified | ||
135 | </div> | 135 | </div> |
136 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div> | 136 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div> |
137 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>····}·<span·class="comment">//·end·namespace·GridGlue</span></div> | 137 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>····}·<span·class="comment">//·end·namespace·GridGlue</span></div> |
138 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>}·<span·class="comment">//·end·namespace·Dune</span></div> | 138 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>}·<span·class="comment">//·end·namespace·Dune</span></div> |
139 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div> | 139 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div> |
140 | <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="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> |
141 | <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="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> |
142 | <div·class="ttc"·id="aa000 | 142 | <div·class="ttc"·id="aa00008_html"><div·class="ttname"><a·href="a00008.html">intersection.hh</a></div><div·class="ttdoc">Model·of·the·Intersection·concept·provided·by·GridGlue.</div></div> |
143 | <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> | 143 | <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> |
144 | <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> | 144 | <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> |
145 | <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> | 145 | <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> |
146 | <div·class="ttc"·id="aa00926_html_af435516d26a24730729d2c827137b57d"><div·class="ttname"><a·href="a00926.html#af435516d26a24730729d2c827137b57d">Dune::GridGlue::GridGlue::size</a></div><div·class="ttdeci">size_t·size()·const</div><div·class="ttdef"><b>Definition</b>·gridglue.hh:393</div></div> | 146 | <div·class="ttc"·id="aa00926_html_af435516d26a24730729d2c827137b57d"><div·class="ttname"><a·href="a00926.html#af435516d26a24730729d2c827137b57d">Dune::GridGlue::GridGlue::size</a></div><div·class="ttdeci">size_t·size()·const</div><div·class="ttdef"><b>Definition</b>·gridglue.hh:393</div></div> |
147 | <div·class="ttc"·id="aa00930_html_acd2845472ab276c8ee95325a1ad8015a"><div·class="ttname"><a·href="a00930.html#acd2845472ab276c8ee95325a1ad8015a">Dune::GridGlue::IntersectionData::index_</a></div><div·class="ttdeci">IndexType·index_</div><div·class="ttdoc">index·of·this·intersection·after·GridGlue·interface</div><div·class="ttdef"><b>Definition</b>·intersection.hh:112</div></div> | 147 | <div·class="ttc"·id="aa00930_html_acd2845472ab276c8ee95325a1ad8015a"><div·class="ttname"><a·href="a00930.html#acd2845472ab276c8ee95325a1ad8015a">Dune::GridGlue::IntersectionData::index_</a></div><div·class="ttdeci">IndexType·index_</div><div·class="ttdoc">index·of·this·intersection·after·GridGlue·interface</div><div·class="ttdef"><b>Definition</b>·intersection.hh:112</div></div> |
148 | <div·class="ttc"·id="aa00934_html"><div·class="ttname"><a·href="a00934.html">Dune::GridGlue::Intersection</a></div><div·class="ttdoc">The·intersection·of·two·entities·of·the·two·patches·of·a·GridGlue.</div><div·class="ttdef"><b>Definition</b>·intersection.hh:257</div></div> | 148 | <div·class="ttc"·id="aa00934_html"><div·class="ttname"><a·href="a00934.html">Dune::GridGlue::Intersection</a></div><div·class="ttdoc">The·intersection·of·two·entities·of·the·two·patches·of·a·GridGlue.</div><div·class="ttdef"><b>Definition</b>·intersection.hh:257</div></div> |
149 | <div·class="ttc"·id="aa00942_html"><div·class="ttname"><a·href="a00942.html">Dune::GridGlue::IntersectionIndexSet</a></div><div·class="ttdef"><b>Definition</b>·intersectionindexset.hh:20</div></div> | 149 | <div·class="ttc"·id="aa00942_html"><div·class="ttname"><a·href="a00942.html">Dune::GridGlue::IntersectionIndexSet</a></div><div·class="ttdef"><b>Definition</b>·intersectionindexset.hh:20</div></div> |
Offset 77, 15 lines modified | Offset 77, 15 lines modified | ||
77 | <a·href="#namespaces">Namespaces</a>·| | 77 | <a·href="#namespaces">Namespaces</a>·| |
78 | <a·href="#func-members">Functions</a>··</div> | 78 | <a·href="#func-members">Functions</a>··</div> |
79 | ··<div·class="headertitle"><div·class="title">areawriter.hh·File·Reference</div></div> | 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·<ostream></code><br·/> | 82 | <div·class="textblock"><code>#include·<ostream></code><br·/> |
83 | <code>#include·<string></code><br·/> | 83 | <code>#include·<string></code><br·/> |
84 | <code>#include·"<a·class="el"·href="a000 | 84 | <code>#include·"<a·class="el"·href="a00047_source.html">areawriter_impl.hh</a>"</code><br·/> |
85 | </div> | 85 | </div> |
86 | <p><a·href="a00029_source.html">Go·to·the·source·code·of·this·file.</a></p> | 86 | <p><a·href="a00029_source.html">Go·to·the·source·code·of·this·file.</a></p> |
87 | <table·class="memberdecls"> | 87 | <table·class="memberdecls"> |
88 | <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> |
89 | Namespaces</h2></td></tr> | 89 | 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> | 90 | <tr·class="memitem:a00103"·id="r_a00103"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00103.html">Dune</a></td></tr> |
91 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 91 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
Offset 100, 18 lines modified | Offset 100, 18 lines modified | ||
100 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> | 100 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> |
101 | <div·class="line"><a·id="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="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="keyword">template</span><<span·class="keyword">typename</span>·Glue></div> |
102 | <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="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> |
103 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div> | 103 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div> |
104 | <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="l00040"·name="l00040"></a><span·class="lineno">···40</span>}·<span·class="comment">/*·namespace·GridGlue·*/</span></div> |
105 | <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="l00041"·name="l00041"></a><span·class="lineno">···41</span>}·<span·class="comment">/*·namespace·Dune·*/</span></div> |
106 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div> | 106 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div> |
107 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span><span·class="preprocessor">#include·"<a·class="code"·href="a000 | 107 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span><span·class="preprocessor">#include·"<a·class="code"·href="a00047.html">areawriter_impl.hh</a>"</span></div> |
108 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div> | 108 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div> |
109 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span><span·class="preprocessor">#endif</span></div> | 109 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span><span·class="preprocessor">#endif</span></div> |
110 | <div·class="ttc"·id="aa000 | 110 | <div·class="ttc"·id="aa00047_html"><div·class="ttname"><a·href="a00047.html">areawriter_impl.hh</a></div></div> |
111 | <div·class="ttc"·id="aa00103_html"><div·class="ttname"><a·href="a00103.html">Dune</a></div><div·class="ttdef"><b>Definition</b>·gridglue.hh:37</div></div> | 111 | <div·class="ttc"·id="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="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_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> |
113 | <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·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> |
114 | </div><!--·fragment·--></div><!--·contents·--> | 114 | </div><!--·fragment·--></div><!--·contents·--> |
115 | <!--·start·footer·part·--> | 115 | <!--·start·footer·part·--> |
116 | <hr·class="footer"/><address·class="footer"><small> | 116 | <hr·class="footer"/><address·class="footer"><small> |
117 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 117 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <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 70, 41 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_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"> | 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·<array></code><br·/> | ||
83 | <code>#include·<bitset></code><br·/> | ||
84 | <code>#include·<tuple></code><br·/> | ||
85 | <code>#include·"<a·class="el"·href="a00041_source.html">projection_impl.hh</a>"</code><br·/> | ||
86 | </div> | ||
87 | <p><a·href="a00032_source.html">Go·to·the·source·code·of·this·file.</a></p> | 82 | <p><a·href="a00032_source.html">Go·to·the·source·code·of·this·file.</a></p> |
88 | <table·class="memberdecls"> | 83 | <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> | 84 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
99 | Namespaces</h2></td></tr> | 85 | 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> | 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> |
101 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 87 | <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> | 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> |
103 | <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="func-members"·name="func-members"></a> | ||
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> | ||
96 | <tr·class="separator:acbf555ac0358f96454a5f22dd4ac4de2"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
104 | </table> | 97 | </table> |
105 | </div><!--·contents·--> | 98 | </div><!--·contents·--> |
106 | <!--·start·footer·part·--> | 99 | <!--·start·footer·part·--> |
107 | <hr·class="footer"/><address·class="footer"><small> | 100 | <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 | 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 |
109 | </small></address> | 102 | </small></address> |
110 | </body> | 103 | </body> |
Offset 1, 28 lines modified | Offset 1, 24 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 | 9 | crossproduct.hh·File·Reference | |
10 | #include·<array> | ||
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" | ||
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. | 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 | 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 | 11 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s |
23 | namespace· ·_\x8D_\x8u_\x8n_\x8e | 12 | namespace· ·_\x8D_\x8u_\x8n_\x8e |
24 | 13 | ||
25 | 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 |
26 | 15 | ||
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 | ||
22 | |||
27 | =============================================================================== | 23 | =============================================================================== |
28 | ·····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, 137 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="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">#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="preprocessor">#include·<array></span></div> | ||
89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#include·<bitset></span></div> | ||
90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·<tuple></span></div> | ||
91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> | ||
92 | <div·class="line"><a·id="l000 | 88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00103.html">Dune</a>·{</div> |
93 | <div·class="line"><a·id="l000 | 89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="keyword">namespace·</span>GridGlue·{</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="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> |
96 | <div·class="foldopen"·id="foldopen000 | 92 | <div·class="foldopen"·id="foldopen00015"·data-start="{"·data-end="}"> |
97 | <div·class="line"><a·id="l000 | 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#acbf555ac0358f9[·...·truncated·by·diffoscope;·len:·110,·SHA:·09fd0d844567c5776310340825df7bf159e0444f4a1e1aa519fb13abbfe783ed·...·]</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> | ||
98 | <div·class="line"><a·id="l000 | 95 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>{</div> |
99 | <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> | ||
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="l0002 | 98 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div> |
103 | <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> | ||
104 | <div·class="line"><a·id="l000 | 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> |
105 | <div·class="line"><a·id="l000 | 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> |
106 | <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> | ||
107 | </div> | 106 | </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="l000 | 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> | ||
111 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno"><a·class="line"·href="a00994.html#a2a50b590e9f1253de65514d8a4dcaac1">···54</a></span>··<span·class="keyword">constexpr</span>·<span·class="keyword">static</span>·<span·class="keywordtype">unsigned</span>·<a·class="code·hl_variable"·href="a00994.html#a2a50b590e9f1253de65514d8a4dcaac1">maxEdgeIntersections</a>·=·<a·class="code·hl_variable"·href="a00994.html#a91d2da705bff70610909307ff749fab4">dim</a>·==·3·?·9·:·0;</div> | ||
112 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div> | ||
113 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>··<span·class="keyword">static_assert</span>(<a·class="code·hl_variable"·href="a00994.html#a91d2da705bff70610909307ff749fab4">dim</a>·==·2·||·<a·class="code·hl_variable"·href="a00994.html#a91d2da705bff70610909307ff749fab4">dim</a>·==·3,·<span·class="stringliteral">"Projection·only·implemented·for·dim=2·or·dim=3"</span>);</div> | ||
114 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div> | ||
115 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno"><a·class="line"·href="a00994.html#a0312bd2019c83fcdcfe54f413ae2c832">···61</a></span>··<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·Coordinate::field_type·<a·class="code·hl_typedef"·href="a00994.html#a0312bd2019c83fcdcfe54f413ae2c832">Field</a>;</div> | ||
116 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div> | ||
117 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno"><a·class="line"·href="a00994.html#a37acefc0bac2554184beb21fec32f78d">···70</a></span>··<span·class="keyword">typedef</span>·std::array<Coordinate,·dim>·<a·class="code·hl_typedef"·href="a00994.html#a37acefc0bac2554184beb21fec32f78d">Images</a>;</div> | ||
118 | <div·class="line"><a·id="l000 | 110 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div> |
119 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno"><a·class="line"·href="a00994.html#a2e1b079126baedc0be5ee999290cf88f">···78</a></span>··<span·class="keyword">typedef</span>·<a·class="code·hl_typedef"·href="a00994.html#a37acefc0bac2554184beb21fec32f78d">Images</a>·<a·class="code·hl_typedef"·href="a00994.html#a2e1b079126baedc0be5ee999290cf88f">Preimages</a>;</div> | ||
120 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>·</div> | ||
121 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span><span·class="keyword">private</span>:</div> | ||
122 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>··<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a00994.html#a0312bd2019c83fcdcfe54f413ae2c832">Field</a>·m_overlap;</div> | ||
123 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>·</div> | ||
124 | <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>··<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a00994.html#a0312bd2019c83fcdcfe54f413ae2c832">Field</a>·m_max_normal_product;</div> | ||
125 | <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>·</div> | ||
126 | <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>··<a·class="code·hl_typedef"·href="a00994.html#a0312bd2019c83fcdcfe54f413ae2c832">Field</a>·m_epsilon·=·<a·class="code·hl_typedef"·href="a00994.html#a0312bd2019c83fcdcfe54f413ae2c832">Field</a>(1e-12);</div> | ||
127 | <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>·</div> | ||
128 | <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>··std::tuple<Images,·Preimages>·m_images;</div> | ||
129 | <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>·</div> | ||
130 | <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span>··std::tuple<std::bitset<dim>,·std::bitset<dim>·>·m_success;</div> | ||
131 | <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span>·</div> | ||
132 | <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span>··<span·class="keywordtype">unsigned</span>·m_number_of_edge_intersections;</div> | ||
133 | <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span>·</div> | ||
134 | <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno">··113</span>··std::array<EdgeIntersection,·maxEdgeIntersections>·m_edge_intersections;</div> | ||
135 | <div·class="line"><a·id="l00114"·name="l00114"></a><span·class="lineno">··114</span>·</div> | ||
136 | <div·class="line"><a·id="l00126"·name="l00126"></a><span·class="lineno">··126</span>··<span·class="keywordtype">bool</span>·m_projection_valid;</div> | ||
137 | <div·class="line"><a·id="l00127"·name="l00127"></a><span·class="lineno">··127</span>·</div> | ||
138 | <div·class="line"><a·id="l00133"·name="l00133"></a><span·class="lineno">··133</span>··<span·class="keyword">template</span><<span·class="keyword">typename</span>·Corners,·<span·class="keyword">typename</span>·Normals></div> | ||
139 | <div·class="line"><a·id="l00134"·name="l00134"></a><span·class="lineno">··134</span>··<span·class="keywordtype">void</span>·doProjection(<span·class="keyword">const</span>·std::tuple<Corners&,·Corners&>&·corners,·<span·class="keyword">const</span>·std::tuple<Normals&,·Normals&>&·normals);</div> | ||
140 | <div·class="line"><a·id="l00135"·name="l00135"></a><span·class="lineno">··135</span>·</div> | ||
141 | <div·class="line"><a·id="l00144"·name="l00144"></a><span·class="lineno">··144</span>··<span·class="keyword">template</span><<span·class="keyword">typename</span>·Corners,·<span·class="keyword">typename</span>·Normals></div> | ||
142 | <div·class="line"><a·id="l00145"·name="l00145"></a><span·class="lineno">··145</span>··<span·class="keywordtype">void</span>·doInverseProjection(<span·class="keyword">const</span>·std::tuple<Corners&,·Corners&>&·corners,·<span·class="keyword">const</span>·std::tuple<Normals&,·Normals&>&·normals);</div> | ||
143 | <div·class="line"><a·id="l00146"·name="l00146"></a><span·class="lineno">··146</span>·</div> | ||
144 | <div·class="line"><a·id="l00155"·name="l00155"></a><span·class="lineno">··155</span>··<span·class="keyword">template</span><<span·class="keyword">typename</span>·Corners,·<span·class="keyword">typename</span>·Normals></div> | ||
145 | <div·class="line"><a·id="l00156"·name="l00156"></a><span·class="lineno">··156</span>··<span·class="keywordtype">void</span>·doEdgeIntersection(<span·class="keyword">const</span>·std::tuple<Corners&,·Corners&>&·corners,·<span·class="keyword">const</span>·std::tuple<Normals&,·Normals&>&·normals);</div> | ||
146 | <div·class="line"><a·id="l00157"·name="l00157"></a><span·class="lineno">··157</span>·</div> | ||
147 | <div·class="line"><a·id="l00183"·name="l00183"></a><span·class="lineno">··183</span>··<span·class="keyword">template</span><<span·class="keyword">typename</span>·Corners,·<span·class="keyword">typename</span>·Normals></div> | ||
148 | <div·class="line"><a·id="l00184"·name="l00184"></a><span·class="lineno">··184</span>··<span·class="keyword">inline</span>·<span·class="keywordtype">bool</span>·projectionFeasible(<span·class="keyword">const</span>·Coordinate&·x,·<span·class="keyword">const</span>·Coordinate&·nx,·<span·class="keyword">const</span>·Coordinate&·px,·<span·class="keyword">const</span>·Corners&·corners,·<span·class="keyword">const</span>·Normals&·normals)·<span·class="keyword">const</span>;</div> | ||
149 | <div·class="line"><a·id="l00185"·name="l00185"></a><span·class="lineno">··185</span>·</div> | ||
150 | <div·class="line"><a·id="l00186"·name="l00186"></a><span·class="lineno">··186</span><span·class="keyword">public</span>:</div> | ||
151 | <div·class="line"><a·id="l00191"·name="l00191"></a><span·class="lineno">··191</span>··<a·class="code·hl_class"·href="a00994.html">Projection</a>(<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a00994.html#a0312bd2019c83fcdcfe54f413ae2c832">Field</a>·overlap·=·<a·class="code·hl_typedef"·href="a00994.html#a0312bd2019c83fcdcfe54f413ae2c832">Field</a>(0),·<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a00994.html#a0312bd2019c83fcdcfe54f413ae2c832">Field</a>·max_normal_product·=·<a·class="code·hl_typedef"·href="a00994.html#a0312bd2019c83fcdcfe54f413ae2c832">Field</a>(-0.1));</div> | ||
152 | <div·class="line"><a·id="l00192"·name="l00192"></a><span·class="lineno">··192</span>·</div> | ||
153 | <div·class="line"><a·id="l00198"·name="l00198"></a><span·class="lineno">··198</span>··<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a00994.html#a4f1e3bfbc87fcad521b8bdb2890b64f0">epsilon</a>(<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a00994.html#a0312bd2019c83fcdcfe54f413ae2c832">Field</a>·<a·class="code·hl_function"·href="a00994.html#a4f1e3bfbc87fcad521b8bdb2890b64f0">epsilon</a>);</div> | ||
154 | <div·class="line"><a·id="l00199"·name="l00199"></a><span·class="lineno">··199</span>·</div> | ||
155 | <div·class="line"><a·id="l00212"·name="l00212"></a><span·class="lineno">··212</span>··<span·class="keyword">template</span><<span·class="keyword">typename</span>·Corners,·<span·class="keyword">typename</span>·Normals></div> | ||
156 | <div·class="line"><a·id="l00213"·name="l00213"></a><span·class="lineno">··213</span>··<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a00994.html#a62468271652b299cc094a58ca5a6e590">project</a>(<span·class="keyword">const</span>·std::tuple<Corners&,·Corners&>&·corners,·<span·class="keyword">const</span>·std::tuple<Normals&,·Normals&>&·normals);</div> | ||
157 | <div·class="line"><a·id="l00214"·name="l00214"></a><span·class="lineno">··214</span>·</div> | ||
158 | <div·class="foldopen"·id="foldopen00235"·data-start="{"·data-end="}"> | ||
159 | <div·class="line"><a·id="l00235"·name="l00235"></a><span·class="lineno"><a·class="line"·href="a00994.html#aeab213dc7d5226a105d2ddf4f59c3183">··235</a></span>··<span·class="keyword">const</span>·std::tuple<Images,·Preimages>&·<a·class="code·hl_function"·href="a00994.html#aeab213dc7d5226a105d2ddf4f59c3183">images</a>()<span·class="keyword">·const</span></div> | ||
160 | <div·class="line"><a·id="l00236"·name="l00236"></a><span·class="lineno">··236</span><span·class="keyword">····</span>{·<span·class="keywordflow">return</span>·m_images;·}</div> | ||
161 | </div> | ||
162 | <div·class="line"><a·id="l00237"·name="l00237"></a><span·class="lineno">··237</span>·</div> | ||
163 | <div·class="foldopen"·id="foldopen00252"·data-start="{"·data-end="}"> | ||
164 | <div·class="line"><a·id="l00252"·name="l00252"></a><span·class="lineno"><a·class="line"·href="a00994.html#a10ded8b4b7964b911b8a0e90eda4d485">··252</a></span>··<span·class="keyword">const</span>·std::tuple<std::bitset<dim>,·std::bitset<dim>·>&·<a·class="code·hl_function"·href="a00994.html#a10ded8b4b7964b911b8a0e90eda4d485">success</a>()<span·class="keyword">·const</span></div> | ||
165 | <div·class="line"><a·id="l00253"·name="l00253"></a><span·class="lineno">··253</span><span·class="keyword">····</span>{·<span·class="keywordflow">return</span>·m_success;·}</div> | ||
166 | </div> | ||
167 | <div·class="line"><a·id="l00254"·name="l00254"></a><span·class="lineno">··254</span>·</div> | ||
168 | <div·class="foldopen"·id="foldopen00262"·data-start="{"·data-end="}"> | ||
169 | <div·class="line"><a·id="l00262"·name="l00262"></a><span·class="lineno"><a·class="line"·href="a00994.html#ad775f9e1a7b13cfb01807f00013053c7">··262</a></span>··<span·class="keywordtype">unsigned</span>·<a·class="code·hl_function"·href="a00994.html#ad775f9e1a7b13cfb01807f00013053c7">numberOfEdgeIntersections</a>()<span·class="keyword">·const</span></div> | ||
170 | <div·class="line"><a·id="l00263"·name="l00263"></a><span·class="lineno">··263</span><span·class="keyword">····</span>{·<span·class="keywordflow">return</span>·m_number_of_edge_intersections;·}</div> | ||
171 | </div> | ||
172 | <div·class="line"><a·id="l00264"·name="l00264"></a><span·class="lineno">··264</span>·</div> | ||
173 | <div·class="foldopen"·id="foldopen00273"·data-start="{"·data-end="}"> | ||
174 | <div·class="line"><a·id="l00273"·name="l00273"></a><span·class="lineno"><a·class="line"·href="a00994.html#af3ffe2462d703112315d56f040da3ed5">··273</a></span>··<span·class="keyword">const</span>·std::array<EdgeIntersection,·maxEdgeIntersections>&·<a·class="code·hl_function"·href="a00994.html#af3ffe2462d703112315d56f040da3ed5">edgeIntersections</a>()<span·class="keyword">·const</span></div> | ||
175 | <div·class="line"><a·id="l00274"·name="l00274"></a><span·class="lineno">··274</span><span·class="keyword">····</span>{·<span·class="keywordflow">return</span>·m_edge_intersections;·}</div> | ||
176 | </div> | ||
Max diff block lines reached; 6547/30195 bytes (21.68%) of diff not shown. |
Offset 1, 175 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·<array> | ||
18 | 7#include·<bitset> | ||
19 | 8#include·<tuple> | ||
20 | 9 | ||
21 | 17 | 6namespace·_\x8D_\x8u_\x8n_\x8e·{ | |
22 | 18 | 7namespace·GridGlue·{ | |
19 | 8 | ||
20 | 14template·<class·T,·int·dim> | ||
21 | _\x81_\x85static·Dune::FieldVector<T,dim>·_\x8c_\x8r_\x8o_\x8s_\x8s_\x8P_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t(const·Dune::FieldVector<T,dim>& | ||
22 | a, | ||
23 | 16·const·Dune::FieldVector<T,dim>&·b) | ||
24 | 17{ | ||
25 | 18·if·(dim!=3) | ||
26 | 19·DUNE_THROW(Dune::NotImplemented,·"crossProduct·does·not·work·for·dimension·" | ||
27 | <<·dim); | ||
28 | 20 | ||
29 | 21·Dune::FieldVector<T,dim>·c; | ||
30 | 22·c[0]·=·a[1]*b[2]·-·a[2]*b[1]; | ||
31 | 23·c[1]·=·a[2]*b[0]·-·a[0]*b[2]; | ||
32 | 24·c[2]·=·a[0]*b[1]·-·a[1]*b[0]; | ||
23 | 12 | ||
24 | 19template<typename·Coordinate> | ||
25 | _\x82_\x80class·_\x8P_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n | ||
26 | 21{ | ||
27 | 22public: | ||
28 | _\x82_\x88·struct·_\x8E_\x8d_\x8g_\x8e_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n | ||
29 | 29·{ | ||
30 | _\x83_\x83·std::array<unsigned,·2>·_\x8e_\x8d_\x8g_\x8e; | ||
31 | 34 | ||
32 | _\x84_\x81·std::array<Coordinate,·2>·_\x8l_\x8o_\x8c_\x8a_\x8l; | ||
33 | 42·}; | ||
34 | 43 | ||
35 | _\x84_\x87·constexpr·static·unsigned·_\x8d_\x8i_\x8m·=·Coordinate::dimension; | ||
36 | 48 | ||
37 | _\x85_\x84·constexpr·static·unsigned·_\x8m_\x8a_\x8x_\x8E_\x8d_\x8g_\x8e_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8s·=·_\x8d_\x8i_\x8m·==·3·?·9·:·0; | ||
38 | 55 | ||
39 | 56·static_assert(_\x8d_\x8i_\x8m·==·2·||·_\x8d_\x8i_\x8m·==·3,·"Projection·only·implemented·for·dim=2 | ||
40 | or·dim=3"); | ||
41 | 57 | ||
42 | _\x86_\x81·typedef·typename·Coordinate::field_type·_\x8F_\x8i_\x8e_\x8l_\x8d; | ||
43 | 62 | ||
44 | _\x87_\x80·typedef·std::array<Coordinate,·dim>·_\x8I_\x8m_\x8a_\x8g_\x8e_\x8s; | ||
45 | 71 | ||
46 | _\x87_\x88·typedef·_\x8I_\x8m_\x8a_\x8g_\x8e_\x8s·_\x8P_\x8r_\x8e_\x8i_\x8m_\x8a_\x8g_\x8e_\x8s; | ||
47 | 79 | ||
48 | 80private: | ||
49 | 84·const·_\x8F_\x8i_\x8e_\x8l_\x8d·m_overlap; | ||
50 | 85 | ||
51 | 94·const·_\x8F_\x8i_\x8e_\x8l_\x8d·m_max_normal_product; | ||
52 | 95 | ||
53 | 101·_\x8F_\x8i_\x8e_\x8l_\x8d·m_epsilon·=·_\x8F_\x8i_\x8e_\x8l_\x8d(1e-12); | ||
54 | 102 | ||
55 | 104·std::tuple<Images,·Preimages>·m_images; | ||
56 | 105 | ||
57 | 107·std::tuple<std::bitset<dim>,·std::bitset<dim>·>·m_success; | ||
58 | 108 | ||
59 | 110·unsigned·m_number_of_edge_intersections; | ||
60 | 111 | ||
61 | 113·std::array<EdgeIntersection,·maxEdgeIntersections>·m_edge_intersections; | ||
62 | 114 | ||
63 | 126·bool·m_projection_valid; | ||
64 | 127 | ||
65 | 133·template<typename·Corners,·typename·Normals> | ||
66 | 134·void·doProjection(const·std::tuple<Corners&,·Corners&>&·corners,·const | ||
67 | std::tuple<Normals&,·Normals&>&·normals); | ||
68 | 135 | ||
69 | 144·template<typename·Corners,·typename·Normals> | ||
70 | 145·void·doInverseProjection(const·std::tuple<Corners&,·Corners&>&·corners, | ||
71 | const·std::tuple<Normals&,·Normals&>&·normals); | ||
72 | 146 | ||
73 | 155·template<typename·Corners,·typename·Normals> | ||
74 | 156·void·doEdgeIntersection(const·std::tuple<Corners&,·Corners&>&·corners, | ||
75 | const·std::tuple<Normals&,·Normals&>&·normals); | ||
76 | 157 | ||
77 | 183·template<typename·Corners,·typename·Normals> | ||
78 | 184·inline·bool·projectionFeasible(const·Coordinate&·x,·const·Coordinate&·nx, | ||
79 | const·Coordinate&·px,·const·Corners&·corners,·const·Normals&·normals)·const; | ||
80 | 185 | ||
81 | 186public: | ||
82 | 191·_\x8P_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n(const·_\x8F_\x8i_\x8e_\x8l_\x8d·overlap·=·_\x8F_\x8i_\x8e_\x8l_\x8d(0),·const·_\x8F_\x8i_\x8e_\x8l_\x8d·max_normal_product·= | ||
83 | _\x8F_\x8i_\x8e_\x8l_\x8d(-0.1)); | ||
84 | 192 | ||
85 | 198·void·_\x8e_\x8p_\x8s_\x8i_\x8l_\x8o_\x8n(const·_\x8F_\x8i_\x8e_\x8l_\x8d·_\x8e_\x8p_\x8s_\x8i_\x8l_\x8o_\x8n); | ||
86 | 199 | ||
87 | 212·template<typename·Corners,·typename·Normals> | ||
88 | 213·void·_\x8p_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t(const·std::tuple<Corners&,·Corners&>&·corners,·const·std:: | ||
89 | tuple<Normals&,·Normals&>&·normals); | ||
90 | 214 | ||
91 | _\x82_\x83_\x85·const·std::tuple<Images,·Preimages>&·_\x8i_\x8m_\x8a_\x8g_\x8e_\x8s()·const | ||
92 | 236·{·return·m_images;·} | ||
93 | 237 | ||
94 | _\x82_\x85_\x82·const·std::tuple<std::bitset<dim>,·std::bitset<dim>·>&·_\x8s_\x8u_\x8c_\x8c_\x8e_\x8s_\x8s()·const | ||
95 | 253·{·return·m_success;·} | ||
96 | 25 | 33 | 25 |
34 | 26·return·c; | ||
97 | _\x82_\x86_\x82·unsigned·_\x8n_\x8u_\x8m_\x8b_\x8e_\x8r_\x8O_\x8f_\x8E_\x8d_\x8g_\x8e_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8s()·const | ||
98 | 263·{·return·m_number_of_edge_intersections;·} | ||
99 | 264 | ||
100 | _\x82_\x87_\x83·const·std::array<EdgeIntersection,·maxEdgeIntersections>&·_\x8e_\x8d_\x8g_\x8e_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8s | ||
101 | ()·const | ||
102 | 274·{·return·m_edge_intersections;·} | ||
103 | 27 | 35 | 27} |
104 | 2 | 36 | 28 |
105 | 2 | 37 | 29}·/*·namespace·GridGlue·*/ |
106 | 38 | 30}·/*·namespace·Dune·*/ | |
39 | 31 | ||
107 | 279 | ||
108 | 280#include·"_\x8p_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8i_\x8m_\x8p_\x8l_\x8._\x8h_\x8h" | ||
109 | 281 | ||
110 | 40 | 32#endif | |
111 | _\x8p_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8i_\x8m_\x8p_\x8l_\x8._\x8h_\x8h | ||
Max diff block lines reached; 4250/8887 bytes (47.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:·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, 45 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·< | 82 | <div·class="textblock"><code>#include·<dune/common/fmatrix.hh></code><br·/> |
83 | <code>#include·< | 83 | <code>#include·<cmath></code><br·/> |
84 | <code>#include·<<a·class="el"·href="a00032_source.html">dune/grid-glue/common/projection.hh</a>></code><br·/> | ||
85 | <code>#include·"<a·class="el"·href="a00044_source.html">projectionwriter_impl.hh</a>"</code><br·/> | ||
86 | </div> | 84 | </div> |
87 | <p><a·href="a00035_source.html">Go·to·the·source·code·of·this·file.</a></p> | 85 | <p><a·href="a00035_source.html">Go·to·the·source·code·of·this·file.</a></p> |
88 | <table·class="memberdecls"> | 86 | <table·class="memberdecls"> |
89 | <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> |
90 | Namespaces</h2></td></tr> | 88 | 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> | 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> |
92 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 90 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
93 | <tr·class="memitem:a00104"·id="r_a00104"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00104.html">Dune::GridGlue</a></td></tr> | 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> |
94 | <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: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"> | 95 | </table><table·class="memberdecls"> |
96 | <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> |
97 | Functions</h2></td></tr> | 97 | Functions</h2></td></tr> |
98 | <tr·class="memitem:a4dcc05f4b64a511b2e9548e371e140a7"·id="r_a4dcc05f4b64a511b2e9548e371e140a7"><td·class="memTemplParams"·colspan="2">template<typename·Coordinate·,·typename·Corners·,·typename·Normals·>·</td></tr> | ||
99 | <tr·class="memitem:a4dcc05f4b64a511b2e9548e371e140a7"><td·class="memTemplItemLeft"·align="right"·valign="top">void </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00104.html#a4dcc05f4b64a511b2e9548e371e140a7">Dune::GridGlue::write</a>·(const·<a·class="el"·href="a00994.html">Projection</a><·Coordinate·>·&projection,·const·Corners·&corners,·const·Normals·&normals,·std::ostream·&out)</td></tr> | ||
100 | <tr·class="mem | 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> | ||
101 | <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> | ||
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: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> | ||
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 | 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> | ||
110 | </table> | 112 | </table> |
111 | </div><!--·contents·--> | 113 | </div><!--·contents·--> |
112 | <!--·start·footer·part·--> | 114 | <!--·start·footer·part·--> |
113 | <hr·class="footer"/><address·class="footer"><small> | 115 | <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 | 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 |
115 | </small></address> | 117 | </small></address> |
116 | </body> | 118 | </body> |
Offset 2, 36 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·<dune/common/fmatrix.hh> | ||
11 | #include·<cmath> | ||
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" | ||
14 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 12 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
15 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s | 13 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s |
16 | namespace· ·_\x8D_\x8u_\x8n_\x8e | 14 | namespace· ·_\x8D_\x8u_\x8n_\x8e |
17 | 15 | ||
18 | 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 |
19 | 17 | ||
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 | 20 | F\x8Fu\x8un\x8nc\x8ct\x8ti\x8io\x8on\x8ns\x8s |
21 | template<typename·Coordinate·,·typename· | 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) | ||
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 | 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) | ||
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 | 27 | ||
31 | template<typename·Coordinate·,·typename·Corners· | 28 | template<typename·Coordinate·,·typename·Corners·> |
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 | 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_.I_.m_.p_.l_.e_.m_.e_.n_.t_.a_.t_.i_.o_.n_.:_.: | |
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 | |||
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) | ||
35 | 42 | ||
36 | =============================================================================== | 43 | =============================================================================== |
37 | ·····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, 57 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="a00035.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·©·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div> | 83 | <a·href="a00035.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·©·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div> |
84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with-dune-grid-glue-exception</span></div> | 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with-dune-grid-glue-exception</span></div> |
85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#i | 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><span·class="preprocessor">#define·DUNE_GRIDGLUE_COMMON_PROJECTIONWRITER_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> |
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="l0000 | 87 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#include·<cmath></span></div> |
90 | <div·class="line"><a·id="l0000 | 88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</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="a00032.html">dune/grid-glue/common/projection.hh</a>></span></div> | ||
92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span>·</div> | ||
93 | <div·class="line"><a·id="l000 | 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> |
94 | <div·class="line"><a·id="l000 | 90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="keyword">namespace·</span>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> | ||
95 | <div·class="line"><a·id="l0001 | 94 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</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="l0002 | 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> | ||
98 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·· | 104 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>··<span·class="keywordflow">return</span>·x;</div> |
99 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>···········<span·class="keyword">const</span>·Normals&·normals,</div> | ||
100 | <div·class="line"><a·id="l0003 | 105 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>}</div> |
106 | </div> | ||
101 | <div·class="line"><a·id="l0003 | 107 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</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> | 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> |
105 | <div·class=" | 109 | <div·class="foldopen"·id="foldopen00043"·data-start="{"·data-end="}"> |
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> | ||
111 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>{</div> | ||
106 | <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> |
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 | 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> |
110 | <div·class="line"><a·id="l000 | 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> | ||
111 | <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> | ||
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> | ||
173 | <div·class="line"><a·id="l00134"·name="l00134"></a><span·class="lineno">··134</span>··<span·class="comment">/*·Nothing.·*/</span></div> | ||
Max diff block lines reached; 3766/78055 bytes (4.82%) of diff not shown. |
Offset 1, 62 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·<dune/common/fmatrix.hh> | ||
15 | 4 | ||
16 | 5#include·<cmath> | ||
17 | 6 | ||
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 | 18 | 7namespace·_\x8D_\x8u_\x8n_\x8e·{ | |
23 | 19 | 8namespace·GridGlue·{ | |
24 | 20 | 9 | |
21 | _\x81_\x80namespace·ProjectionImplementation·{ | ||
22 | 11 | ||
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 | ||
25 | 45 | 68template<typename·Coordinate,·typename·Corners> | |
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 | 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 | ||
31 | 55 | 89template<typename·Coordinate,·typename·Normals> | |
32 | 41void·_\x8w_\x8r_\x8i_\x8t_\x8e(const·Projection<Coordinate>&·projection, | ||
33 | 42·const·Corners&·corners, | ||
34 | 43·const·Normals&·normals, | ||
35 | 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 | 144 | ||
100 | 145template<typename·Coordinate> | ||
36 | 101 | 146template<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 | 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áµ¢ | ||
Max diff block lines reached; 2548/19111 bytes (13.33%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-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="a00050_source.html">dune/grid-glue/common/projection.hh</a>></code><br·/> | ||
85 | <code>#include·"<a·class="el"·href="a00044_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="a00038_source.html">Go·to·the·source·code·of·this·file.</a></p> | 87 | <p><a·href="a00038_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="a00038.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="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">//·-*-·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="a00050.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="a00044.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:·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, 49 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·/> |
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·/> | ||
84 | </div> | 89 | </div> |
85 | <p><a·href="a00041_source.html">Go·to·the·source·code·of·this·file.</a></p> | 90 | <p><a·href="a00041_source.html">Go·to·the·source·code·of·this·file.</a></p> |
86 | <table·class="memberdecls"> | 91 | <table·class="memberdecls"> |
87 | <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> |
88 | Namespaces</h2></td></tr> | 93 | 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> | 94 | <tr·class="memitem:a00103"·id="r_a00103"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00103.html">Dune</a></td></tr> |
90 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 95 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
91 | <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> |
92 | <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> | 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="a00041.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> |
98 | <tr·class="memitem:aceaac4969247e38262453f82aca8bedf"·id="r_aceaac4969247e38262453f82aca8bedf"><td·class="memTemplParams"·colspan="2">template<typename·Coordinate·,·typename·Field·>·</td></tr> | ||
99 | <tr·class="memitem:a | 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> | ||
100 | <tr·class="separator:a | 109 | <tr·class="separator:ad5f2c9c42d7cc552cfdc87724ec03a30"><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: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> | ||
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> | ||
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> | 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> | ||
113 | </div><!--·contents·--> | 139 | </div><!--·contents·--> |
114 | <!--·start·footer·part·--> | 140 | <!--·start·footer·part·--> |
115 | <hr·class="footer"/><address·class="footer"><small> | 141 | <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 | 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 |
117 | </small></address> | 143 | </small></address> |
118 | </body> | 144 | </body> |
119 | </html> | 145 | </html> |
Offset 1, 44 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 | 9 | ringcomm.hh·File·Reference | |
10 | #include·<mpi.h> | ||
11 | #include·<functional> | ||
12 | #include·<utility> | ||
10 | #include·<dune/common/f | 13 | #include·<dune/common/fvector.hh> |
11 | #include·<cm | 14 | #include·<dune/common/hybridutilities.hh> |
15 | #include·<dune/geometry/type.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 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s | 17 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s |
14 | namespace· ·_\x8D_\x8u_\x8n_\x8e | 18 | namespace· ·_\x8D_\x8u_\x8n_\x8e |
15 | 19 | ||
16 | namespace· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8 | 20 | namespace· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8P_.a_.r_.a_.l_.l_.e_.l |
17 | 21 | ||
18 | 22 | M.Ma.ac.cr.ro.os.s | |
23 | #define ·_\x8C_\x8h_\x8e_\x8c_\x8k_\x8M_\x8P_\x8I_\x8S_\x8t_\x8a_\x8t_\x8u_\x8s(A,·B) {} | ||
19 | 24 | ||
20 | F\x8Fu\x8un\x8nc\x8ct\x8ti\x8io\x8on\x8ns\x8s | 25 | F\x8Fu\x8un\x8nc\x8ct\x8ti\x8io\x8on\x8ns\x8s |
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 | 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 | ||
24 | 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 | ||
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 | |||
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) | ||
42 | |||
43 | =============================================================================== | 38 | =============================================================================== |
44 | ·····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, 464 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="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">//· | 83 | <a·href="a00041.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | ||
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">#include·<dune/common/fmatrix.hh></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> | 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="a00041.html#a1a95f4074572a7a9e13bcb072afef070">····8</a></span><span·class="preprocessor">#define·CheckMPIStatus(A,B)·{}</span></div> | ||
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> | ||
90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="keyword">namespace·</span>GridGlue·{</div> | ||
91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> | 90 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> |
91 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<mpi.h></span></div> | ||
92 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<functional></span></div> | ||
93 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<utility></span></div> | ||
94 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> | ||
95 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<dune/common/fvector.hh></span></div> | ||
96 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·<dune/common/hybridutilities.hh></span></div> | ||
97 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div> | ||
98 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·<dune/geometry/type.hh></span></div> | ||
99 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div> | ||
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> | ||
92 | <div·class="foldopen"·id="foldopen000 | 101 | <div·class="foldopen"·id="foldopen00020"·data-start="{"·data-end="}"> |
93 | <div·class="line"><a·id="l000 | 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> |
94 | <div·class="line"><a·id="l000 | 103 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</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> | ||
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="l0002 | 104 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>··<span·class="keyword">namespace·</span>Impl·{</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="l00031"·name="l00031"></a><span·class="lineno">···31</span>}</div> | ||
106 | </div> | ||
107 | <div·class="line"><a·id="l000 | 105 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div> |
106 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>····<span·class="keyword">template</span><<span·class="keyword">typename</span>·T></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="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> | ||
111 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>{</div> | ||
112 | <div·class="line"><a·id="l000 | 107 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>····<span·class="keyword">struct·</span>MPITypeInfo·{};</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="l000 | 108 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</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="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> | ||
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="l000 | 111 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>····{</div> |
126 | <div·class="line"><a·id="l000 | 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> |
127 | <div·class="line"><a·id="l000 | 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> |
128 | <div·class="line"><a·id="l000 | 114 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>······{</div> |
129 | <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> | ||
130 | <div·class="line"><a·id="l000 | 117 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>····};</div> |
131 | </div> | ||
132 | <div·class="line"><a·id="l000 | 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> | ||
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="l000 | 121 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>····{</div> |
138 | <div·class="line"><a·id="l000 | 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> | ||
139 | <div·class="line"><a·id="l000 | 124 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>······{</div> |
140 | <div·class="line"><a·id="l000 | 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> | ||
141 | <div·class="line"><a·id="l000 | 127 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>····};</div> |
142 | </div> | ||
143 | <div·class="line"><a·id="l000 | 128 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div> |
144 | <div·class="line"><a·id="l00 | 129 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>····<span·class="keyword">template</span><></div> |
130 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>····<span·class="keyword">struct·</span>MPITypeInfo<·unsigned·int·></div> | ||
131 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>····{</div> | ||
132 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>······<span·class="keyword">static</span>·<span·class="keyword">const</span>·<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·size·=·1;</div> | ||
133 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>······<span·class="keyword">static</span>·<span·class="keyword">inline</span>·MPI_Datatype·getType()</div> | ||
134 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>······{</div> | ||
135 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>········<span·class="keywordflow">return</span>·MPI_UNSIGNED;</div> | ||
136 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>······}</div> | ||
137 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>····};</div> | ||
138 | <div·class="line"><a·id="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="keyword">template</span><></div> | ||
140 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>····<span·class="keyword">struct·</span>MPITypeInfo<·<a·class="code·hl_namespace"·href="a00103.html">Dune</a>::GeometryType·></div> | ||
141 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>····{</div> | ||
142 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>······<span·class="keyword">static</span>·<span·class="keyword">const</span>·<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·size·=·1;</div> | ||
143 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>······<span·class="keyword">static</span>·<span·class="keyword">inline</span>·MPI_Datatype·getType()</div> | ||
144 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>······{</div> | ||
145 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>········<span·class="keywordflow">return</span>·Dune::MPITraits<·Dune::GeometryType·>::getType();</div> | ||
146 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>······}</div> | ||
147 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>····};</div> | ||
Max diff block lines reached; 59642/112076 bytes (53.22%) of diff not shown. |
Offset 1, 480 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·*/ | ||
14 | 3#include·<dune/common/fmatrix.hh> | ||
15 | 4 | ||
16 | 5#include·<cmath> | ||
17 | 6 | 17 | 6 |
18 | _\x88#define·CheckMPIStatus(A,B)·{} | ||
18 | 7namespace·_\x8D_\x8u_\x8n_\x8e·{ | ||
19 | 8namespace·GridGlue·{ | ||
20 | 9 | 19 | 9 |
21 | _\x81_\x80namespace·ProjectionImplementation·{ | ||
22 | 11 | ||
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 | 20 | 10#include·<mpi.h> | |
21 | 11#include·<functional> | ||
22 | 12#include·<utility> | ||
23 | 13 | ||
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(); | ||
41 | 4 | 54 | 45·} |
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 | 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·{ | ||
Max diff block lines reached; 20568/25419 bytes (80.92%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-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="a00047_source.html">Go·to·the·source·code·of·this·file.</a></p> | 89 | <p><a·href="a00047_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="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">#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:·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="a00035_source.html">projection_impl.hh</a>"</code><br·/> |
88 | </div> | 86 | </div> |
89 | <p><a·href="a00050_source.html">Go·to·the·source·code·of·this·file.</a></p> | 87 | <p><a·href="a00050_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="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">#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:· | 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="a00062_source.html">extractor.hh</a>"</code><br·/> |
89 | </div> | 89 | </div> |
90 | <p><a·href="a00053_source.html">Go·to·the·source·code·of·this·file.</a></p> | 90 | <p><a·href="a00053_source.html">Go·to·the·source·code·of·this·file.</a></p> |
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="a00053.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 83 | <a·href="a00053.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·©·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div> | 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·©·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div> |
86 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with-dune-grid-glue-exception</span></div> | 86 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with-dune-grid-glue-exception</span></div> |
87 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">/*</span></div> | 87 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">/*</span></div> |
88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">·*··Filename:···· | 88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">·*··Filename:····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="a00062.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 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <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:·codim | 8 | <title>dune-grid-glue:·codim1extractor.hh·File·Reference</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 72, 42 lines modified | Offset 72, 44 lines modified | ||
72 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_eaad0bdad6fc03850e65b1fdad9faad4.html">extractors</a></li>··</ul> | 72 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_eaad0bdad6fc03850e65b1fdad9faad4.html">extractors</a></li>··</ul> |
73 | </div> | 73 | </div> |
74 | </div><!--·top·--> | 74 | </div><!--·top·--> |
75 | <div·class="header"> | 75 | <div·class="header"> |
76 | ··<div·class="summary"> | 76 | ··<div·class="summary"> |
77 | <a·href="#nested-classes">Classes</a>·| | 77 | <a·href="#nested-classes">Classes</a>·| |
78 | <a·href="#namespaces">Namespaces</a>··</div> | 78 | <a·href="#namespaces">Namespaces</a>··</div> |
79 | ··<div·class="headertitle"><div·class="title">codim | 79 | ··<div·class="headertitle"><div·class="title">codim1extractor.hh·File·Reference</div></div> |
80 | </div><!--header--> | 80 | </div><!--header--> |
81 | <div·class="contents"> | 81 | <div·class="contents"> |
82 | <p> | 82 | <p>Grid·extractor·class·for·codim·1·subgrids.·· |
83 | <a·href="#details">More...</a></p> | 83 | <a·href="#details">More...</a></p> |
84 | <div·class="textblock"><code>#include·"<a·class="el"·href="a00062_source.html">extractor.hh</a>"</code><br·/> | ||
85 | <code>#include·<array></code><br·/> | ||
84 | < | 86 | <code>#include·<deque></code><br·/> |
85 | <code>#include·<functional></code><br·/> | 87 | <code>#include·<functional></code><br·/> |
86 | <code>#include·<dune/common/deprecated.hh></code><br·/> | 88 | <code>#include·<dune/common/deprecated.hh></code><br·/> |
87 | <code>#include·<dune/ | 89 | <code>#include·<dune/common/version.hh></code><br·/> |
88 | <code>#include·& | 90 | <code>#include·<<a·class="el"·href="a00032_source.html">dune/grid-glue/common/crossproduct.hh</a>></code><br·/> |
89 | </div> | 91 | </div> |
90 | <p><a·href="a00056_source.html">Go·to·the·source·code·of·this·file.</a></p> | 92 | <p><a·href="a00056_source.html">Go·to·the·source·code·of·this·file.</a></p> |
91 | <table·class="memberdecls"> | 93 | <table·class="memberdecls"> |
92 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 94 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
93 | Classes</h2></td></tr> | 95 | Classes</h2></td></tr> |
94 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a0103 | 96 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01034.html">Dune::GridGlue::Codim1Extractor<·GV·></a></td></tr> |
95 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 97 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
96 | </table><table·class="memberdecls"> | 98 | </table><table·class="memberdecls"> |
97 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 99 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
98 | Namespaces</h2></td></tr> | 100 | Namespaces</h2></td></tr> |
99 | <tr·class="memitem:a00103"·id="r_a00103"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00103.html">Dune</a></td></tr> | 101 | <tr·class="memitem:a00103"·id="r_a00103"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00103.html">Dune</a></td></tr> |
100 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 102 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
101 | <tr·class="memitem:a00104"·id="r_a00104"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00104.html">Dune::GridGlue</a></td></tr> | 103 | <tr·class="memitem:a00104"·id="r_a00104"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00104.html">Dune::GridGlue</a></td></tr> |
102 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 104 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
103 | </table> | 105 | </table> |
104 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> | 106 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> |
105 | <div·class="textblock"><p> | 107 | <div·class="textblock"><p>Grid·extractor·class·for·codim·1·subgrids.·</p> |
106 | </div></div><!--·contents·--> | 108 | </div></div><!--·contents·--> |
107 | <!--·start·footer·part·--> | 109 | <!--·start·footer·part·--> |
108 | <hr·class="footer"/><address·class="footer"><small> | 110 | <hr·class="footer"/><address·class="footer"><small> |
109 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 111 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
110 | </small></address> | 112 | </small></address> |
111 | </body> | 113 | </body> |
112 | </html> | 114 | </html> |
Offset 2, 27 lines modified | Offset 2, 29 lines modified | ||
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | ····*·_\x8d_\x8u_\x8n_\x8e | 5 | ····*·_\x8d_\x8u_\x8n_\x8e |
6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e | 6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e |
7 | ····*·_\x8e_\x8x_\x8t_\x8r_\x8a_\x8c_\x8t_\x8o_\x8r_\x8s | 7 | ····*·_\x8e_\x8x_\x8t_\x8r_\x8a_\x8c_\x8t_\x8o_\x8r_\x8s |
8 | _\x8C_\x8l_\x8a_\x8s_\x8s_\x8e_\x8s·|·_\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s | 8 | _\x8C_\x8l_\x8a_\x8s_\x8s_\x8e_\x8s·|·_\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s |
9 | codim | 9 | codim1extractor.hh·File·Reference |
10 | 10 | Grid·extractor·class·for·codim·1·subgrids.·_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | |
11 | #include·"_\x8e_\x8x_\x8t_\x8r_\x8a_\x8c_\x8t_\x8o_\x8r_\x8._\x8h_\x8h" | ||
12 | #include·<array> | ||
11 | #include·<deque> | 13 | #include·<deque> |
12 | #include·<functional> | 14 | #include·<functional> |
13 | #include·<dune/common/deprecated.hh> | 15 | #include·<dune/common/deprecated.hh> |
14 | #include·<dune/ | 16 | #include·<dune/common/version.hh> |
15 | #include· | 17 | #include·<_.d_.u_.n_.e_./_.g_.r_.i_.d_.-_.g_.l_.u_.e_./_.c_.o_.m_.m_.o_.n_./_.c_.r_.o_.s_.s_.p_.r_.o_.d_.u_.c_.t_.._.h_.h> |
16 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 18 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
17 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s | 19 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s |
18 | class· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8C_\x8o_\x8d_\x8i_\x8m_\x8 | 20 | class· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8C_\x8o_\x8d_\x8i_\x8m_\x81_\x8E_\x8x_\x8t_\x8r_\x8a_\x8c_\x8t_\x8o_\x8r_\x8<_\x8·_\x8G_\x8V_\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 | ||
25 | *\x8**\x8**\x8**\x8**\x8*·D\x8De\x8et\x8ta\x8ai\x8il\x8le\x8ed\x8d·D\x8De\x8es\x8sc\x8cr\x8ri\x8ip\x8pt\x8ti\x8io\x8on\x8n·*\x8**\x8**\x8**\x8**\x8* | 27 | *\x8**\x8**\x8**\x8**\x8*·D\x8De\x8et\x8ta\x8ai\x8il\x8le\x8ed\x8d·D\x8De\x8es\x8sc\x8cr\x8ri\x8ip\x8pt\x8ti\x8io\x8on\x8n·*\x8**\x8**\x8**\x8**\x8* |
26 | 28 | Grid·extractor·class·for·codim·1·subgrids. | |
27 | =============================================================================== | 29 | =============================================================================== |
28 | ·····Generated·by _\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]·1.9.8 | 30 | ·····Generated·by _\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]·1.9.8 |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-grid-glue:·codim | 8 | <title>dune-grid-glue:·codim1extractor.hh·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 74, 272 lines modified | Offset 74, 396 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">codim | 80 | ··<div·class="headertitle"><div·class="title">codim1extractor.hh</div></div> |
81 | </div><!--header--> | 81 | </div><!--header--> |
82 | <div·class="contents"> | 82 | <div·class="contents"> |
83 | <a·href="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:····codim | 88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">·*··Filename:····codim1extractor.hh</span></div> |
89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">·*··Version:·····1.0</span></div> | 89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">·*··Version:·····1.0</span></div> |
90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">·*··Created·on:··Jun·23,·2009</span></div> | 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:······Oliver·Sander,·Christian·Engwer</span></div> | 91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">·*··Author:······Oliver·Sander,·Christian·Engwer</span></div> |
92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="comment">·*··---------------------------------</span></div> | 92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="comment">·*··---------------------------------</span></div> |
93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="comment">·*··Project:·····dune-grid-glue</span></div> | 93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="comment">·*··Project:·····dune-grid-glue</span></div> |
94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="comment">·*··Description:· | 94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="comment">·*··Description:·class·for·grid·extractors·extracting·surface·grids</span></div> |
95 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="comment">·*</span></div> | 95 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="comment">·*</span></div> |
96 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="comment">·*/</span></div> | 96 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="comment">·*/</span></div> |
97 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#ifndef·DUNE_GRIDGLUE_EXTRACTORS_CODIM | 97 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#ifndef·DUNE_GRIDGLUE_EXTRACTORS_CODIM1EXTRACTOR_HH</span></div> |
98 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#define·DUNE_GRIDGLUE_EXTRACTORS_CODIM | 98 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#define·DUNE_GRIDGLUE_EXTRACTORS_CODIM1EXTRACTOR_HH</span></div> |
99 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div> | 99 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div> |
100 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#include·"<a·class="code"·href="a00062.html">extractor.hh</a>"</span></div> | ||
101 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> | ||
102 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#include·<array></span></div> | ||
100 | <div·class="line"><a·id="l0002 | 103 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#include·<deque></span></div> |
101 | <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·<functional></span></div> |
102 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div> | ||
103 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#include·<dune/common/deprecated.hh></span></div> | ||
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> | ||
105 | <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> |
106 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#include·& | 106 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#include·<dune/common/deprecated.hh></span></div> |
107 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</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="preprocessor">#include·<dune/common/version.hh></span></div> |
108 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#include·<<a·class="code"·href="a00032.html">dune/grid-glue/common/crossproduct.hh</a>></span></div> | ||
109 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div> | 109 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div> |
110 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span> | 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>·</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>GridGlue·{</div> | ||
113 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div> | ||
112 | <div·class="line"><a·id="l000 | 114 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span><span·class="keyword">template</span><<span·class="keyword">typename</span>·GV></div> |
113 | <div·class="foldopen"·id="foldopen000 | 115 | <div·class="foldopen"·id="foldopen00041"·data-start="{"·data-end="};"> |
114 | <div·class="line"><a·id="l000 | 116 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno"><a·class="line"·href="a01034.html">···41</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01034.html">Codim1Extractor</a>·:·<span·class="keyword">public</span>·<a·class="code·hl_class"·[·...·truncated·by·diffoscope;·len:·40,·SHA:·ad30b41d09abeb634508a5814a04b70b7c23a49eb6dc858562c6d90cc7d4d06e·...·]></div> |
115 | <div·class="line"><a·id="l0004 | 117 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>{</div> |
116 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·</div> | ||
117 | <div·class="line"><a·id="l0004 | 118 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span><span·class="keyword">public</span>:</div> |
118 | <div·class="line"><a·id="l0004 | 119 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div> |
119 | <div·class="line"><a·id="l0004 | 120 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>··<span·class="comment">/*··E·X·P·O·R·T·E·D··T·Y·P·E·S···A·N·D···C·O·N·S·T·A·N·T·S··*/</span></div> |
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·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> | ||
129 | <div·class="line"><a·id="l000 | 121 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div> |
122 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>··<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01038.html">Extractor</a><GV,1><a·class="code·hl_variable"·href="a01038.html#a1f393e4fd59db3d9bb5fb2868a7422e2">::dimworld</a>;</div> | ||
123 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>··<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01038.html">Extractor</a><GV,1><a·class="code·hl_variable"·href="a01038.html#aeeab086dacf44e778ad8ae2c6de7d4f6">::dim</a>;</div> | ||
124 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>··<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01038.html">Extractor</a><GV,1><a·class="code·hl_variable"·href="a01038.html#a81546d6fc243df2658db228c02693832">::codim</a>;</div> | ||
125 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>··<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01038.html">Extractor</a><GV,1><a·class="code·hl_variable"·href="a01038.html#a7e2109e2becb86e122556eabaf2950bd">::cube_corners</a>;</div> | ||
126 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno"><a·class="line"·href="a01034.html#a02655254528b7450f1dec4a224a723a4">···51</a></span>··<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a01038.html#a2b9a14410a511802e1292adbdd69667e">Extractor<GV,1>::IndexType</a>·<a·class="code·hl_typedef"·href="a01034.html#a02655254528b7450f1dec4a224a723a4">IndexType</a>;</div> | ||
127 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div> | ||
128 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno"><a·class="line"·href="a01034.html#a3b1e70f2e492cc8bb9680d26060da015">···54</a></span>··<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_variable"·href="a01034.html#a3b1e70f2e492cc8bb9680d26060da015">simplex_corners</a>·=·<a·class="code·hl_variable"·href="a01038.html#aeeab086dacf44e778ad8ae2c6de7d4f6">dim</a>;</div> | ||
129 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div> | ||
130 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno"><a·class="line"·href="a01034.html#a19f33b321676e22f2e361fa73be1ea5d">···56</a></span>··<span·class="keyword">typedef</span>·GV·<a·class="code·hl_typedef"·href="a01034.html#a19f33b321676e22f2e361fa73be1ea5d">GridView</a>;</div> | ||
131 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div> | ||
132 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno"><a·class="line"·href="a01034.html#a28d708fe50cc1ba6162909be57acb2f7">···58</a></span>··<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·GV::Grid::ctype·<a·class="code·hl_typedef"·href="a01034.html#a28d708fe50cc1ba6162909be57acb2f7">ctype</a>;</div> | ||
133 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno"><a·class="line"·href="a01034.html#a239f089bccd0f2b59b66488403075285">···59</a></span>··<span·class="keyword">typedef</span>·Dune::FieldVector<ctype,·dimworld>·······················<a·class="code·hl_typedef"·href="a01034.html#a239f089bccd0f2b59b66488403075285">Coords</a>;</div> | ||
134 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div> | ||
135 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno"><a·class="line"·href="a01034.html#af3714d9aad67945d7487ac5e5dd1e00f">···61</a></span>··<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·GV::Traits::template·Codim<dim>::Entity·<a·class="code·hl_typedef"·href="a01034.html#af3714d9aad67945d7487ac5e5dd1e00f">Vertex</a>;</div> | ||
136 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno"><a·class="line"·href="a01034.html#a1aa397a7b7514edaa712e90b2d4144c2">···62</a></span>··<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·GV::Traits::template·Codim<0>::Entity·<a·class="code·hl_typedef"·href="a01034.html#a1aa397a7b7514edaa712e90b2d4144c2">Element</a>;</div> | ||
137 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno"><a·class="line"·href="a01034.html#af09169b2000c4e7ca6bb27a7ee31dfec">···63</a></span>··<span·class="keyword">typedef</span>·std::function<bool(<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a01034.html#a1aa397a7b7514edaa712e90b2d4144c2">Element</a>&,·<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·subentity)>·<a·class="code·hl_typedef"·href="a01034.html#af09169b2000c4e7ca6bb27a7ee31dfec">Predicate</a>;</div> | ||
138 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>·</div> | ||
130 | <div·class="line"><a·id="l000 | 139 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>··<span·class="comment">//·import·typedefs·from·base·class</span></div> |
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="l000 | 140 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno"><a·class="line"·href="a01034.html#abb182824f9cafdd0549044d717447e7d">···66</a></span>··<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·<a·class="code·hl_struct"·href="a01058.html">Extrac[·...·truncated·by·diffoscope;·len:·124,·SHA:·7d7115b4ce0d1c47e4c47ffc786f09607e0f96e78d64913d146cade531acd58b·...·]Info</a>;</div> |
141 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno"><a·class="line"·href="a01034.html#aa62f86d0e4c86a08ee220591b3b21a53">···67</a></span>··<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·<a·class="code·hl_struct"·href="a01054.html">Extractor<GV,1>::ElementInfo</a>·<a·class="code·hl_typedef"·href="a01034.html#aa62f86d0e4c86a08ee220591b3b21a53">ElementInfo</a>;</div> | ||
142 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno"><a·class="line"·href="a01034.html#a4add7a007722f6b9ec2dca9888bd58bc">···68</a></span>··<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·<a·class="code·hl_struct"·href="a01050.html">Extractor<GV,1>::VertexInfo</a>·<a·class="code·hl_typedef"·href="a01034.html#a4add7a007722f6b9ec2dca9888bd58bc">VertexInfo</a>;</div> | ||
134 | <div·class="line"><a·id="l000 | 143 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno"><a·class="line"·href="a01034.html#a7e9419de21c68a9dc241bbf66f109aeb">···69</a></span>··<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·<a·class="code·hl_struct"·href="a01046.html">Extrac[·...·truncated·by·diffoscope;·len:·114,·SHA:·e9ca730e7c2dc3bdaa445800ae6c82d3931d956a65e7b647fa4a1c7a6b661f79·...·]">CoordinateInfo</a>;</div> |
135 | <div·class="line"><a·id="l000 | 144 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno"><a·class="line"·href="a01034.html#ac2b33616e3d271501f41cc0456bff9de">···70</a></span>··<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a01038.html#a8fb91[·...·truncated·by·diffoscope;·len:·148,·SHA:·ee303a06e5ad76db20d1ca1b5781a4b64d8f22fef1ef0ded4b4d804f3c5fed4d·...·]">VertexInfoMap</a>;</div> |
136 | <div·class="line"><a·id="l000 | 145 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</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> | ||
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>· | 146 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span><span·class="keyword">public</span>:</div> |
144 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>· | 147 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</div> |
148 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>··<span·class="comment">/*··C·O·N·S·T·R·U·C·T·O·R·S···A·N·D···D·E·S·T·R·U·C·T·O·R·S··*/</span></div> | ||
149 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>·</div> | ||
150 | <div·class="foldopen"·id="foldopen00081"·data-start="{"·data-end="}"> | ||
151 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno"><a·class="line"·href="a01034.html#a345b8a99c88d21d4af2ff7ad2ec12657">···81</a></span>··<a·class="code·hl_function"·href="a01034.html#a345b8a99c88d21d4af2ff7ad2ec12657">Codim1Extractor</a>(<span·class="keyword">const</span>·GV&·gv,·<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a01034.html#af09169b2000c4e7ca6bb27a7ee31dfec">Predicate</a>&·predicate)</div> | ||
152 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>····:··<a·class="code·hl_class"·href="a01038.html">Extractor</a><GV,1>(gv)</div> | ||
153 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>··{</div> | ||
154 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>····std::cout·<<·<span·class="stringliteral">"This·is·Codim1Extractor·on·a·<"</span>·<<·<a·class="code·hl_variable"·href="a01038.html#aeeab086dacf44e778ad8ae2c6de7d4f6">dim</a></div> | ||
155 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>··············<<·<span·class="stringliteral">","</span>·<<·<a·class="code·hl_variable"·href="a01038.html#a1f393e4fd59db3d9bb5fb2868a7422e2">dimworld</a>·<<·<span·class="stringliteral">">·grid!"</span></div> | ||
156 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>··············<<·std::endl;</div> | ||
157 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>····update(predicate);</div> | ||
158 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>··}</div> | ||
145 | </div> | 159 | </div> |
146 | <div·class="line"><a·id="l000 | 160 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</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; 79738/111199 bytes (71.71%) of diff not shown. |
Offset 1, 317 lines modified | Offset 1, 462 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 | codim | 8 | codim1extractor.hh |
9 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 9 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: | 11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: |
12 | 3//·SPDX-FileCopyrightInfo:·Copyright·Â©·DUNE·Project·contributors,·see·file | 12 | 3//·SPDX-FileCopyrightInfo:·Copyright·Â©·DUNE·Project·contributors,·see·file |
13 | LICENSE.md·in·module·root | 13 | LICENSE.md·in·module·root |
14 | 4//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with- | 14 | 4//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with- |
15 | dune-grid-glue-exception | 15 | dune-grid-glue-exception |
16 | 5/* | 16 | 5/* |
17 | 6·*·Filename:·codim | 17 | 6·*·Filename:·codim1extractor.hh |
18 | 7·*·Version:·1.0 | 18 | 7·*·Version:·1.0 |
19 | 8·*·Created·on:·Jun·23,·2009 | 19 | 8·*·Created·on:·Jun·23,·2009 |
20 | 9·*·Author:·Oliver·Sander,·Christian·Engwer | 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:· | 23 | 12·*·Description:·class·for·grid·extractors·extracting·surface·grids |
24 | 13·* | 24 | 13·* |
25 | 14·*/ | 25 | 14·*/ |
26 | 20#ifndef·DUNE_GRIDGLUE_EXTRACTORS_CODIM | 26 | 20#ifndef·DUNE_GRIDGLUE_EXTRACTORS_CODIM1EXTRACTOR_HH |
27 | 21#define·DUNE_GRIDGLUE_EXTRACTORS_CODIM | 27 | 21#define·DUNE_GRIDGLUE_EXTRACTORS_CODIM1EXTRACTOR_HH |
28 | 22 | 28 | 22 |
29 | 23#include·"_\x8e_\x8x_\x8t_\x8r_\x8a_\x8c_\x8t_\x8o_\x8r_\x8._\x8h_\x8h" | ||
30 | 24 | ||
31 | 25#include·<array> | ||
29 | 2 | 32 | 26#include·<deque> |
30 | 2 | 33 | 27#include·<functional> |
31 | 25 | ||
32 | 26#include·<dune/common/deprecated.hh> | ||
33 | 27#include·<dune/grid/common/mcmgmapper.hh> | ||
34 | 28 | 34 | 28 |
35 | 29#include·"_\x8e_\x8x_\x8t_\x8r_\x8a_\x8c_\x8t_\x8o_\x8r_\x8._\x8h_\x8h" | ||
36 | 30 | ||
37 | 35 | 29#include·<dune/common/deprecated.hh> | |
36 | 30#include·<dune/common/version.hh> | ||
37 | 31#include·<_\x8d_\x8u_\x8n_\x8e_\x8/_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e_\x8/_\x8c_\x8o_\x8m_\x8m_\x8o_\x8n_\x8/_\x8c_\x8r_\x8o_\x8s_\x8s_\x8p_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8._\x8h_\x8h> | ||
38 | 32 | 38 | 32 |
39 | 33 | 39 | 33namespace·_.D_.u_.n_.e·{ |
40 | 34 | 40 | 34 |
41 | 35·namespace·GridGlue·{ | ||
42 | 36 | ||
41 | 43 | 40template<typename·GV> | |
42 | _\x8 | 44 | _\x84_.1class·_.C_.o_.d_.i_.m_.1_.E_.x_.t_.r_.a_.c_.t_.o_.r·:·public·_.E_.x_.t_.r_.a_.c_.t_.o_.r<GV,1> |
45 | 42{ | ||
43 | 40{ | ||
44 | 41 | ||
45 | 4 | 46 | 43public: |
46 | 4 | 47 | 44 |
47 | 4 | 48 | 45·/*·E·X·P·O·R·T·E·D·T·Y·P·E·S·A·N·D·C·O·N·S·T·A·N·T·S·*/ |
49 | 46 | ||
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 | 4 | 50 | 47·using·_.E_.x_.t_.r_.a_.c_.t_.o_.r<GV,1>_\x8:_\x8:_\x8d_\x8i_\x8m_\x8w_\x8o_\x8r_\x8l_\x8d; |
51 | 48·using·_\x8E_\x8x_\x8t_\x8r_\x8a_\x8c_\x8t_\x8o_\x8r<GV,1>_\x8:_\x8:_\x8d_\x8i_\x8m; | ||
52 | 49·using·_\x8E_\x8x_\x8t_\x8r_\x8a_\x8c_\x8t_\x8o_\x8r<GV,1>_\x8:_\x8:_\x8c_\x8o_\x8d_\x8i_\x8m; | ||
53 | 50·using·_\x8E_\x8x_\x8t_\x8r_\x8a_\x8c_\x8t_\x8o_\x8r<GV,1>_\x8:_\x8:_\x8c_\x8u_\x8b_\x8e_\x8__\x8c_\x8o_\x8r_\x8n_\x8e_\x8r_\x8s; | ||
52 | _\x8 | 54 | _\x85_.1·typedef·typename·_.E_.x_.t_.r_.a_.c_.t_.o_.r_.<_.G_.V_.,_.1_\x8>_\x8:_\x8:_\x8I_\x8n_\x8d_\x8e_\x8x_\x8T_\x8y_\x8p_\x8e·_\x8I_\x8n_\x8d_\x8e_\x8x_\x8T_\x8y_\x8p_\x8e; |
53 | 5 | 55 | 52 |
56 | _\x85_\x84·static·constexpr·int·_\x8s_\x8i_\x8m_\x8p_\x8l_\x8e_\x8x_\x8__\x8c_\x8o_\x8r_\x8n_\x8e_\x8r_\x8s·=·_\x8d_\x8i_\x8m; | ||
57 | 55 | ||
58 | _\x85_\x86·typedef·GV·_\x8G_\x8r_\x8i_\x8d_\x8V_\x8i_\x8e_\x8w; | ||
59 | 57 | ||
60 | _\x85_\x88·typedef·typename·GV::Grid::ctype·_\x8c_\x8t_\x8y_\x8p_\x8e; | ||
61 | _\x85_\x89·typedef·Dune::FieldVector<ctype,·dimworld>·_\x8C_\x8o_\x8o_\x8r_\x8d_\x8s; | ||
62 | 60 | ||
54 | _\x8 | 63 | _\x86_\x81·typedef·typename·GV::Traits::template·Codim<dim>::Entity·_\x8V_\x8e_\x8r_\x8t_\x8e_\x8x; |
55 | _\x8 | 64 | _\x86_\x82·typedef·typename·GV::Traits::template·Codim<0>::Entity·_\x8E_\x8l_\x8e_\x8m_\x8e_\x8n_\x8t; |
56 | _\x8 | 65 | _\x86_\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; | 66 | _\x8P_\x8r_\x8e_\x8d_\x8i_\x8c_\x8a_\x8t_\x8e; |
58 | 67 | 64 | |
59 | 68 | 65·//·import·typedefs·from·base·class | |
60 | _\x8 | 69 | _\x86_.6·typedef·typename·_.E_.x_.t_.r_.a_.c_.t_.o_.r_.<_.G_.V_.,_.1_\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 | _\x8 | 70 | _\x86_.7·typedef·typename·_.E_.x_.t_.r_.a_.c_.t_.o_.r_.<_.G_.V_.,_.1_\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 | _\x8 | 71 | _\x86_.8·typedef·typename·_.E_.x_.t_.r_.a_.c_.t_.o_.r_.<_.G_.V_.,_.1_\x8>_\x8:_\x8:_\x8V_\x8e_\x8r_\x8t_\x8e_\x8x_\x8I_\x8n_\x8f_\x8o·_\x8V_\x8e_\x8r_\x8t_\x8e_\x8x_\x8I_\x8n_\x8f_\x8o; |
63 | _\x8 | 72 | _\x86_.9·typedef·typename·_.E_.x_.t_.r_.a_.c_.t_.o_.r_.<_.G_.V_.,_.1_\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 | _\x8 | 73 | _\x87_.0·typedef·typename·_.E_.x_.t_.r_.a_.c_.t_.o_.r_.<_.G_.V_.,_.1_\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 | 74 | 71 | |
75 | 72public: | ||
76 | 73 | ||
77 | 74·/*·C·O·N·S·T·R·U·C·T·O·R·S·A·N·D·D·E·S·T·R·U·C·T·O·R·S·*/ | ||
78 | 75 | ||
66 | _\x8 | 79 | _\x88_.1·_.C_.o_.d_.i_.m_.1_\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 | 80 | 82·:·_.E_.x_.t_.r_.a_.c_.t_.o_.r<GV,1>(gv) | |
81 | 83·{ | ||
69 | 82 | 84·std::cout·<<·"This·is·Codim1Extractor·on·a·<"·<<·_.d_.i_.m | |
70 | 83 | 85·<<·","·<<·_.d_.i_.m_.w_.o_.r_.l_.d·<<·">·grid!" | |
84 | 86·<<·std::endl; | ||
71 | 85 | 87·update(predicate); | |
86 | 88·} | ||
87 | 89 | ||
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 | 88 | 90private: | |
81 | 81·void·update(const·_\x8P_\x8r_\x8e_\x8d_\x8i_\x8c_\x8a_\x8t_\x8e&·predicate); | ||
82 | 82}; | ||
83 | 83 | ||
84 | 84 | ||
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. | ||
92 | 91 | 89 | 91 |
90 | 105·void·update(const·_\x8P_\x8r_\x8e_\x8d_\x8i_\x8c_\x8a_\x8t_\x8e&·predicate); | ||
91 | 106 | ||
92 | 107}; | ||
93 | 92·//·free·everything·there·is·in·this·object | ||
94 | 93·this->clear(); | ||
95 | 94 | ||
96 | 95·//·several·counter·for·consecutive·indexing·are·needed | ||
97 | 96·size_t·element_index·=·0; | ||
Max diff block lines reached; 25647/33660 bytes (76.19%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-grid-glue:· | 8 | <title>dune-grid-glue:·vtksurfacewriter.hh·File·Reference</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 72, 62 lines modified | Offset 72, 42 lines modified | ||
72 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_eaad0bdad6fc03850e65b1fdad9faad4.html">extractors</a></li>··</ul> | 72 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_eaad0bdad6fc03850e65b1fdad9faad4.html">extractors</a></li>··</ul> |
73 | </div> | 73 | </div> |
74 | </div><!--·top·--> | 74 | </div><!--·top·--> |
75 | <div·class="header"> | 75 | <div·class="header"> |
76 | ··<div·class="summary"> | 76 | ··<div·class="summary"> |
77 | <a·href="#nested-classes">Classes</a>·| | 77 | <a·href="#nested-classes">Classes</a>·| |
78 | <a·href="#namespaces">Namespaces</a>··</div> | 78 | <a·href="#namespaces">Namespaces</a>··</div> |
79 | ··<div·class="headertitle"><div·class="title"> | 79 | ··<div·class="headertitle"><div·class="title">vtksurfacewriter.hh·File·Reference</div></div> |
80 | </div><!--header--> | 80 | </div><!--header--> |
81 | <div·class="contents"> | 81 | <div·class="contents"> |
82 | <p>e | 82 | <p>helper·class·for·graphical·output·of·grids·in·generic·representation·· |
83 | <a·href="#details">More...</a></p> | 83 | <a·href="#details">More...</a></p> |
84 | <div·class="textblock"><code>#include·< | 84 | <div·class="textblock"><code>#include·<fstream></code><br·/> |
85 | <code>#include·<map></code><br·/> | 85 | <code>#include·<iomanip></code><br·/> |
86 | <code>#include·< | 86 | <code>#include·<vector></code><br·/> |
87 | <code>#include·<dune/common/exceptions.hh></code><br·/> | ||
88 | <code>#include·<dune/common/fvector.hh></code><br·/> | ||
89 | <code>#include·<dune/common/version.hh></code><br·/> | ||
90 | <code>#include·<dune/grid/common/geometry.hh></code><br·/> | ||
91 | <code>#include·< | 87 | <code>#include·<cstring></code><br·/> |
88 | <code>#include·"<a·class="el"·href="a00014_source.html">../adapter/gridgluevtkwriter.hh</a>"</code><br·/> | ||
92 | <code>#include·<dune/grid/common/mcmgmapper.hh></code><br·/> | ||
93 | <code>#include·<dune/geometry/multilineargeometry.hh></code><br·/> | ||
94 | </div> | 89 | </div> |
95 | <p><a·href="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> |
96 | <table·class="memberdecls"> | 91 | <table·class="memberdecls"> |
97 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 92 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
98 | Classes</h2></td></tr> | 93 | Classes</h2></td></tr> |
99 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a010 | 94 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01062.html">Dune::GridGlue::VtkSurfaceWriter</a></td></tr> |
100 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Provides·codimension-independent·methods·for·grid·extraction.··<a·href="a01038.html#details">More...</a><br·/></td></tr> | ||
101 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
102 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01042.html">Dune::GridGlue::Extractor<·GV,·cd·>::CornerInfo</a></td></tr> | ||
103 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Helpful·struct·holding·one·index·for·the·coordinate·(vertex)·to·which·it·is·associated·and·the·element's·corner·index;.··<a·href="a01042.html#details">More...</a><br·/></td></tr> | ||
104 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
105 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01046.html">Dune::GridGlue::Extractor<·GV,·cd·>::CoordinateInfo</a></td></tr> | ||
106 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
107 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01050.html">Dune::GridGlue::Extractor<·GV,·cd·>::VertexInfo</a></td></tr> | ||
108 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">simple·struct·holding·a·vertex·pointer·and·an·index··<a·href="a01050.html#details">More...</a><br·/></td></tr> | ||
109 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
110 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01054.html">Dune::GridGlue::Extractor<·GV,·cd·>::ElementInfo</a></td></tr> | ||
111 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">simple·struct·holding·an·element·seed·and·an·index··<a·href="a01054.html#details">More...</a><br·/></td></tr> | ||
112 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
113 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01058.html">Dune::GridGlue::Extractor<·GV,·cd·>::SubEntityInfo</a></td></tr> | ||
114 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Holds·some·information·about·an·element's·subentity·involved·in·a·coupling.··<a·href="a01058.html#details">More...</a><br·/></td></tr> | ||
115 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 95 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
116 | </table><table·class="memberdecls"> | 96 | </table><table·class="memberdecls"> |
117 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 97 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
118 | Namespaces</h2></td></tr> | 98 | Namespaces</h2></td></tr> |
119 | <tr·class="memitem:a00103"·id="r_a00103"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00103.html">Dune</a></td></tr> | 99 | <tr·class="memitem:a00103"·id="r_a00103"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00103.html">Dune</a></td></tr> |
120 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 100 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
121 | <tr·class="memitem:a00104"·id="r_a00104"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00104.html">Dune::GridGlue</a></td></tr> | 101 | <tr·class="memitem:a00104"·id="r_a00104"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00104.html">Dune::GridGlue</a></td></tr> |
122 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 102 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
123 | </table> | 103 | </table> |
124 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> | 104 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> |
125 | <div·class="textblock"><p>e | 105 | <div·class="textblock"><p>helper·class·for·graphical·output·of·grids·in·generic·representation·</p> |
126 | </div></div><!--·contents·--> | 106 | </div></div><!--·contents·--> |
127 | <!--·start·footer·part·--> | 107 | <!--·start·footer·part·--> |
128 | <hr·class="footer"/><address·class="footer"><small> | 108 | <hr·class="footer"/><address·class="footer"><small> |
129 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 109 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
130 | </small></address> | 110 | </small></address> |
131 | </body> | 111 | </body> |
132 | </html> | 112 | </html> |
Offset 2, 49 lines modified | Offset 2, 27 lines modified | ||
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | ····*·_\x8d_\x8u_\x8n_\x8e | 5 | ····*·_\x8d_\x8u_\x8n_\x8e |
6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e | 6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e |
7 | ····*·_\x8e_\x8x_\x8t_\x8r_\x8a_\x8c_\x8t_\x8o_\x8r_\x8s | 7 | ····*·_\x8e_\x8x_\x8t_\x8r_\x8a_\x8c_\x8t_\x8o_\x8r_\x8s |
8 | _\x8C_\x8l_\x8a_\x8s_\x8s_\x8e_\x8s·|·_\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s | 8 | _\x8C_\x8l_\x8a_\x8s_\x8s_\x8e_\x8s·|·_\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s |
9 | 9 | vtksurfacewriter.hh·File·Reference | |
10 | e | 10 | helper·class·for·graphical·output·of·grids·in·generic·representation·_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. |
11 | #include·<fstream> | ||
12 | #include·<iomanip> | ||
11 | #include·<vector> | 13 | #include·<vector> |
14 | #include·<cstring> | ||
15 | #include·"_\x8._\x8._\x8/_\x8a_\x8d_\x8a_\x8p_\x8t_\x8e_\x8r_\x8/_\x8g_\x8r_\x8i_\x8d_\x8g_\x8l_\x8u_\x8e_\x8v_\x8t_\x8k_\x8w_\x8r_\x8i_\x8t_\x8e_\x8r_\x8._\x8h_\x8h" | ||
12 | #include·<map> | ||
13 | #include·<algorithm> | ||
14 | #include·<dune/common/exceptions.hh> | ||
15 | #include·<dune/common/fvector.hh> | ||
16 | #include·<dune/common/version.hh> | ||
17 | #include·<dune/grid/common/geometry.hh> | ||
18 | #include·<dune/grid/common/grid.hh> | ||
19 | #include·<dune/grid/common/mcmgmapper.hh> | ||
20 | #include·<dune/geometry/multilineargeometry.hh> | ||
21 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 16 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
22 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s | 17 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s |
23 | 18 | class· ·_.D_.u_.n_.e_.:_.:_.G_.r_.i_.d_.G_.l_.u_.e_.:_.:_.V_.t_.k_.S_.u_.r_.f_.a_.c_.e_.W_.r_.i_.t_.e_.r | |
24 | ········Provides·codimension-independent·methods·for·grid·extraction.·_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
25 | |||
26 | struct· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8E_\x8x_\x8t_\x8r_\x8a_\x8c_\x8t_\x8o_\x8r_\x8<_\x8·_\x8G_\x8V_\x8,_\x8·_\x8c_\x8d_\x8·_\x8>_\x8:_\x8:_\x8C_\x8o_\x8r_\x8n_\x8e_\x8r_\x8I_\x8n_\x8f_\x8o | ||
27 | ········Helpful·struct·holding·one·index·for·the·coordinate·(vertex)·to·which | ||
28 | ·········it·is·associated·and·the·element's·corner·index;.·_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
29 | |||
30 | struct· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8E_\x8x_\x8t_\x8r_\x8a_\x8c_\x8t_\x8o_\x8r_\x8<_\x8·_\x8G_\x8V_\x8,_\x8·_\x8c_\x8d_\x8·_\x8>_\x8:_\x8:_\x8C_\x8o_\x8o_\x8r_\x8d_\x8i_\x8n_\x8a_\x8t_\x8e_\x8I_\x8n_\x8f_\x8o | ||
31 | |||
32 | struct· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8E_\x8x_\x8t_\x8r_\x8a_\x8c_\x8t_\x8o_\x8r_\x8<_\x8·_\x8G_\x8V_\x8,_\x8·_\x8c_\x8d_\x8·_\x8>_\x8:_\x8:_\x8V_\x8e_\x8r_\x8t_\x8e_\x8x_\x8I_\x8n_\x8f_\x8o | ||
33 | ········simple·struct·holding·a·vertex·pointer·and·an·index·_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
34 | |||
35 | struct· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8E_\x8x_\x8t_\x8r_\x8a_\x8c_\x8t_\x8o_\x8r_\x8<_\x8·_\x8G_\x8V_\x8,_\x8·_\x8c_\x8d_\x8·_\x8>_\x8:_\x8:_\x8E_\x8l_\x8e_\x8m_\x8e_\x8n_\x8t_\x8I_\x8n_\x8f_\x8o | ||
36 | ········simple·struct·holding·an·element·seed·and·an·index·_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
37 | |||
38 | struct· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8E_\x8x_\x8t_\x8r_\x8a_\x8c_\x8t_\x8o_\x8r_\x8<_\x8·_\x8G_\x8V_\x8,_\x8·_\x8c_\x8d_\x8·_\x8>_\x8:_\x8:_\x8S_\x8u_\x8b_\x8E_\x8n_\x8t_\x8i_\x8t_\x8y_\x8I_\x8n_\x8f_\x8o | ||
39 | ········Holds·some·information·about·an·element's·subentity·involved·in·a | ||
40 | ·········coupling.·_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
41 | 19 | ||
42 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s | 20 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s |
43 | namespace· ·_\x8D_\x8u_\x8n_\x8e | 21 | namespace· ·_\x8D_\x8u_\x8n_\x8e |
44 | 22 | ||
45 | namespace· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e | 23 | namespace· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e |
46 | 24 | ||
47 | *\x8**\x8**\x8**\x8**\x8*·D\x8De\x8et\x8ta\x8ai\x8il\x8le\x8ed\x8d·D\x8De\x8es\x8sc\x8cr\x8ri\x8ip\x8pt\x8ti\x8io\x8on\x8n·*\x8**\x8**\x8**\x8**\x8* | 25 | *\x8**\x8**\x8**\x8**\x8*·D\x8De\x8et\x8ta\x8ai\x8il\x8le\x8ed\x8d·D\x8De\x8es\x8sc\x8cr\x8ri\x8ip\x8pt\x8ti\x8io\x8on\x8n·*\x8**\x8**\x8**\x8**\x8* |
48 | e | 26 | helper·class·for·graphical·output·of·grids·in·generic·representation |
49 | =============================================================================== | 27 | =============================================================================== |
50 | ·····Generated·by _\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]·1.9.8 | 28 | ·····Generated·by _\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]·1.9.8 |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-grid-glue:· | 8 | <title>dune-grid-glue:·vtksurfacewriter.hh·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 74, 471 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="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:····VtkSurfaceWriter.hh</span></div> |
89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">·*··Version:·····1.0</span></div> | 89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">·*··Version:·····1.0</span></div> |
90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">·*··Created·on:·· | 90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">·*··Created·on:··Jan·16,·2009</span></div> |
91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">·*··Author:······ | 91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">·*··Author:······Gerrit·Buse</span></div> |
92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="comment">·*··---------------------------------</span></div> | 92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="comment">·*··---------------------------------</span></div> |
93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="comment">·*··Project:·····dune-grid-glue</span></div> | 93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="comment">·*··Project:·····dune-grid-glue</span></div> |
94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="comment">·*··Description:· | 94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="comment">·*··Description:·helper·class·for·graphical·output·of·grids·in·generic·representation</span></div> |
95 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="comment">·*</span></div> | 95 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="comment">·*</span></div> |
96 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="comment">·*/</span></div> | 96 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="comment">·*/</span></div> |
97 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#ifndef·DUNE_GRIDGLUE_EXTRACTORS_ | 97 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#ifndef·DUNE_GRIDGLUE_EXTRACTORS_VTKSURFACEWRITER_HH</span></div> |
98 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#define·DUNE_GRIDGLUE_EXTRACTORS_ | 98 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#define·DUNE_GRIDGLUE_EXTRACTORS_VTKSURFACEWRITER_HH</span></div> |
99 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div> | 99 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div> |
100 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#include·< | 100 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#include·<fstream></span></div> |
101 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#include·<map></span></div> | 101 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#include·<iomanip></span></div> |
102 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#include·< | 102 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#include·<vector></span></div> |
103 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#include·< | 103 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#include·<cstring></span></div> |
104 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> | ||
104 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="preprocessor">#include·<dune/common/fvector.hh></span></div> | ||
105 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·<dune/common/version.hh></span></div> | ||
106 | <div·class="line"><a·id="l0002 | 105 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·"../adapter/gridgluevtkwriter.hh"</span></div> |
107 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·<dune/grid/common/grid.hh></span></div> | ||
108 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#include·<dune/grid/common/mcmgmapper.hh></span></div> | ||
109 | <div·class="line"><a·id="l000 | 106 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div> |
107 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00103.html">Dune</a>·{</div> | ||
108 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div> | ||
109 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>··<span·class="keyword">namespace·</span>GridGlue·{</div> | ||
110 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div> | 110 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div> |
111 | <div·class=" | 111 | <div·class="foldopen"·id="foldopen00034"·data-start="{"·data-end="};"> |
112 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno"><a·class="line"·href="a01062.html">···34</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01062.html">VtkSurfaceWriter</a></div> | ||
112 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span> | 113 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>{</div> |
113 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span> | 114 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="keyword">public</span>:</div> |
114 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div> | 115 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div> |
115 | <div·class="line"><a·id="l000 | 116 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div> |
117 | <div·class="foldopen"·id="foldopen00039"·data-start="{"·data-end="}"> | ||
118 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno"><a·class="line"·href="a01062.html#ac46ef37ddfd4e02737c09fedb8d0bdfb">···39</a></span>··<a·class="code·hl_function"·href="a01062.html#ac46ef37ddfd4e02737c09fedb8d0bdfb">VtkSurfaceWriter</a>(<span·class="keyword">const</span>·<span·class="keywordtype">char</span>*·filename)·:·filename_(filename)</div> | ||
119 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>··{}</div> | ||
120 | </div> | ||
121 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·</div> | ||
122 | <div·class="foldopen"·id="foldopen00042"·data-start="{"·data-end="}"> | ||
123 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno"><a·class="line"·href="a01062.html#a9eb66d05bf2ea43ca182838c2ef91b9a">···42</a></span>··<a·class="code·hl_function"·href="a01062.html#a9eb66d05bf2ea43ca182838c2ef91b9a">~VtkSurfaceWriter</a>()</div> | ||
124 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>··{}</div> | ||
125 | </div> | ||
126 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div> | ||
116 | <div·class="foldopen"·id="foldopen00045"·data-start="{"·data-end="} | 127 | <div·class="foldopen"·id="foldopen00045"·data-start="{"·data-end="}"> |
117 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno"><a·class="line"·href="a010 | 128 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno"><a·class="line"·href="a01062.html#a4205baf198a974b148fbb4441ff32fe7">···45</a></span>··<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01062.html#a4205baf198a974b148fbb4441ff32fe7">setFilename</a>(<span·class="keyword">const</span>·<span·class="keywordtype"[·...·truncated·by·diffoscope;·len:·19,·SHA:·11eff431761ea7e2d52e624e44ccc652c1b459abb34fbdafaa4b57622f09d988·...·]</div> |
118 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>{</div> | 129 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>··{</div> |
119 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div> | ||
120 | <div·class="line"><a·id="l0004 | 130 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>····<span·class="keywordflow">if</span>·(std::strlen(name)·>·0)</div> |
131 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>······this->filename_·=·name;</div> | ||
121 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div> | 132 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>··}</div> |
133 | </div> | ||
122 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno"><a·class="line"·href="a01038.html#a1f393e4fd59db3d9bb5fb2868a7422e2">···50</a></span>··<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<span·class="keyword">auto</span>·<a·class="code·hl_variable"·href="a01038.html#a1f393e4fd59db3d9bb5fb2868a7422e2">dimworld</a>·=·GV::dimensionworld;</div> | ||
123 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno"><a·class="line"·href="a01038.html#aeeab086dacf44e778ad8ae2c6de7d4f6">···51</a></span>··<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<span·class="keyword">auto</span>·<a·class="code·hl_variable"·href="a01038.html#aeeab086dacf44e778ad8ae2c6de7d4f6">dim</a>······=·GV::dimension;</div> | ||
124 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno"><a·class="line"·href="a01038.html#a81546d6fc243df2658db228c02693832">···52</a></span>··<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<span·class="keyword">auto</span>·<a·class="code·hl_variable"·href="a01038.html#a81546d6fc243df2658db228c02693832">codim</a>····=·cd;</div> | ||
125 | <div·class="line"><a·id="l0005 | 134 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</div> |
126 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno"><a·class="line"·href="a01038.html#a7e2109e2becb86e122556eabaf2950bd">···54</a></span>··<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_variable"·href="a01038.html#a7e2109e2becb86e122556eabaf2950bd">cube_corners</a>·=·1·<<·(<a·class="code·hl_variable"·href="a01038.html#aeeab086dacf44e778ad8ae2c6de7d4f6">dim</a>-<a·class="code·hl_variable"·href="a01038.html#a81546d6fc243df2658db228c02693832">codim</a>);</div> | ||
127 | <div·class="line"><a·id="l0005 | 135 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div> |
128 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno"><a·class="line"·href="a01038.html#aa4b49d1779b84c8176e80bdf5170dc31">···56</a></span>··<span·class="keyword">typedef</span>·GV·<a·class="code·hl_typedef"·href="a01038.html#aa4b49d1779b84c8176e80bdf5170dc31">GridView</a>;</div> | ||
129 | <div·class="line"><a·id="l0005 | 136 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>··<span·class="keyword">template</span><<span·class="keyword">typename</span>·K></div> |
137 | <div·class="foldopen"·id="foldopen00053"·data-start="{"·data-end="}"> | ||
138 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno"><a·class="line"·href="a01062.html#ad89fffa4d275fc30715ca718a5f20372">···53</a></span>··<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01062.html#ad89fffa4d275fc30715ca718a5f20372">writeSurface</a>(<span·class="keyword">const</span>·std::vector<K>&·coords,·<span·class="keyword">const</span>·std::vector<unsigned·int>&·indices,·<span·class="keywordtype">int</span>·corners,·<span·class="keywordtype">int</span>·dim)</div> | ||
130 | <div·class="line"><a·id="l0005 | 139 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>··{</div> |
131 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno"><a·class="line"·href="a01038.html#aaac747289d7b6803093e437b724858be">···59</a></span>··<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·GV::Grid::ctype·<a·class="code·hl_typedef"·href="a01038.html#aaac747289d7b6803093e437b724858be">ctype</a>;</div> | ||
132 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno"><a·class="line"·href="a01038.html#a8b5110ac52a4db2ffced63c8d9de018d">···60</a></span>··<span·class="keyword">typedef</span>·Dune::FieldVector<ctype,·dimworld>·······················<a·class="code·hl_typedef"·href="a01038.html#a8b5110ac52a4db2ffced63c8d9de018d">Coords</a>;</div> | ||
133 | <div·class="line"><a·id="l000 | 140 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>····std::ofstream·fos;</div> |
141 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>····<span·class="keywordtype">char</span>·buffer[64];</div> | ||
142 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>····sprintf(buffer,·<span·class="stringliteral">"%s.vtk"</span>,·this->filename_);</div> | ||
143 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>····fos.open(buffer);</div> | ||
144 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>····fos·<<·std::setprecision(8)·<<·std::setw(1);</div> | ||
145 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>····<span·class="comment">//·write·preamble</span></div> | ||
146 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>····fos·<<·<span·class="stringliteral">"#·vtk·DataFile·Version·2.0\nFilename:·"</span>·<<·buffer·<<·<span·class="stringliteral">"\nASCII"</span>·<<·std::endl;</div> | ||
147 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>····this-><a·class="code·hl_function"·href="a01062.html#ae13c610fac974c3230a076fed93d1c13">writePoints</a>(coords,·dim,·fos);</div> | ||
148 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>····<span·class="keyword">const</span>·<span·class="keywordtype">int</span>·polycount·=·indices.size()/corners;</div> | ||
149 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>····<span·class="keywordtype">int</span>·corner_count[polycount];</div> | ||
150 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>····<span·class="keywordflow">for</span>·(<span·class="keywordtype">int</span>·i·=·0;·i·<·polycount;·++i)</div> | ||
151 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>······corner_count[i]·=·corners;</div> | ||
152 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>····this-><a·class="code·hl_function"·href="a01062.html#ae2a651fc199ba41ad3719d9c7e6a64d8">writePolygons</a>(indices,·corner_count,·polycount,·dim,·fos);</div> | ||
153 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>····fos.close();</div> | ||
134 | <div·class="line"><a·id="l0006 | 154 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>··}</div> |
155 | </div> | ||
135 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno"><a·class="line"·href="a01038.html#a020348ef27a849cfa010feeec342e3ab">···63</a></span>··<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·GV::Traits::template·Codim<dim>::Entity·<a·class="code·hl_typedef"·href="a01038.html#a020348ef27a849cfa010feeec342e3ab">Vertex</a>;</div> | ||
136 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno"><a·class="line"·href="a01038.html#ad2b182b19f4274782d00d2e04c7e9dc0">···64</a></span>··<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·Vertex::EntitySeed·<a·class="code·hl_typedef"·href="a01038.html#ad2b182b19f4274782d00d2e04c7e9dc0">VertexSeed</a>;</div> | ||
137 | <div·class="line"><a·id="l000 | 156 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div> |
138 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno"><a·class="line"·href="a01038.html#a38e9d4e9023b159a785a2577f2367d94">···66</a></span>··<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·GV::Traits::template·Codim<0>::Entity·<a·class="code·hl_typedef"·href="a01038.html#a38e9d4e9023b159a785a2577f2367d94">Element</a>;</div> | ||
139 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno"><a·class="line"·href="a01038.html#acb587ad2487681bf5cac7cccacabf61d">···67</a></span>··<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·Element::EntitySeed·<a·class="code·hl_typedef"·href="a01038.html#acb587ad2487681bf5cac7cccacabf61d">ElementSeed</a>;</div> | ||
140 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div> | ||
141 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno"><a·class="line"·href="a01038.html#a582728b071c9c7d651245e3cff1f1f29">···69</a></span>··<span·class="keyword">typedef</span>·std::vector<unsigned·int>································<a·class="code·hl_typedef"·href="a01038.html#a582728b071c9c7d651245e3cff1f1f29">VertexVector</a>;</div> | ||
142 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno"><a·class="line"·href="a01038.html#a8f8794169b69de5b30d090bee2f92ea0">···70</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01038.html#a8f8794169b69de5b30d090bee2f92ea0">CellMapper</a>·=·MultipleCodimMultipleGeomTypeMapper<GridView>;</div> | ||
143 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</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> | ||
144 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>··<span·class="comment">//·typedef·typename·CellMapper::IndexType·······························IndexType;</span></div> | ||
145 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno"><a·class="line"·href="a01038.html#a2b9a14410a511802e1292adbdd69667e">···73</a></span>··<span·class="keyword">typedef</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_typedef"·href="a01038.html#a2b9a14410a511802e1292adbdd69667e">IndexType</a>;</div> | ||
146 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span><span·class="keyword">public</span>:</div> | ||
147 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>·</div> | ||
148 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>··<span·class="comment">//·transformations</span></div> | ||
149 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno"><a·class="line"·href="a01038.html#a27d48b30fd7a77e90fa2ddcd1fff5c1b">···77</a></span>··<span·class="keyword">typedef</span>·Dune::MultiLinearGeometry<<a·class="code·hl_typedef"·href="a01038.html#aaac747289d7b6803093e437b724858be">ctype</a>,·<a·class="code·hl_variable"·href="a01038.html#aeeab086dacf44e778ad8ae2c6de7d4f6">dim</a>-<a·class="code·hl_variable"·href="a01038.html#a81546d6fc243df2658db228c02693832">codim</a>,·<a·class="code·hl_variable"·href="a01038.html#a1f393e4fd59db3d9bb5fb2868a7422e2">dimworld</a>>·<a·class="code·hl_typedef"·href="a01038.html#a27d48b30fd7a77e90fa2ddcd1fff5c1b">Geometry</a>;</div> | ||
Max diff block lines reached; 101212/131665 bytes (76.87%) of diff not shown. |
Offset 1, 587 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:· | 19 | 8·*·Created·on:·Jan·16,·2009 |
20 | 9·*·Author:· | 20 | 9·*·Author:·Gerrit·Buse |
21 | 10·*·--------------------------------- | 21 | 10·*·--------------------------------- |
22 | 11·*·Project:·dune-grid-glue | 22 | 11·*·Project:·dune-grid-glue |
23 | 12·*·Description:· | 23 | 12·*·Description:·helper·class·for·graphical·output·of·grids·in·generic |
24 | representation | ||
24 | 13·* | 25 | 13·* |
25 | 14·*/ | 26 | 14·*/ |
26 | 20#ifndef·DUNE_GRIDGLUE_EXTRACTORS_ | 27 | 20#ifndef·DUNE_GRIDGLUE_EXTRACTORS_VTKSURFACEWRITER_HH |
27 | 21#define·DUNE_GRIDGLUE_EXTRACTORS_ | 28 | 21#define·DUNE_GRIDGLUE_EXTRACTORS_VTKSURFACEWRITER_HH |
28 | 22 | 29 | 22 |
30 | 23#include·<fstream> | ||
31 | 24#include·<iomanip> | ||
29 | 2 | 32 | 25#include·<vector> |
33 | 26#include·<cstring> | ||
34 | 27 | ||
35 | 28#include·"../adapter/gridgluevtkwriter.hh" | ||
36 | 29 | ||
37 | 30namespace·_\x8D_\x8u_\x8n_\x8e·{ | ||
38 | 31 | ||
39 | 32·namespace·GridGlue·{ | ||
30 | 24#include·<map> | ||
31 | 25#include·<algorithm> | ||
32 | 26#include·<dune/common/exceptions.hh> | ||
33 | 27#include·<dune/common/fvector.hh> | ||
34 | 28#include·<dune/common/version.hh> | ||
35 | 29#include·<dune/grid/common/geometry.hh> | ||
36 | 30#include·<dune/grid/common/grid.hh> | ||
37 | 31#include·<dune/grid/common/mcmgmapper.hh> | ||
38 | 32#include·<dune/geometry/multilineargeometry.hh> | ||
39 | 33 | 40 | 33 |
40 | 34 | 41 | _.3_.4class·_.V_.t_.k_.S_.u_.r_.f_.a_.c_.e_.W_.r_.i_.t_.e_.r |
41 | 35 | 42 | 35{ |
42 | 36 | 43 | 36public: |
43 | 37 | 44 | 37 |
44 | 44template<typename·GV,·int·cd> | ||
45 | 45 | 38 | |
46 | _\x83_\x89·_\x8V_\x8t_\x8k_\x8S_\x8u_\x8r_\x8f_\x8a_\x8c_\x8e_\x8W_\x8r_\x8i_\x8t_\x8e_\x8r(const·char*·filename)·:·filename_(filename) | ||
47 | 40·{} | ||
48 | 41 | ||
49 | _\x84_\x82·_\x8~_\x8V_\x8t_\x8k_\x8S_\x8u_\x8r_\x8f_\x8a_\x8c_\x8e_\x8W_\x8r_\x8i_\x8t_\x8e_\x8r() | ||
50 | 43·{} | ||
51 | 44 | ||
52 | _\x84_\x85·void·_\x8s_\x8e_\x8t_\x8F_\x8i_\x8l_\x8e_\x8n_\x8a_\x8m_\x8e(const·char*·name) | ||
46 | 46{ | 53 | 46·{ |
47 | 47 | ||
48 | 48public: | ||
49 | 49 | ||
50 | _\x85_\x80·static·constexpr·auto·_\x8d_\x8i_\x8m_\x8w_\x8o_\x8r_\x8l_\x8d·=·GV::dimensionworld; | ||
51 | _\x85_\x81·static·constexpr·auto·_\x8d_\x8i_\x8m·=·GV::dimension; | ||
52 | _\x85_\x82·static·constexpr·auto·_\x8c_\x8o_\x8d_\x8i_\x8m·=·cd; | ||
53 | 53 | ||
54 | _\x85_\x84·static·constexpr·int·_\x8c_\x8u_\x8b_\x8e_\x8__\x8c_\x8o_\x8r_\x8n_\x8e_\x8r_\x8s·=·1·<<·(_\x8d_\x8i_\x8m-_\x8c_\x8o_\x8d_\x8i_\x8m); | ||
55 | 55 | ||
56 | _\x85_\x86·typedef·GV·_\x8G_\x8r_\x8i_\x8d_\x8V_\x8i_\x8e_\x8w; | ||
57 | _\x85_\x87·typedef·typename·GridView::Grid·_\x8G_\x8r_\x8i_\x8d; | ||
58 | 58 | ||
59 | _\x85_\x89·typedef·typename·GV::Grid::ctype·_\x8c_\x8t_\x8y_\x8p_\x8e; | ||
60 | _\x86_\x80·typedef·Dune::FieldVector<ctype,·dimworld>·_\x8C_\x8o_\x8o_\x8r_\x8d_\x8s; | ||
61 | _\x86_\x81·typedef·Dune::FieldVector<ctype,·dim>·_\x8L_\x8o_\x8c_\x8a_\x8l_\x8C_\x8o_\x8o_\x8r_\x8d_\x8s; | ||
62 | 62 | ||
63 | _\x86_\x83·typedef·typename·GV::Traits::template·Codim<dim>::Entity·_\x8V_\x8e_\x8r_\x8t_\x8e_\x8x; | ||
64 | _\x86_\x84·typedef·typename·Vertex::EntitySeed·_\x8V_\x8e_\x8r_\x8t_\x8e_\x8x_\x8S_\x8e_\x8e_\x8d; | ||
65 | 65 | ||
66 | _\x86_\x86·typedef·typename·GV::Traits::template·Codim<0>::Entity·_\x8E_\x8l_\x8e_\x8m_\x8e_\x8n_\x8t; | ||
67 | _\x86_\x87·typedef·typename·Element::EntitySeed·_\x8E_\x8l_\x8e_\x8m_\x8e_\x8n_\x8t_\x8S_\x8e_\x8e_\x8d; | ||
68 | 68 | ||
69 | _\x86_\x89·typedef·std::vector<unsigned·int>·_\x8V_\x8e_\x8r_\x8t_\x8e_\x8x_\x8V_\x8e_\x8c_\x8t_\x8o_\x8r; | ||
70 | 54 | 47·if·(std::strlen(name)·>·0) | |
55 | 48·this->filename_·=·name; | ||
56 | 49·} | ||
57 | 50 | ||
58 | 51 | ||
59 | 52·template<typename·K> | ||
60 | _\x85_\x83·void·_\x8w_\x8r_\x8i_\x8t_\x8e_\x8S_\x8u_\x8r_\x8f_\x8a_\x8c_\x8e(const·std::vector<K>&·coords,·const·std::vector<unsigned | ||
61 | int>&·indices,·int·corners,·int·dim) | ||
62 | 54·{ | ||
63 | 55·std::ofstream·fos; | ||
64 | 56·char·buffer[64]; | ||
65 | 57·sprintf(buffer,·"%s.vtk",·this->filename_); | ||
66 | 58·fos.open(buffer); | ||
67 | 59·fos·<<·std::setprecision(8)·<<·std::setw(1); | ||
68 | 60·//·write·preamble | ||
69 | 61·fos·<<·"#·vtk·DataFile·Version·2.0\nFilename:·"·<<·buffer·<<·"\nASCII"·<< | ||
70 | std::endl; | ||
71 | 62·this->_\x8w_\x8r_\x8i_\x8t_\x8e_\x8P_\x8o_\x8i_\x8n_\x8t_\x8s(coords,·dim,·fos); | ||
72 | 63·const·int·polycount·=·indices.size()/corners; | ||
73 | 64·int·corner_count[polycount]; | ||
74 | 65·for·(int·i·=·0;·i·<·polycount;·++i) | ||
75 | 66·corner_count[i]·=·corners; | ||
76 | 67·this->_\x8w_\x8r_\x8i_\x8t_\x8e_\x8P_\x8o_\x8l_\x8y_\x8g_\x8o_\x8n_\x8s(indices,·corner_count,·polycount,·dim,·fos); | ||
77 | 68·fos.close(); | ||
78 | 69·} | ||
79 | 70 | ||
71 | 71 | 80 | 71 |
72 | 72·//·typedef·typename·CellMapper::IndexType·IndexType; | ||
73 | _\x87_\x83·typedef·int·_\x8I_\x8n_\x8d_\x8e_\x8x_\x8T_\x8y_\x8p_\x8e; | ||
74 | 74public: | ||
75 | 75 | ||
76 | 76·//·transformations | ||
77 | _\x87_\x87·typedef·Dune::MultiLinearGeometry<_\x8c_\x8t_\x8y_\x8p_\x8e,·_\x8d_\x8i_\x8m-_\x8c_\x8o_\x8d_\x8i_\x8m,·_\x8d_\x8i_\x8m_\x8w_\x8o_\x8r_\x8l_\x8d>·_\x8G_\x8e_\x8o_\x8m_\x8e_\x8t_\x8r_\x8y; | ||
78 | _\x87_\x88·typedef·Dune::MultiLinearGeometry<_\x8c_\x8t_\x8y_\x8p_\x8e,·_\x8d_\x8i_\x8m-_\x8c_\x8o_\x8d_\x8i_\x8m,·_\x8d_\x8i_\x8m>·_\x8L_\x8o_\x8c_\x8a_\x8l_\x8G_\x8e_\x8o_\x8m_\x8e_\x8t_\x8r_\x8y; | ||
79 | 79 | ||
80 | 80protected: | ||
81 | 81·/**************************·PRIVATE·SUBCLASSES·**********************/ | ||
82 | 82 | ||
83 | _\x88_\x87·struct·_\x8C_\x8o_\x8r_\x8n_\x8e_\x8r_\x8I_\x8n_\x8f_\x8o | ||
84 | 88·{ | ||
85 | _\x88_\x89·unsigned·int·_\x8i_\x8d_\x8x·:·28; | ||
Max diff block lines reached; 32577/38511 bytes (84.59%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-grid-glue:· | 8 | <title>dune-grid-glue:·extractor.hh·File·Reference</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 72, 44 lines modified | Offset 72, 62 lines modified | ||
72 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_eaad0bdad6fc03850e65b1fdad9faad4.html">extractors</a></li>··</ul> | 72 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_eaad0bdad6fc03850e65b1fdad9faad4.html">extractors</a></li>··</ul> |
73 | </div> | 73 | </div> |
74 | </div><!--·top·--> | 74 | </div><!--·top·--> |
75 | <div·class="header"> | 75 | <div·class="header"> |
76 | ··<div·class="summary"> | 76 | ··<div·class="summary"> |
77 | <a·href="#nested-classes">Classes</a>·| | 77 | <a·href="#nested-classes">Classes</a>·| |
78 | <a·href="#namespaces">Namespaces</a>··</div> | 78 | <a·href="#namespaces">Namespaces</a>··</div> |
79 | ··<div·class="headertitle"><div·class="title"> | 79 | ··<div·class="headertitle"><div·class="title">extractor.hh·File·Reference</div></div> |
80 | </div><!--header--> | 80 | </div><!--header--> |
81 | <div·class="contents"> | 81 | <div·class="contents"> |
82 | <p> | 82 | <p>extractor·base·class·· |
83 | <a·href="#details">More...</a></p> | 83 | <a·href="#details">More...</a></p> |
84 | <div·class="textblock"><code>#include·& | 84 | <div·class="textblock"><code>#include·<vector></code><br·/> |
85 | <code>#include·< | 85 | <code>#include·<map></code><br·/> |
86 | <code>#include·< | 86 | <code>#include·<algorithm></code><br·/> |
87 | <code>#include·< | 87 | <code>#include·<dune/common/exceptions.hh></code><br·/> |
88 | <code>#include·<dune/common/ | 88 | <code>#include·<dune/common/fvector.hh></code><br·/> |
89 | <code>#include·<dune/common/version.hh></code><br·/> | 89 | <code>#include·<dune/common/version.hh></code><br·/> |
90 | <code>#include·< | 90 | <code>#include·<dune/grid/common/geometry.hh></code><br·/> |
91 | <code>#include·<dune/grid/common/grid.hh></code><br·/> | ||
92 | <code>#include·<dune/grid/common/mcmgmapper.hh></code><br·/> | ||
93 | <code>#include·<dune/geometry/multilineargeometry.hh></code><br·/> | ||
91 | </div> | 94 | </div> |
92 | <p><a·href="a00062_source.html">Go·to·the·source·code·of·this·file.</a></p> | 95 | <p><a·href="a00062_source.html">Go·to·the·source·code·of·this·file.</a></p> |
93 | <table·class="memberdecls"> | 96 | <table·class="memberdecls"> |
94 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 97 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
95 | Classes</h2></td></tr> | 98 | Classes</h2></td></tr> |
96 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a0103 | 99 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01038.html">Dune::GridGlue::Extractor<·GV,·cd·></a></td></tr> |
100 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Provides·codimension-independent·methods·for·grid·extraction.··<a·href="a01038.html#details">More...</a><br·/></td></tr> | ||
101 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
102 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01042.html">Dune::GridGlue::Extractor<·GV,·cd·>::CornerInfo</a></td></tr> | ||
103 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Helpful·struct·holding·one·index·for·the·coordinate·(vertex)·to·which·it·is·associated·and·the·element's·corner·index;.··<a·href="a01042.html#details">More...</a><br·/></td></tr> | ||
104 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
105 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01046.html">Dune::GridGlue::Extractor<·GV,·cd·>::CoordinateInfo</a></td></tr> | ||
106 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
107 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01050.html">Dune::GridGlue::Extractor<·GV,·cd·>::VertexInfo</a></td></tr> | ||
108 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">simple·struct·holding·a·vertex·pointer·and·an·index··<a·href="a01050.html#details">More...</a><br·/></td></tr> | ||
109 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
110 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01054.html">Dune::GridGlue::Extractor<·GV,·cd·>::ElementInfo</a></td></tr> | ||
111 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">simple·struct·holding·an·element·seed·and·an·index··<a·href="a01054.html#details">More...</a><br·/></td></tr> | ||
112 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
113 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01058.html">Dune::GridGlue::Extractor<·GV,·cd·>::SubEntityInfo</a></td></tr> | ||
114 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Holds·some·information·about·an·element's·subentity·involved·in·a·coupling.··<a·href="a01058.html#details">More...</a><br·/></td></tr> | ||
97 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 115 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
98 | </table><table·class="memberdecls"> | 116 | </table><table·class="memberdecls"> |
99 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 117 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
100 | Namespaces</h2></td></tr> | 118 | Namespaces</h2></td></tr> |
101 | <tr·class="memitem:a00103"·id="r_a00103"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00103.html">Dune</a></td></tr> | 119 | <tr·class="memitem:a00103"·id="r_a00103"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00103.html">Dune</a></td></tr> |
102 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 120 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
103 | <tr·class="memitem:a00104"·id="r_a00104"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00104.html">Dune::GridGlue</a></td></tr> | 121 | <tr·class="memitem:a00104"·id="r_a00104"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00104.html">Dune::GridGlue</a></td></tr> |
104 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 122 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
105 | </table> | 123 | </table> |
106 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> | 124 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> |
107 | <div·class="textblock"><p> | 125 | <div·class="textblock"><p>extractor·base·class·</p> |
108 | </div></div><!--·contents·--> | 126 | </div></div><!--·contents·--> |
109 | <!--·start·footer·part·--> | 127 | <!--·start·footer·part·--> |
110 | <hr·class="footer"/><address·class="footer"><small> | 128 | <hr·class="footer"/><address·class="footer"><small> |
111 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 129 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
112 | </small></address> | 130 | </small></address> |
113 | </body> | 131 | </body> |
114 | </html> | 132 | </html> |
Offset 2, 29 lines modified | Offset 2, 49 lines modified | ||
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | ····*·_\x8d_\x8u_\x8n_\x8e | 5 | ····*·_\x8d_\x8u_\x8n_\x8e |
6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e | 6 | ····*·_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e |
7 | ····*·_\x8e_\x8x_\x8t_\x8r_\x8a_\x8c_\x8t_\x8o_\x8r_\x8s | 7 | ····*·_\x8e_\x8x_\x8t_\x8r_\x8a_\x8c_\x8t_\x8o_\x8r_\x8s |
8 | _\x8C_\x8l_\x8a_\x8s_\x8s_\x8e_\x8s·|·_\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s | 8 | _\x8C_\x8l_\x8a_\x8s_\x8s_\x8e_\x8s·|·_\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s |
9 | 9 | extractor.hh·File·Reference | |
10 | Grid·extractor·class·for·codim·1·subgrids.·_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
11 | 10 | extractor·base·class·_.M_.o_.r_.e_.._.._.. | |
11 | #include·<vector> | ||
12 | #include·< | 12 | #include·<map> |
13 | #include·<deque> | ||
14 | #include·< | 13 | #include·<algorithm> |
14 | #include·<dune/common/exceptions.hh> | ||
15 | #include·<dune/common/ | 15 | #include·<dune/common/fvector.hh> |
16 | #include·<dune/common/version.hh> | 16 | #include·<dune/common/version.hh> |
17 | #include·< | 17 | #include·<dune/grid/common/geometry.hh> |
18 | #include·<dune/grid/common/grid.hh> | ||
19 | #include·<dune/grid/common/mcmgmapper.hh> | ||
20 | #include·<dune/geometry/multilineargeometry.hh> | ||
18 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 21 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
19 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s | 22 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s |
20 | class· ·_.D_.u_.n_.e_.:_.:_.G_.r_.i_.d_.G_.l_.u_.e_.:_.: | 23 | ·class· ·_.D_.u_.n_.e_.:_.:_.G_.r_.i_.d_.G_.l_.u_.e_.:_.:_.E_.x_.t_.r_.a_.c_.t_.o_.r_.<_.·_.G_.V_.,_.·_.c_.d_\x8·_\x8> |
24 | ········Provides·codimension-independent·methods·for·grid·extraction.·_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
25 | |||
26 | struct· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8E_\x8x_\x8t_\x8r_\x8a_\x8c_\x8t_\x8o_\x8r_\x8<_\x8·_\x8G_\x8V_\x8,_\x8·_\x8c_\x8d_\x8·_\x8>_\x8:_\x8:_\x8C_\x8o_\x8r_\x8n_\x8e_\x8r_\x8I_\x8n_\x8f_\x8o | ||
27 | ········Helpful·struct·holding·one·index·for·the·coordinate·(vertex)·to·which | ||
28 | ·········it·is·associated·and·the·element's·corner·index;.·_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
29 | |||
30 | struct· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8E_\x8x_\x8t_\x8r_\x8a_\x8c_\x8t_\x8o_\x8r_\x8<_\x8·_\x8G_\x8V_\x8,_\x8·_\x8c_\x8d_\x8·_\x8>_\x8:_\x8:_\x8C_\x8o_\x8o_\x8r_\x8d_\x8i_\x8n_\x8a_\x8t_\x8e_\x8I_\x8n_\x8f_\x8o | ||
31 | |||
32 | struct· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8E_\x8x_\x8t_\x8r_\x8a_\x8c_\x8t_\x8o_\x8r_\x8<_\x8·_\x8G_\x8V_\x8,_\x8·_\x8c_\x8d_\x8·_\x8>_\x8:_\x8:_\x8V_\x8e_\x8r_\x8t_\x8e_\x8x_\x8I_\x8n_\x8f_\x8o | ||
33 | ········simple·struct·holding·a·vertex·pointer·and·an·index·_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
34 | |||
35 | struct· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8E_\x8x_\x8t_\x8r_\x8a_\x8c_\x8t_\x8o_\x8r_\x8<_\x8·_\x8G_\x8V_\x8,_\x8·_\x8c_\x8d_\x8·_\x8>_\x8:_\x8:_\x8E_\x8l_\x8e_\x8m_\x8e_\x8n_\x8t_\x8I_\x8n_\x8f_\x8o | ||
36 | ········simple·struct·holding·an·element·seed·and·an·index·_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
37 | |||
38 | struct· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8E_\x8x_\x8t_\x8r_\x8a_\x8c_\x8t_\x8o_\x8r_\x8<_\x8·_\x8G_\x8V_\x8,_\x8·_\x8c_\x8d_\x8·_\x8>_\x8:_\x8:_\x8S_\x8u_\x8b_\x8E_\x8n_\x8t_\x8i_\x8t_\x8y_\x8I_\x8n_\x8f_\x8o | ||
39 | ········Holds·some·information·about·an·element's·subentity·involved·in·a | ||
40 | ·········coupling.·_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
21 | 41 | ||
22 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s | 42 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s |
23 | namespace· ·_\x8D_\x8u_\x8n_\x8e | 43 | namespace· ·_\x8D_\x8u_\x8n_\x8e |
24 | 44 | ||
25 | namespace· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e | 45 | namespace· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e |
26 | 46 | ||
27 | *\x8**\x8**\x8**\x8**\x8*·D\x8De\x8et\x8ta\x8ai\x8il\x8le\x8ed\x8d·D\x8De\x8es\x8sc\x8cr\x8ri\x8ip\x8pt\x8ti\x8io\x8on\x8n·*\x8**\x8**\x8**\x8**\x8* | 47 | *\x8**\x8**\x8**\x8**\x8*·D\x8De\x8et\x8ta\x8ai\x8il\x8le\x8ed\x8d·D\x8De\x8es\x8sc\x8cr\x8ri\x8ip\x8pt\x8ti\x8io\x8on\x8n·*\x8**\x8**\x8**\x8**\x8* |
28 | 48 | extractor·base·class | |
29 | =============================================================================== | 49 | =============================================================================== |
30 | ·····Generated·by _\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]·1.9.8 | 50 | ·····Generated·by _\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]·1.9.8 |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-grid-glue:· | 8 | <title>dune-grid-glue:·extractor.hh·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 74, 400 lines modified | Offset 74, 471 lines modified | ||
74 | <div·id="nav-path"·class="navpath"> | 74 | <div·id="nav-path"·class="navpath"> |
75 | ··<ul> | 75 | ··<ul> |
76 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_eaad0bdad6fc03850e65b1fdad9faad4.html">extractors</a></li>··</ul> | 76 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_eaad0bdad6fc03850e65b1fdad9faad4.html">extractors</a></li>··</ul> |
77 | </div> | 77 | </div> |
78 | </div><!--·top·--> | 78 | </div><!--·top·--> |
79 | <div·class="header"> | 79 | <div·class="header"> |
80 | ··<div·class="headertitle"><div·class="title"> | 80 | ··<div·class="headertitle"><div·class="title">extractor.hh</div></div> |
81 | </div><!--header--> | 81 | </div><!--header--> |
82 | <div·class="contents"> | 82 | <div·class="contents"> |
83 | <a·href="a00062.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 83 | <a·href="a00062.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·©·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div> | 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·©·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div> |
86 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with-dune-grid-glue-exception</span></div> | 86 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with-dune-grid-glue-exception</span></div> |
87 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">/*</span></div> | 87 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">/*</span></div> |
88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">·*··Filename:···· | 88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">·*··Filename:····extractor.hh</span></div> |
89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">·*··Version:·····1.0</span></div> | 89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">·*··Version:·····1.0</span></div> |
90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">·*··Created·on:·· | 90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">·*··Created·on:··Oct·05,·2009</span></div> |
91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">·*··Author:······ | 91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">·*··Author:······Christian·Engwer</span></div> |
92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="comment">·*··---------------------------------</span></div> | 92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="comment">·*··---------------------------------</span></div> |
93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="comment">·*··Project:·····dune-grid-glue</span></div> | 93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="comment">·*··Project:·····dune-grid-glue</span></div> |
94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="comment">·*··Description:·class·for· | 94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="comment">·*··Description:·base·class·for·all·grid·extractors</span></div> |
95 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="comment">·*</span></div> | 95 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="comment">·*</span></div> |
96 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="comment">·*/</span></div> | 96 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="comment">·*/</span></div> |
97 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#ifndef·DUNE_GRIDGLUE_EXTRACTORS_ | 97 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#ifndef·DUNE_GRIDGLUE_EXTRACTORS_EXTRACTOR_HH</span></div> |
98 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#define·DUNE_GRIDGLUE_EXTRACTORS_ | 98 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#define·DUNE_GRIDGLUE_EXTRACTORS_EXTRACTOR_HH</span></div> |
99 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div> | 99 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div> |
100 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#include·& | 100 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#include·<vector></span></div> |
101 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> | 101 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#include·<map></span></div> |
102 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#include·<ar | 102 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#include·<algorithm></span></div> |
103 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#include·<de | 103 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#include·<dune/common/exceptions.hh></span></div> |
104 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="preprocessor">#include·<functional></span></div> | ||
105 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div> | ||
106 | <div·class="line"><a·id="l0002 | 104 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="preprocessor">#include·<dune/common/fvector.hh></span></div> |
105 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·<dune/common/version.hh></span></div> | ||
106 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#include·<dune/grid/common/geometry.hh></span></div> | ||
107 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·<dune/common/ | 107 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·<dune/grid/common/grid.hh></span></div> |
108 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#include·< | 108 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#include·<dune/grid/common/mcmgmapper.hh></span></div> |
109 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">#include·<dune/geometry/multilineargeometry.hh></span></div> | ||
109 | <div·class="line"><a·id="l0003 | 110 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div> |
110 | <div·class="line"><a·id="l0003 | 111 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00103.html">Dune</a>·{</div> |
111 | <div·class="line"><a·id="l0003 | 112 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div> |
112 | <div·class="line"><a·id="l0003 | 113 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>··<span·class="keyword">namespace·</span>GridGlue·{</div> |
113 | <div·class="line"><a·id="l0003 | 114 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div> |
114 | <div·class="line"><a·id="l0004 | 115 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span><span·class="keyword">template</span><<span·class="keyword">typename</span>·GV,·<span·class="keywordtype">int</span>·cd></div> |
115 | <div·class="foldopen"·id="foldopen0004 | 116 | <div·class="foldopen"·id="foldopen00045"·data-start="{"·data-end="};"> |
117 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno"><a·class="line"·href="a01038.html">···45</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01038.html">Extractor</a></div> | ||
116 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno"><a·class="line"·href="a01034.html">···41</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01034.html">Codim1Extractor</a>·:·<span·class="keyword">public</span>·<a·class="code·hl_class"·href="a01038.html">Extractor</a><GV,1></div> | ||
117 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>{</div> | ||
118 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span><span·class="keyword">public</span>:</div> | ||
119 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div> | ||
120 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>··<span·class="comment">/*··E·X·P·O·R·T·E·D··T·Y·P·E·S···A·N·D···C·O·N·S·T·A·N·T·S··*/</span></div> | ||
121 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span> | 118 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>{</div> |
122 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>··<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01038.html">Extractor</a><GV,1><a·class="code·hl_variable"·href="a01038.html#a1f393e4fd59db3d9bb5fb2868a7422e2">::dimworld</a>;</div> | ||
123 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>··<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01038.html">Extractor</a><GV,1><a·class="code·hl_variable"·href="a01038.html#aeeab086dacf44e778ad8ae2c6de7d4f6">::dim</a>;</div> | ||
124 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>··<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01038.html">Extractor</a><GV,1><a·class="code·hl_variable"·href="a01038.html#a81546d6fc243df2658db228c02693832">::codim</a>;</div> | ||
125 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>··<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01038.html">Extractor</a><GV,1><a·class="code·hl_variable"·href="a01038.html#a7e2109e2becb86e122556eabaf2950bd">::cube_corners</a>;</div> | ||
126 | <div·class="line"><a·id="l000 | 119 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div> |
120 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span><span·class="keyword">public</span>:</div> | ||
121 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div> | ||
122 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno"><a·class="line"·href="a01038.html#a1f393e4fd59db3d9bb5fb2868a7422e2">···50</a></span>··<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<span·class="keyword">auto</span>·<a·class="code·hl_variable"·href="a01038.html#a1f393e4fd59db3d9bb5fb2868a7422e2">dimworld</a>·=·GV::dimensionworld;</div> | ||
123 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno"><a·class="line"·href="a01038.html#aeeab086dacf44e778ad8ae2c6de7d4f6">···51</a></span>··<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<span·class="keyword">auto</span>·<a·class="code·hl_variable"·href="a01038.html#aeeab086dacf44e778ad8ae2c6de7d4f6">dim</a>······=·GV::dimension;</div> | ||
124 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno"><a·class="line"·href="a01038.html#a81546d6fc243df2658db228c02693832">···52</a></span>··<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<span·class="keyword">auto</span>·<a·class="code·hl_variable"·href="a01038.html#a81546d6fc243df2658db228c02693832">codim</a>····=·cd;</div> | ||
127 | <div·class="line"><a·id="l0005 | 125 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>·</div> |
128 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno"><a·class="line"·href="a0103 | 126 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno"><a·class="line"·href="a01038.html#a7e2109e2becb86e122556eabaf2950bd">···54</a></span>··<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_variable"·href="a01038.html#a7e2109e2becb86e122556eabaf2950bd">cub[·...·truncated·by·diffoscope;·len:·208,·SHA:·f8f2df2b24b2f1472a1b237ea52f9b692e681dbc72f2334ed3dd551f57b202af·...·];</div> |
129 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div> | 127 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div> |
130 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno"><a·class="line"·href="a0103 | 128 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno"><a·class="line"·href="a01038.html#aa4b49d1779b84c8176e80bdf5170dc31">···56</a></span>··<span·class="keyword">typedef</span>·GV·<a·class="code·hl_typedef"·href="a01038.html#aa4b49d1779b84c8176e80bdf5170dc31">GridView</a>;</div> |
129 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno"><a·class="line"·href="a01038.html#a90fcf4ce8d5f00d5982d17577994220c">···57</a></span>··<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·GridView::Grid·<a·class="code·hl_typedef"·href="a01038.html#a90fcf4ce8d5f00d5982d17577994220c">Grid</a>;</div> | ||
131 | <div·class="line"><a·id="l0005 | 130 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·</div> |
132 | <div·class="line"><a·id="l0005 | 131 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno"><a·class="line"·href="a01038.html#aaac747289d7b6803093e437b724858be">···59</a></span>··<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·GV::Grid::ctype·<a·class="code·hl_typedef"·href="a01[·...·truncated·by·diffoscope;·len:·42,·SHA:·102b2c2fb9341872d46953a2aea8708528310f1cbb041ff6e3a420d08c0adeeb·...·]">ctype</a>;</div> |
133 | <div·class="line"><a·id="l000 | 132 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno"><a·class="line"·href="a01038.html#a8b5110ac52a4db2ffced63c8d9de018d">···60</a></span>··<span·class="keyword">typedef</span>·Dune::FieldVector<ctype,·dimworld>·······················<a·class="code·hl_typedef"[·...·truncated·by·diffoscope;·len:·52,·SHA:·a77c75bbf8c982377530d6dfca188e531688a56eb19dfa709b99992f9b420de0·...·]">Coords</a>;</div> |
133 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno"><a·class="line"·href="a01038.html#a130ad6265af6aee38ec221760dbdb7de">···61</a></span>··<span·class="keyword">typedef</span>·Dune::FieldVector<ctype,·dim>····························<a·class="code·hl_typedef"·href="a01038.html#a130ad6265af6aee38ec221760dbdb7de">LocalCoords</a>;</div> | ||
134 | <div·class="line"><a·id="l0006 | 134 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div> |
135 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno"><a·class="line"·href="a01034.html#af3714d9aad67945d7487ac5e5dd1e00f">···61</a></span>··<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·GV::Traits::template·Codim<dim>::Entity·<a·class="code·hl_typedef"·href="a01034.html#af3714d9aad67945d7487ac5e5dd1e00f">Vertex</a>;</div> | ||
136 | <div·class="line"><a·id="l0006 | 135 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno"><a·class="line"·href="a01038.html#a020348ef27a849cfa010feeec342e3ab">···63</a></span>··<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·GV::Traits::template·Codim<dim>::Entity·<a·cla[·...·truncated·by·diffoscope;·len:·80,·SHA:·534f44f27afccf2eec2388c7ce43007cf4a58dd04643e6e7892239e607b81795·...·]</a>;</div> |
137 | <div·class="line"><a·id="l0006 | 136 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno"><a·class="line"·href="a01038.html#ad2b182b19f4274782d00d2e04c7e9dc0">···64</a></span>··<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·Vertex::EntitySeed·<a·class="code·hl_typedef"·href="[·...·truncated·by·diffoscope;·len:·57,·SHA:·aa9b81d0531cba64a55638c15ae8f669b134ca89d6f448bb287adef914fd594d·...·]</a>;</div> |
138 | <div·class="line"><a·id="l0006 | 137 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>·</div> |
138 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno"><a·class="line"·href="a01038.html#a38e9d4e9023b159a785a2577f2367d94">···66</a></span>··<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·GV::Traits::template·Codim<0>::Entity·<a·class="code·hl_typedef"·href="a01038.html#a38e9d4e9023b159a785a2577f2367d94">Element</a>;</div> | ||
139 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno"><a·class="line"·href="a01038.html#acb587ad2487681bf5cac7cccacabf61d">···67</a></span>··<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·Element::EntitySeed·<a·class="code·hl_typedef"·href="a01038.html#acb587ad2487681bf5cac7cccacabf61d">ElementSeed</a>;</div> | ||
140 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div> | ||
141 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno"><a·class="line"·href="a01038.html#a582728b071c9c7d651245e3cff1f1f29">···69</a></span>··<span·class="keyword">typedef</span>·std::vector<unsigned·int>································<a·class="code·hl_typedef"·href="a01038.html#a582728b071c9c7d651245e3cff1f1f29">VertexVector</a>;</div> | ||
142 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno"><a·class="line"·href="a01038.html#a8f8794169b69de5b30d090bee2f92ea0">···70</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01038.html#a8f8794169b69de5b30d090bee2f92ea0">CellMapper</a>·=·MultipleCodimMultipleGeomTypeMapper<GridView>;</div> | ||
139 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>··<span·class="comment">//·import·typedefs·from·base·class</span></div> | ||
140 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno"><a·class="line"·href="a01034.html#abb182824f9cafdd0549044d717447e7d">···66</a></span>··<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·<a·class="code·hl_struct"·href="a01058.html">Extractor<GV,1>::SubEntityInfo</a>·<a·class="code·hl_typedef"·href="a01034.html#abb182824f9cafdd0549044d717447e7d">SubEntityInfo</a>;</div> | ||
141 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno"><a·class="line"·href="a01034.html#aa62f86d0e4c86a08ee220591b3b21a53">···67</a></span>··<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·<a·class="code·hl_struct"·href="a01054.html">Extractor<GV,1>::ElementInfo</a>·<a·class="code·hl_typedef"·href="a01034.html#aa62f86d0e4c86a08ee220591b3b21a53">ElementInfo</a>;</div> | ||
142 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno"><a·class="line"·href="a01034.html#a4add7a007722f6b9ec2dca9888bd58bc">···68</a></span>··<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·<a·class="code·hl_struct"·href="a01050.html">Extractor<GV,1>::VertexInfo</a>·<a·class="code·hl_typedef"·href="a01034.html#a4add7a007722f6b9ec2dca9888bd58bc">VertexInfo</a>;</div> | ||
143 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno"><a·class="line"·href="a01034.html#a7e9419de21c68a9dc241bbf66f109aeb">···69</a></span>··<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·<a·class="code·hl_struct"·href="a01046.html">Extractor<GV,1>::CoordinateInfo</a>·<a·class="code·hl_typedef"·href="a01034.html#a7e9419de21c68a9dc241bbf66f109aeb">CoordinateInfo</a>;</div> | ||
144 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno"><a·class="line"·href="a01034.html#ac2b33616e3d271501f41cc0456bff9de">···70</a></span>··<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a01038.html#a8fb91fe46e58c67eb51f65ce086d9013">Extractor<GV,1>::VertexInfoMap</a>·<a·class="code·hl_typedef"·href="a01034.html#ac2b33616e3d271501f41cc0456bff9de">VertexInfoMap</a>;</div> | ||
145 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·</div> | 143 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·</div> |
144 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>··<span·class="comment">//·typedef·typename·CellMapper::IndexType·······························IndexType;</span></div> | ||
145 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno"><a·class="line"·href="a01038.html#a2b9a14410a511802e1292adbdd69667e">···73</a></span>··<span·class="keyword">typedef</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_typedef"·href="a01038.html#a2b9a14410a511802e1292adbdd69667e">IndexType</a>;</div> | ||
146 | <div·class="line"><a·id="l0007 | 146 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span><span·class="keyword">public</span>:</div> |
147 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</div> | ||
148 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>··<span·class="comment">/*··C·O·N·S·T·R·U·C·T·O·R·S···A·N·D···D·E·S·T·R·U·C·T·O·R·S··*/</span></div> | ||
149 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>·</div> | 147 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>·</div> |
148 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>··<span·class="comment">//·transformations</span></div> | ||
149 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno"><a·class="line"·href="a01038.html#a27d48b30fd7a77e90fa2ddcd1fff5c1b">···77</a></span>··<span·class="keyword">typedef</span>·Dune::MultiLinearGeometry<<a·class="code·hl_typedef"·href="a01038.html#aaac747289d7b6803093e437b724858be">ctype</a>,·<a·class="code·hl_variable"·href="a01038.html#aeeab086dacf44e778ad8ae2c6de7d4f6">dim</a>-<a·class="code·hl_variable"·href="a01038.html#a81546d6fc243df2658db228c02693832">codim</a>,·<a·class="code·hl_variable"·href="a01038.html#a1f393e4fd59db3d9bb5fb2868a7422e2">dimworld</a>>·<a·class="code·hl_typedef"·href="a01038.html#a27d48b30fd7a77e90fa2ddcd1fff5c1b">Geometry</a>;</div> | ||
150 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno"><a·class="line"·href="a01038.html#af4bba8793d5faf9dacb277eaf6ea7862">···78</a></span>··<span·class="keyword">typedef</span>·Dune::MultiLinearGeometry<<a·class="code·hl_typedef"·href="a01038.html#aaac747289d7b6803093e437b724858be">ctype</a>,·<a·class="code·hl_variable"·href="a01038.html#aeeab086dacf44e778ad8ae2c6de7d4f6">dim</a>-<a·class="code·hl_variable"·href="a01038.html#a81546d6fc243df2658db228c02693832">codim</a>,·<a·class="code·hl_variable"·href="a01038.html#aeeab086dacf44e778ad8ae2c6de7d4f6">dim</a>>······<a·class="code·hl_typedef"·href="a01038.html#af4bba8793d5faf9dacb277eaf6ea7862">LocalGeometry</a>;</div> | ||
151 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>·</div> | ||
152 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span><span·class="keyword">protected</span>:</div> | ||
153 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span><span·class="comment">··/**************************·PRIVATE·SUBCLASSES·**********************/</span></div> | ||
154 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>·</div> | ||
150 | <div·class="foldopen"·id="foldopen0008 | 155 | <div·class="foldopen"·id="foldopen00087"·data-start="{"·data-end="};"> |
156 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno"><a·class="line"·href="a01042.html">···87</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01042.html">CornerInfo</a></div> | ||
151 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno"><a·class="line"·href="a01034.html#a345b8a99c88d21d4af2ff7ad2ec12657">···81</a></span>··<a·class="code·hl_function"·href="a01034.html#a345b8a99c88d21d4af2ff7ad2ec12657">Codim1Extractor</a>(<span·class="keyword">const</span>·GV&·gv,·<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a01034.html#af09169b2000c4e7ca6bb27a7ee31dfec">Predicate</a>&·predicate)</div> | ||
152 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>····:··<a·class="code·hl_class"·href="a01038.html">Extractor</a><GV,1>(gv)</div> | ||
153 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>··{</div> | ||
154 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>····std::cout·<<·<span·class="stringliteral">"This·is·Codim1Extractor·on·a·<"</span>·<<·<a·class="code·hl_variable"·href="a01038.html#aeeab086dacf44e778ad8ae2c6de7d4f6">dim</a></div> | ||
155 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>··············<<·<span·class="stringliteral">","</span>·<<·<a·class="code·hl_variable"·href="a01038.html#a1f393e4fd59db3d9bb5fb2868a7422e2">dimworld</a>·<<·<span·class="stringliteral">">·grid!"</span></div> | ||
156 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>··············<<·std::endl;</div> | ||
157 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>····update(predicate);</div> | ||
Max diff block lines reached; 110815/155346 bytes (71.33%) of diff not shown. |
Offset 1, 470 lines modified | Offset 1, 587 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 | extractor.hh | |
9 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 9 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: | 11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: |
12 | 3//·SPDX-FileCopyrightInfo:·Copyright·Â©·DUNE·Project·contributors,·see·file | 12 | 3//·SPDX-FileCopyrightInfo:·Copyright·Â©·DUNE·Project·contributors,·see·file |
13 | LICENSE.md·in·module·root | 13 | LICENSE.md·in·module·root |
14 | 4//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with- | 14 | 4//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with- |
15 | dune-grid-glue-exception | 15 | dune-grid-glue-exception |
16 | 5/* | 16 | 5/* |
17 | 6·*·Filename:· | 17 | 6·*·Filename:·extractor.hh |
18 | 7·*·Version:·1.0 | 18 | 7·*·Version:·1.0 |
19 | 8·*·Created·on:· | 19 | 8·*·Created·on:·Oct·05,·2009 |
20 | 9·*·Author:· | 20 | 9·*·Author:·Christian·Engwer |
21 | 10·*·--------------------------------- | 21 | 10·*·--------------------------------- |
22 | 11·*·Project:·dune-grid-glue | 22 | 11·*·Project:·dune-grid-glue |
23 | 12·*·Description:·class·for· | 23 | 12·*·Description:·base·class·for·all·grid·extractors |
24 | 13·* | 24 | 13·* |
25 | 14·*/ | 25 | 14·*/ |
26 | 20#ifndef·DUNE_GRIDGLUE_EXTRACTORS_ | 26 | 20#ifndef·DUNE_GRIDGLUE_EXTRACTORS_EXTRACTOR_HH |
27 | 21#define·DUNE_GRIDGLUE_EXTRACTORS_ | 27 | 21#define·DUNE_GRIDGLUE_EXTRACTORS_EXTRACTOR_HH |
28 | 22 | 28 | 22 |
29 | 23#include·<vector> | ||
29 | 23#include·"_\x8e_\x8x_\x8t_\x8r_\x8a_\x8c_\x8t_\x8o_\x8r_\x8._\x8h_\x8h" | ||
30 | 24 | ||
31 | 2 | 30 | 24#include·<map> |
31 | 25#include·<algorithm> | ||
32 | 26#include·<dune/common/exceptions.hh> | ||
32 | 26#include·<deque> | ||
33 | 27#include·<functional> | ||
34 | 28 | ||
35 | 2 | 33 | 27#include·<dune/common/fvector.hh> |
36 | 34 | 28#include·<dune/common/version.hh> | |
37 | 31#include·<_\x8d_\x8u_\x8n_\x8e_\x8/_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e_\x8/_\x8c_\x8o_\x8m_\x8m_\x8o_\x8n_\x8/_\x8c_\x8r_\x8o_\x8s_\x8s_\x8p_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8._\x8h_\x8h> | ||
38 | 35 | 29#include·<dune/grid/common/geometry.hh> | |
36 | 30#include·<dune/grid/common/grid.hh> | ||
37 | 31#include·<dune/grid/common/mcmgmapper.hh> | ||
38 | 32#include·<dune/geometry/multilineargeometry.hh> | ||
39 | 33 | ||
39 | 3 | 40 | 34namespace·_\x8D_\x8u_\x8n_\x8e·{ |
40 | 3 | 41 | 35 |
41 | 3 | 42 | 36·namespace·GridGlue·{ |
42 | 3 | 43 | 37 |
43 | 4 | 44 | 44template<typename·GV,·int·cd> |
44 | _\x84_\x81class·_\x8C_\x8o_\x8d_\x8i_\x8m_\x81_\x8E_\x8x_\x8t_\x8r_\x8a_\x8c_\x8t_\x8o_\x8r·:·public·_\x8E_\x8x_\x8t_\x8r_\x8a_\x8c_\x8t_\x8o_\x8r<GV,1> | ||
45 | 4 | 45 | _.4_.5class·_.E_.x_.t_.r_.a_.c_.t_.o_.r |
46 | 46{ | ||
47 | 47 | ||
46 | 4 | 48 | 48public: |
49 | 49 | ||
50 | _\x85_\x80·static·constexpr·auto·_\x8d_\x8i_\x8m_\x8w_\x8o_\x8r_\x8l_\x8d·=·GV::dimensionworld; | ||
51 | _\x85_\x81·static·constexpr·auto·_\x8d_\x8i_\x8m·=·GV::dimension; | ||
52 | _\x85_\x82·static·constexpr·auto·_\x8c_\x8o_\x8d_\x8i_\x8m·=·cd; | ||
53 | 53 | ||
47 | 44 | ||
48 | 45·/*·E·X·P·O·R·T·E·D·T·Y·P·E·S·A·N·D·C·O·N·S·T·A·N·T·S·*/ | ||
49 | 46 | ||
50 | 47·using·_\x8E_\x8x_\x8t_\x8r_\x8a_\x8c_\x8t_\x8o_\x8r<GV,1>_\x8:_\x8:_\x8d_\x8i_\x8m_\x8w_\x8o_\x8r_\x8l_\x8d; | ||
51 | 48·using·_\x8E_\x8x_\x8t_\x8r_\x8a_\x8c_\x8t_\x8o_\x8r<GV,1>_\x8:_\x8:_\x8d_\x8i_\x8m; | ||
52 | 49·using·_\x8E_\x8x_\x8t_\x8r_\x8a_\x8c_\x8t_\x8o_\x8r<GV,1>_\x8:_\x8:_\x8c_\x8o_\x8d_\x8i_\x8m; | ||
53 | 50·using·_\x8E_\x8x_\x8t_\x8r_\x8a_\x8c_\x8t_\x8o_\x8r<GV,1>_\x8:_\x8:_\x8c_\x8u_\x8b_\x8e_\x8__\x8c_\x8o_\x8r_\x8n_\x8e_\x8r_\x8s; | ||
54 | _\x85_\x81·typedef·typename·_\x8E_\x8x_\x8t_\x8r_\x8a_\x8c_\x8t_\x8o_\x8r_\x8<_\x8G_\x8V_\x8,_\x81_\x8>_\x8:_\x8:_\x8I_\x8n_\x8d_\x8e_\x8x_\x8T_\x8y_\x8p_\x8e·_\x8I_\x8n_\x8d_\x8e_\x8x_\x8T_\x8y_\x8p_\x8e; | ||
55 | 52 | ||
56 | _\x85_\x84·static·constexpr·int·_\x8 | 54 | _\x85_\x84·static·constexpr·int·_\x8c_.u_.b_.e_.__.c_.o_.r_.n_.e_.r_.s·=·1·<<·(_.d_.i_.m-_.c_.o_.d_.i_.m); |
57 | 55 | 55 | 55 |
58 | _\x85_\x86·typedef·GV·_\x8G_\x8r_\x8i_\x8d_\x8V_\x8i_\x8e_\x8w; | 56 | _\x85_\x86·typedef·GV·_\x8G_\x8r_\x8i_\x8d_\x8V_\x8i_\x8e_\x8w; |
59 | 57 | 57 | _.5_.7·typedef·typename·GridView::Grid·_.G_.r_.i_.d; |
58 | 58 | ||
60 | _\x85_\x8 | 59 | _\x85_\x89·typedef·typename·GV::Grid::ctype·_\x8c_\x8t_\x8y_\x8p_\x8e; |
61 | _\x8 | 60 | _\x86_.0·typedef·Dune::FieldVector<ctype,·dimworld>·_\x8C_\x8o_\x8o_\x8r_\x8d_\x8s; |
62 | 6 | 61 | _.6_.1·typedef·Dune::FieldVector<ctype,·dim>·_.L_.o_.c_.a_.l_.C_.o_.o_.r_.d_.s; |
62 | 62 | ||
63 | _\x86_\x8 | 63 | _\x86_\x83·typedef·typename·GV::Traits::template·Codim<dim>::Entity·_\x8V_\x8e_\x8r_\x8t_\x8e_\x8x; |
64 | _\x86_\x84·typedef·typename·Vertex::EntitySeed·_\x8V_\x8e_\x8r_\x8t_\x8e_\x8x_\x8S_\x8e_\x8e_\x8d; | ||
65 | 65 | ||
64 | _\x86_\x8 | 66 | _\x86_\x86·typedef·typename·GV::Traits::template·Codim<0>::Entity·_\x8E_\x8l_\x8e_\x8m_\x8e_\x8n_\x8t; |
67 | _\x86_\x87·typedef·typename·Element::EntitySeed·_\x8E_\x8l_\x8e_\x8m_\x8e_\x8n_\x8t_\x8S_\x8e_\x8e_\x8d; | ||
68 | 68 | ||
69 | _\x86_\x89·typedef·std::vector<unsigned·int>·_\x8V_\x8e_\x8r_\x8t_\x8e_\x8x_\x8V_\x8e_\x8c_\x8t_\x8o_\x8r; | ||
70 | _\x87_\x80·using·_\x8C_\x8e_\x8l_\x8l_\x8M_\x8a_\x8p_\x8p_\x8e_\x8r·=·MultipleCodimMultipleGeomTypeMapper<GridView>; | ||
65 | _\x86_\x83·typedef·std::function<bool(const·_\x8E_\x8l_\x8e_\x8m_\x8e_\x8n_\x8t&,·unsigned·int·subentity)> | ||
66 | _\x8P_\x8r_\x8e_\x8d_\x8i_\x8c_\x8a_\x8t_\x8e; | ||
67 | 64 | ||
68 | 65·//·import·typedefs·from·base·class | ||
69 | _\x86_\x86·typedef·typename·_\x8E_\x8x_\x8t_\x8r_\x8a_\x8c_\x8t_\x8o_\x8r_\x8<_\x8G_\x8V_\x8,_\x81_\x8>_\x8:_\x8:_\x8S_\x8u_\x8b_\x8E_\x8n_\x8t_\x8i_\x8t_\x8y_\x8I_\x8n_\x8f_\x8o·_\x8S_\x8u_\x8b_\x8E_\x8n_\x8t_\x8i_\x8t_\x8y_\x8I_\x8n_\x8f_\x8o; | ||
70 | _\x86_\x87·typedef·typename·_\x8E_\x8x_\x8t_\x8r_\x8a_\x8c_\x8t_\x8o_\x8r_\x8<_\x8G_\x8V_\x8,_\x81_\x8>_\x8:_\x8:_\x8E_\x8l_\x8e_\x8m_\x8e_\x8n_\x8t_\x8I_\x8n_\x8f_\x8o·_\x8E_\x8l_\x8e_\x8m_\x8e_\x8n_\x8t_\x8I_\x8n_\x8f_\x8o; | ||
71 | _\x86_\x88·typedef·typename·_\x8E_\x8x_\x8t_\x8r_\x8a_\x8c_\x8t_\x8o_\x8r_\x8<_\x8G_\x8V_\x8,_\x81_\x8>_\x8:_\x8:_\x8V_\x8e_\x8r_\x8t_\x8e_\x8x_\x8I_\x8n_\x8f_\x8o·_\x8V_\x8e_\x8r_\x8t_\x8e_\x8x_\x8I_\x8n_\x8f_\x8o; | ||
72 | _\x86_\x89·typedef·typename·_\x8E_\x8x_\x8t_\x8r_\x8a_\x8c_\x8t_\x8o_\x8r_\x8<_\x8G_\x8V_\x8,_\x81_\x8>_\x8:_\x8:_\x8C_\x8o_\x8o_\x8r_\x8d_\x8i_\x8n_\x8a_\x8t_\x8e_\x8I_\x8n_\x8f_\x8o·_\x8C_\x8o_\x8o_\x8r_\x8d_\x8i_\x8n_\x8a_\x8t_\x8e_\x8I_\x8n_\x8f_\x8o; | ||
73 | _\x87_\x80·typedef·typename·_\x8E_\x8x_\x8t_\x8r_\x8a_\x8c_\x8t_\x8o_\x8r_\x8<_\x8G_\x8V_\x8,_\x81_\x8>_\x8:_\x8:_\x8V_\x8e_\x8r_\x8t_\x8e_\x8x_\x8I_\x8n_\x8f_\x8o_\x8M_\x8a_\x8p·_\x8V_\x8e_\x8r_\x8t_\x8e_\x8x_\x8I_\x8n_\x8f_\x8o_\x8M_\x8a_\x8p; | ||
74 | 71 | 71 | 71 |
72 | 72·//·typedef·typename·CellMapper::IndexType·IndexType; | ||
73 | _\x87_\x83·typedef·int·_\x8I_\x8n_\x8d_\x8e_\x8x_\x8T_\x8y_\x8p_\x8e; | ||
75 | 7 | 74 | 74public: |
76 | 73 | ||
77 | 74·/*·C·O·N·S·T·R·U·C·T·O·R·S·A·N·D·D·E·S·T·R·U·C·T·O·R·S·*/ | ||
78 | 75 | 75 | 75 |
79 | _\x88_\x81·_\x8C_\x8o_\x8d_\x8i_\x8m_\x81_\x8E_\x8x_\x8t_\x8r_\x8a_\x8c_\x8t_\x8o_\x8r(const·GV&·gv,·const·_\x8P_\x8r_\x8e_\x8d_\x8i_\x8c_\x8a_\x8t_\x8e&·predicate) | ||
80 | 76 | 76·//·transformations | |
77 | _\x87_\x87·typedef·Dune::MultiLinearGeometry<_\x8c_\x8t_\x8y_\x8p_\x8e,·_\x8d_\x8i_\x8m-_\x8c_\x8o_\x8d_\x8i_\x8m,·_\x8d_\x8i_\x8m_\x8w_\x8o_\x8r_\x8l_\x8d>·_\x8G_\x8e_\x8o_\x8m_\x8e_\x8t_\x8r_\x8y; | ||
78 | _\x87_\x88·typedef·Dune::MultiLinearGeometry<_\x8c_\x8t_\x8y_\x8p_\x8e,·_\x8d_\x8i_\x8m-_\x8c_\x8o_\x8d_\x8i_\x8m,·_\x8d_\x8i_\x8m>·_\x8L_\x8o_\x8c_\x8a_\x8l_\x8G_\x8e_\x8o_\x8m_\x8e_\x8t_\x8r_\x8y; | ||
79 | 79 | ||
80 | 80protected: | ||
81 | 81·/**************************·PRIVATE·SUBCLASSES·**********************/ | ||
82 | 82 | ||
83 | _\x88_\x87·struct·_\x8C_\x8o_\x8r_\x8n_\x8e_\x8r_\x8I_\x8n_\x8f_\x8o | ||
81 | 8 | 84 | 88·{ |
82 | 84·std::cout·<<·"This·is·Codim1Extractor·on·a·<"·<<·_\x8d_\x8i_\x8m | ||
83 | 85·<<·","·<<·_\x8d_\x8i_\x8m_\x8w_\x8o_\x8r_\x8l_\x8d·<<·">·grid!" | ||
84 | 86·<<·std::endl; | ||
85 | 87·update(predicate); | ||
86 | 88·} | ||
87 | 89 | ||
88 | 90private: | ||
89 | 91 | ||
90 | 105·void·update(const·_\x8P_\x8r_\x8e_\x8d_\x8i_\x8c_\x8a_\x8t_\x8e&·predicate); | ||
91 | 85 | _.8_.9·unsigned·int·_.i_.d_.x·:·28; | |
86 | _\x89_\x80·unsigned·int·_\x8n_\x8u_\x8m·:·4; | ||
87 | 91·}; | ||
88 | 92 | ||
89 | _\x89_\x83·struct·_\x8C_\x8o_\x8o_\x8r_\x8d_\x8i_\x8n_\x8a_\x8t_\x8e_\x8I_\x8n_\x8f_\x8o | ||
90 | 94·{ | ||
Max diff block lines reached; 38534/47165 bytes (81.70%) of diff not shown. |
Offset 77, 15 lines modified | Offset 77, 15 lines modified | ||
77 | <a·href="#namespaces">Namespaces</a>·| | 77 | <a·href="#namespaces">Namespaces</a>·| |
78 | <a·href="#define-members">Macros</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">standardmerge.cc·File·Reference</div></div> | 80 | ··<div·class="headertitle"><div·class="title">standardmerge.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·/> | 83 | <div·class="textblock"><code>#include·"config.h"</code><br·/> |
84 | <code>#include·"<a·class="el"·href="a000 | 84 | <code>#include·"<a·class="el"·href="a00089_source.html">standardmerge.hh</a>"</code><br·/> |
85 | </div><table·class="memberdecls"> | 85 | </div><table·class="memberdecls"> |
86 | <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> |
87 | Namespaces</h2></td></tr> | 87 | 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> | 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="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 89 | <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> | 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="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 91 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <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:·con | 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 72, 46 lines modified | Offset 72, 54 lines modified | ||
72 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_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">con | 79 | ··<div·class="headertitle"><div·class="title">contactmerge.hh·File·Reference</div></div> |
80 | </div><!--header--> | 80 | </div><!--header--> |
81 | <div·class="contents"> | 81 | <div·class="contents"> |
82 | <p> | 82 | <p>Merge·two·grid·boundary·surfaces·that·may·be·a·positive·distance·apart.·· |
83 | <a·href="#details">More...</a></p> | 83 | <a·href="#details">More...</a></p> |
84 | <div·class="textblock"><code>#include·<io | 84 | <div·class="textblock"><code>#include·<iostream></code><br·/> |
85 | <code>#include·<fstream></code><br·/> | ||
86 | <code>#include·<iomanip></code><br·/> | ||
85 | <code>#include·<vector></code><br·/> | 87 | <code>#include·<vector></code><br·/> |
86 | <code>#include·<algorithm></code><br·/> | 88 | <code>#include·<algorithm></code><br·/> |
87 | <code>#include·< | 89 | <code>#include·<limits></code><br·/> |
90 | <code>#include·<memory></code><br·/> | ||
88 | <code>#include·< | 91 | <code>#include·<functional></code><br·/> |
89 | <code>#include·<dune/common/fvector.hh></code><br·/> | 92 | <code>#include·<dune/common/fvector.hh></code><br·/> |
90 | <code>#include·<dune/ | 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·/> | ||
91 | <code>#include·<<a·class="el"·href="a000 | 97 | <code>#include·<<a·class="el"·href="a00089_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·/> | ||
92 | </div> | 100 | </div> |
93 | <p><a·href="a00068_source.html">Go·to·the·source·code·of·this·file.</a></p> | 101 | <p><a·href="a00068_source.html">Go·to·the·source·code·of·this·file.</a></p> |
94 | <table·class="memberdecls"> | 102 | <table·class="memberdecls"> |
95 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 103 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
96 | Classes</h2></td></tr> | 104 | 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="a0107 | 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> |
98 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight"> | 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> |
99 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 107 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
100 | </table><table·class="memberdecls"> | 108 | </table><table·class="memberdecls"> |
101 | <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> |
102 | Namespaces</h2></td></tr> | 110 | 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> | 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> |
104 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 112 | <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> | 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> |
106 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 114 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
107 | </table> | 115 | </table> |
108 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> | 116 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> |
109 | <div·class="textblock"><p> | 117 | <div·class="textblock"><p>Merge·two·grid·boundary·surfaces·that·may·be·a·positive·distance·apart.·</p> |
110 | </div></div><!--·contents·--> | 118 | </div></div><!--·contents·--> |
111 | <!--·start·footer·part·--> | 119 | <!--·start·footer·part·--> |
112 | <hr·class="footer"/><address·class="footer"><small> | 120 | <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 | 121 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
114 | </small></address> | 122 | </small></address> |
115 | </body> | 123 | </body> |
116 | </html> | 124 | </html> |
Offset 2, 31 lines modified | Offset 2, 40 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 | con | 9 | contactmerge.hh·File·Reference |
10 | 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> | ||
11 | #include·<iomanip> | 13 | #include·<iomanip> |
12 | #include·<vector> | 14 | #include·<vector> |
13 | #include·<algorithm> | 15 | #include·<algorithm> |
14 | #include·< | 16 | #include·<limits> |
15 | #include·< | 17 | #include·<memory> |
18 | #include·<functional> | ||
16 | #include·<dune/common/fvector.hh> | 19 | #include·<dune/common/fvector.hh> |
17 | #include·<dune/ | 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> | ||
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> | 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" | ||
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. | 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. |
20 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s | 28 | 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_\x8 | 29 | class· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8C_\x8o_\x8n_\x8t_.a_.c_.t_.M_.e_.r_.g_.e_.<_\x8·_\x8d_\x8i_\x8m_\x8w_\x8o_\x8r_\x8l_\x8d_\x8,_\x8·_\x8T_\x8·_\x8> |
22 | ······· | 30 | ·······Merge·two·codimension-1·surfaces·that·may·be·a·positive·distance·apart. |
31 | ········_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
23 | 32 | ||
24 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s | 33 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s |
25 | namespace· ·_\x8D_\x8u_\x8n_\x8e | 34 | namespace· ·_\x8D_\x8u_\x8n_\x8e |
26 | 35 | ||
27 | 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 |
28 | 37 | ||
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* | 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 | 39 | Merge·two·grid·boundary·surfaces·that·may·be·a·positive·distance·apart. | |
31 | =============================================================================== | 40 | =============================================================================== |
32 | ·····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:·con | 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, 220 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">con | 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="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> | ||
97 | <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_CONTACTMERGE_HH</span></div> |
98 | <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_CONTACTMERGE_HH</span></div> |
99 | <div·class="line"><a·id="l000 | 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> | ||
100 | <div·class="line"><a·id="l000 | 93 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·<iomanip></span></div> |
101 | <div·class="line"><a·id="l000 | 94 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·<vector></span></div> |
102 | <div·class="line"><a·id="l000 | 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> | ||
103 | <div·class="line"><a·id="l0002 | 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> | ||
104 | <div·class="line"><a·id="l0002 | 99 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div> |
105 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#include·<dune/common/fmatrix.hh></span></div> | ||
106 | <div·class="line"><a·id="l000 | 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> | ||
107 | <div·class="line"><a·id="l000 | 104 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> |
108 | <div·class="line"><a·id="l000 | 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> |
109 | <div·class="line"><a·id="l000 | 106 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div> |
110 | <div·class="line"><a·id="l0003 | 107 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·<<a·class="code"·href="a00089.html">dune/grid-glue/merging/standardmerge.hh</a>></span></div> |
108 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#include·<<a·class="code"·href="a00002.html">dune/grid-glue/gridglue.hh</a>></span></div> | ||
109 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div> | ||
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> | ||
111 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div> | 112 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div> |
112 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00103.html">Dune</a>·{</div> | ||
113 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div> | ||
114 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>··<span·class="keyword">namespace·</span>GridGlue·{</div> | ||
115 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div> | ||
116 | <div·class="line"><a·id="l0004 | 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> |
117 | <div·class="foldopen"·id="foldopen0004 | 114 | <div·class="foldopen"·id="foldopen00042"·data-start="{"·data-end="};"> |
118 | <div·class="line"><a·id="l0004 | 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> |
119 | <div·class="line"><a·id="l0004 | 116 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>:·<span·class="keyword">public</span>·<a·class="code·hl_class"·href="a01162.html">StandardMerge</a><T,dimworld-1,dimworld-1,dimworld></div> |
117 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>{</div> | ||
118 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>····<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<span·class="keywordtype">int</span>·dim·=·dimworld-1;</div> | ||
119 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div> | ||
120 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>····<span·class="keyword">static_assert</span>(·dim==1·||·dim==2,</div> | ||
121 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>············<span·class="stringliteral">"ContactMerge·yet·only·handles·the·cases·dim==1·and·dim==2!"</span>);</div> | ||
120 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span> | 122 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div> |
121 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</div> | 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> |
122 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span><span·class="keyword">public</span>:</div> | 124 | <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> | 125 | <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> | 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> |
125 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div> | 127 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div> |
126 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno"><a·class="line"·href="a0107 | 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> |
127 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div> | 129 | <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="a0107 | 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> |
129 | <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> |
130 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno"><a·class="line"·href="a0107 | 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> |
131 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div> | 133 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div> |
132 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span><span·class="keyword">private</span>:</div> | ||
133 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>·</div> | ||
134 | <div·class="line"><a·id="l0006 | 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#a64b00dbd[·...·truncated·by·diffoscope;·len:·313,·SHA:·3371fd2c5e59300ef4c3139fed204d42a884fad67ab78d953ed56dfa41fbf446·...·]</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> | ||
135 | <div·class="line"><a·id="l000 | 142 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>····{}</div> |
136 | < | 143 | </div> |
137 | <div·class="line"><a·id="l000 | 144 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>·</div> |
138 | <div·class=" | 145 | <div·class="foldopen"·id="foldopen00086"·data-start="{"·data-end="}"> |
146 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno"><a·class="line"·href="a01078.html#ade2e75dce9c45a21d4c6f99e33f7c7b4">···86</a></span>····<a·class="code·hl_function"·href="a01078.html#ade2e75dce9c45a21d4c6f99e33f7c7b4">ContactMerge</a>(<span·class="keyword">const</span>·T·allowedOverlap,·<a·class="code·hl_enumeration"·href="a01078.html#a64b00dbd05b81c313858487b68d90601">ProjectionType</a>·type)</div> | ||
147 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>········:·overlap_(allowedOverlap),</div> | ||
139 | <div·class="line"><a·id="l000 | 148 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>··········type_(type)</div> |
140 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>··<span·class="keywordtype">void</span>·computeIntersections(<span·class="keyword">const</span>·Dune::GeometryType&·grid1ElementType,</div> | ||
141 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>···································<span·class="keyword">const</span>·std::vector<Dune::FieldVector<T,dimworld>·>&·grid1ElementCorners,</div> | ||
142 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>···································std::bitset<(1<<dim)>&·neighborIntersects1,</div> | ||
143 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>···································<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·grid1Index,</div> | ||
144 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>···································<span·class="keyword">const</span>·Dune::GeometryType&·grid2ElementType,</div> | ||
145 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>···································<span·class="keyword">const</span>·std::vector<Dune::FieldVector<T,dimworld>·>&·grid2ElementCorners,</div> | ||
146 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>···································std::bitset<(1<<dim)>&·neighborIntersects2,</div> | ||
147 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>···································<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·grid2Index,</div> | ||
148 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>···································std::vector<SimplicialIntersection>&·intersections);</div> | ||
149 | <div·class="line"><a·id="l0008 | 149 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>····{}</div> |
150 | </div> | ||
150 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span><span·class="keyword">public</span>:</div> | ||
151 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>·</div> | ||
152 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno"><a·class="line"·href="a01074.html#a781458efe934eb027a344d88e5977cc9">···89</a></span>··<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·T·<a·class="code·hl_variable"·href="a01074.html#a781458efe934eb027a344d88e5977cc9">default_tolerance</a>·=·1e-4;</div> | ||
153 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>·</div> | 151 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>·</div> |
152 | <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>····<span·class="keyword">inline</span></div> | ||
154 | <div·class="foldopen"·id="foldopen00 | 153 | <div·class="foldopen"·id="foldopen00100"·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> | ||
Max diff block lines reached; 37343/75701 bytes (49.33%) of diff not shown. |
Offset 1, 253 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 | con | 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·*·Filename:·conformingmerge.hh | ||
18 | 7·*·Version:·1.0 | ||
19 | 8·*·Created·on:·Sep·14,·2009 | ||
20 | 9·*·Author:·Oliver·Sander | ||
21 | 10·*·--------------------------------- | ||
22 | 11·*·Project:·dune-grid-glue | ||
23 | 12·*·Description:·implementation·of·the·Merger·concept·for·conforming | ||
24 | interfaces | ||
25 | 13·* | ||
26 | 14·*/ | ||
27 | 16 | 10#ifndef·DUNE_GRIDGLUE_MERGING_CONTACTMERGE_HH | |
28 | 17 | 11#define·DUNE_GRIDGLUE_MERGING_CONTACTMERGE_HH | |
29 | 18 | 12 | |
19 | 13 | ||
20 | 14#include·<iostream> | ||
21 | 15#include·<fstream> | ||
30 | 22 | 16#include·<iomanip> | |
31 | 23 | 17#include·<vector> | |
32 | 24 | 18#include·<algorithm> | |
33 | 27#include·<bitset> | ||
34 | 28 | ||
35 | 25 | 19#include·<limits> | |
26 | 20#include·<memory> | ||
27 | 21#include·<functional> | ||
28 | 22 | ||
36 | 29 | 23#include·<dune/common/fvector.hh> | |
37 | 31 | ||
38 | 32#include·<dune/geometry/referenceelements.hh> | ||
39 | 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 | ||
40 | 3 | 36 | 30#include·<_\x8d_\x8u_\x8n_\x8e_\x8/_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e_\x8/_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g_\x8/_\x8s_\x8t_\x8a_\x8n_\x8d_\x8a_\x8r_\x8d_\x8m_\x8e_\x8r_\x8g_\x8e_\x8._\x8h_\x8h> |
37 | 31#include·<_\x8d_\x8u_\x8n_\x8e_\x8/_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e_\x8/_\x8g_\x8r_\x8i_\x8d_\x8g_\x8l_\x8u_\x8e_\x8._\x8h_\x8h> | ||
38 | 32 | ||
39 | 33namespace·_\x8D_\x8u_\x8n_\x8e·{ | ||
40 | 34namespace·GridGlue·{ | ||
41 | 35 | 41 | 35 |
42 | 36namespace·_\x8D_\x8u_\x8n_\x8e·{ | ||
43 | 37 | ||
44 | 38·namespace·GridGlue·{ | ||
45 | 39 | ||
46 | 4 | 42 | 41template<int·dimworld,·typename·T·=·double> |
47 | _\x84_\x8 | 43 | _\x84_\x82class·_.C_.o_.n_.t_.a_.c_.t_\x8M_\x8e_\x8r_\x8g_\x8e |
48 | 4 | 44 | 43:·public·_.S_.t_.a_.n_.d_.a_.r_.d_.M_.e_.r_.g_.e<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!"); | ||
49 | 49 | 50 | 49 |
50 | 50 | 51 | 50·typedef·_.S_.t_.a_.n_.d_.a_.r_.d_.M_.e_.r_.g_.e_.<_.T_.,_.d_.i_.m_.,_.d_.i_.m_.,_.d_.i_.m_.w_.o_.r_.l_.d_.>·_.B_.a_.s_.e; |
51 | 51public: | 52 | 51public: |
52 | 52 | 53 | 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 | 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 | 54 |
55 | _\x85_\x86·typedef·T·_\x8c_\x8t_\x8y_\x8p_\x8e; | 56 | _\x85_\x86·typedef·T·_\x8c_\x8t_\x8y_\x8p_\x8e; |
56 | 57 | 57 | 57 |
57 | _\x85_\x89·typedef·Dune::FieldVector<T,·dimworld>·_\x8W_\x8o_\x8r_\x8l_\x8d_\x8C_\x8o_\x8o_\x8r_\x8d_\x8s; | 58 | _\x85_\x89·typedef·Dune::FieldVector<T,·dimworld>·_\x8W_\x8o_\x8r_\x8l_\x8d_\x8C_\x8o_\x8o_\x8r_\x8d_\x8s; |
58 | 60 | 59 | 60 |
59 | _\x86_\x82·typedef·Dune::FieldVector<T,·dim>·_\x8L_\x8o_\x8c_\x8a_\x8l_\x8C_\x8o_\x8o_\x8r_\x8d_\x8s; | 60 | _\x86_\x82·typedef·Dune::FieldVector<T,·dim>·_\x8L_\x8o_\x8c_\x8a_\x8l_\x8C_\x8o_\x8o_\x8r_\x8d_\x8s; |
60 | 63 | 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·{} | ||
61 | 64private: | ||
62 | 65 | ||
63 | 66·/*·M·E·M·B·E·R·V·A·R·I·A·B·L·E·S·*/ | ||
64 | 67 | ||
65 | 69·T·tolerance_; | ||
66 | 70 | ||
67 | 71·typedef·typename·_\x8S_\x8t_\x8a_\x8n_\x8d_\x8a_\x8r_\x8d_\x8M_\x8e_\x8r_\x8g_\x8e_\x8<_\x8T_\x8,_\x8d_\x8i_\x8m_\x8,_\x8d_\x8i_\x8m_\x8,_\x8d_\x8i_\x8m_\x8w_\x8o_\x8r_\x8l_\x8d_\x8>_\x8:_\x8:_\x8S_\x8i_\x8m_\x8p_\x8l_\x8i_\x8c_\x8i_\x8a_\x8l_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n | ||
68 | SimplicialIntersection; | ||
69 | 72 | ||
70 | 77·void·computeIntersections(const·Dune::GeometryType&·grid1ElementType, | ||
71 | 78·const·std::vector<Dune::FieldVector<T,dimworld>·>&·grid1ElementCorners, | ||
72 | 79·std::bitset<(1<<dim)>&·neighborIntersects1, | ||
73 | 80·unsigned·int·grid1Index, | ||
74 | 81·const·Dune::GeometryType&·grid2ElementType, | ||
75 | 82·const·std::vector<Dune::FieldVector<T,dimworld>·>&·grid2ElementCorners, | ||
76 | 83·std::bitset<(1<<dim)>&·neighborIntersects2, | ||
77 | 84·unsigned·int·grid2Index, | ||
78 | 85·std::vector<SimplicialIntersection>&·intersections); | ||
79 | 86 | ||
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 | 75 | 90 |
76 | 99·inline | ||
77 | _\x81_\x80_\x80·void·_\x8s_\x8e_\x8t_\x8S_\x8u_\x8r_\x8f_\x8a_\x8c_\x8e_\x8D_\x8i_\x8r_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8s(std::function<_\x8W_\x8o_\x8r_\x8l_\x8d_\x8C_\x8o_\x8o_\x8r_\x8d_\x8s(_\x8W_\x8o_\x8r_\x8l_\x8d_\x8C_\x8o_\x8o_\x8r_\x8d_\x8s)> | ||
78 | domainDirections, | ||
79 | 101·std::function<_\x8W_\x8o_\x8r_\x8l_\x8d_\x8C_\x8o_\x8o_\x8r_\x8d_\x8s(_\x8W_\x8o_\x8r_\x8l_\x8d_\x8C_\x8o_\x8o_\x8r_\x8d_\x8s)>·targetDirections) | ||
80 | 102·{ | ||
81 | 103·domainDirections_·=·domainDirections; | ||
82 | 104·targetDirections_·=·targetDirections; | ||
83 | 105·this->_\x8v_\x8a_\x8l_\x8i_\x8d·=·false; | ||
84 | 106·} | ||
85 | 107 | ||
86 | _\x81_\x80_\x89·void·_\x8s_\x8e_\x8t_\x8O_\x8v_\x8e_\x8r_\x8l_\x8a_\x8p(T·overlap) | ||
Max diff block lines reached; 15425/23674 bytes (65.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:·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, 45 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"> | 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·< | 83 | <div·class="textblock"><code>#include·<dune/common/fvector.hh></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·/> | 84 | <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="a00095_source.html">dune/grid-glue/merging/standardmerge.hh</a>></code><br·/> | ||
92 | <code>#include·& | 85 | <code>#include·"<a·class="el"·href="a00077_source.html">simplexintersection.cc</a>"</code><br·/> |
93 | <code>#include·"<a·class="el"·href="a000 | 86 | <code>#include·"<a·class="el"·href="a00098_source.html">computeintersection.cc</a>"</code><br·/> |
94 | </div> | 87 | </div> |
95 | <p><a·href="a00071_source.html">Go·to·the·source·code·of·this·file.</a></p> | 88 | <p><a·href="a00071_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> |
99 | <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> |
100 | <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> | ||
101 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 96 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
102 | </table><table·class="memberdecls"> | 97 | </table><table·class="memberdecls"> |
103 | <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> |
104 | Namespaces</h2></td></tr> | 99 | 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> | 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> |
106 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 101 | <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> | 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> |
108 | <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> | ||
109 | </table> | 110 | </table> |
110 | </div><!--·contents·--> | 111 | </div><!--·contents·--> |
111 | <!--·start·footer·part·--> | 112 | <!--·start·footer·part·--> |
112 | <hr·class="footer"/><address·class="footer"><small> | 113 | <hr·class="footer"/><address·class="footer"><small> |
113 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 114 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
114 | </small></address> | 115 | </small></address> |
115 | </body> | 116 | </body> |
Offset 1, 34 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 | 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> | 10 | #include·<dune/common/fvector.hh> |
16 | #include·<dune/geometry/referenceelements.hh> | ||
17 | #include·<dune/geometry/multilineargeometry.hh> | ||
18 | #include·<dune/ | 11 | #include·<dune/common/fmatrix.hh> |
12 | #include·"_\x8s_\x8i_\x8m_\x8p_\x8l_\x8e_\x8x_\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8._\x8c_\x8c" | ||
13 | #include·"_\x8c_\x8o_\x8m_\x8p_\x8u_\x8t_\x8e_\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8._\x8c_\x8c" | ||
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. | 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. |
23 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s | 15 | 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 | 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 | ||
26 | ········dimension | 20 | ········dimension.·_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. |
27 | 21 | ||
28 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s | 22 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s |
29 | namespace· ·_\x8D_\x8u_\x8n_\x8e | 23 | namespace· ·_\x8D_\x8u_\x8n_\x8e |
30 | 24 | ||
31 | 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 |
32 | 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 | |||
33 | =============================================================================== | 31 | =============================================================================== |
34 | ·····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:·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, 102 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"> | 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="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">//·SPDX-FileCopyrightInfo:·Copyright·©·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</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> | ||
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·<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="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> |
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="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> |
100 | <div·class="line"><a·id="l000 | 90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</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="a00095.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="a00086.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="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> |
107 | <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> |
108 | <div·class="line"><a·id="l000 | 93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div> |
109 | <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">typename</span>·T·=·<span·class="keywordtype">double</span>></div> |
110 | <div·class="foldopen"·id="foldopen000 | 95 | <div·class="foldopen"·id="foldopen00013"·data-start="{"·data-end="};"> |
111 | <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> |
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="l00037"·name="l00037"></a><span·class="lineno">···37</span>{</div> | ||
114 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div> | ||
115 | <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> | ||
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="l000 | 102 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> |
125 | <div·class="foldopen"·id="foldopen00052"·data-start="{"·data-end="}"> | ||
126 | <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> | ||
127 | <div·class="line"><a·id="l000 | 114 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>};</div> |
128 | </div> | 115 | </div> |
116 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div> | ||
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> | ||
125 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span><span·class="keyword">public</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> | ||
129 | <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> | ||
133 | <div·class="foldopen"·id="foldopen00075"·data-start="{"·data-end="}"> | ||
134 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno"><a·class="line"·href="a01070.html#a2553ca6100ff95dad59ca1355a080250">···75</a></span>····<span·class="keyword">static</span>·<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01070.html#a2553ca6100ff95dad59ca1355a080250">orderPoints</a>(<span·class="keyword">const</span>·V&·centroid,</div> | ||
135 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>····························<span·class="keyword">const</span>·std::vector<std::vector<int>·>&·SX,</div> | ||
136 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>····························<span·class="keyword">const</span>·std::vector<std::vector<int>·>&·SY,</div> | ||
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="l0007 | 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="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="l0007 | 138 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>····························std::vector<std::vector<int>·>&·H)</div> |
142 | <div·class="line"><a·id="l000 | 139 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>····{</div> |
143 | <div·class="line"><a·id="l000 | 140 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>········<span·class="keywordflow">if</span>·(isDim·>·1)</div> |
144 | <div·class="line"><a·id="l0008 | 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> | ||
145 | <div·class="line"><a·id="l0008 | 143 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>····}</div> |
146 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>};</div> | ||
147 | </div> | 144 | </div> |
Max diff block lines reached; 8802/50575 bytes (17.40%) of diff not shown. |
Offset 1, 127 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 | 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 |
14 | 3#ifndef·DUNE_GRIDGLUE_MERGING_COMPUTEINTERSECTION_HH | ||
15 | 4#define·DUNE_GRIDGLUE_MERGING_COMPUTEINTERSECTION_HH | ||
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 | 17 | 6#include·<dune/common/fvector.hh> | |
26 | 15 | ||
27 | 16#include·<dune/geometry/referenceelements.hh> | ||
28 | 17#include·<dune/geometry/multilineargeometry.hh> | ||
29 | 18 | ||
30 | 18 | 7#include·<dune/common/fmatrix.hh> | |
19 | 8 | ||
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 | 20 | 9namespace·_\x8D_\x8u_\x8n_\x8e·{ | |
36 | 21 | 10namespace·GridGlue·{ | |
37 | 22 | 11 | |
38 | 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·{ | ||
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 | 25 | 14public: | |
26 | _\x81_\x85·typedef·FieldVector<T,·dimWorld>·_\x8V_\x8e_\x8c_\x8t_\x8o_\x8r; | ||
27 | _\x81_\x86·static·const·int·_\x8g_\x8r_\x8i_\x8d_\x81_\x8D_\x8i_\x8m_\x8e_\x8n_\x8s_\x8i_\x8o_\x8n·=·dim1; | ||
28 | _\x81_\x87·static·const·int·_\x8g_\x8r_\x8i_\x8d_\x82_\x8D_\x8i_\x8m_\x8e_\x8n_\x8s_\x8i_\x8o_\x8n·=·dim2; | ||
29 | _\x81_\x88·static·const·int·_\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8D_\x8i_\x8m_\x8e_\x8n_\x8s_\x8i_\x8o_\x8n·=·(dim1·<·dim2)?(dim1):(dim2); | ||
30 | 19 | ||
31 | _\x82_\x80·static·bool·_\x8c_\x8o_\x8m_\x8p_\x8u_\x8t_\x8e_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8P_\x8o_\x8i_\x8n_\x8t_\x8s(const·std::vector<Vector>·X, | ||
32 | 21·const·std::vector<Vector>·Y, | ||
33 | 22·std::vector<std::vector<int>·>&·SX, | ||
34 | 23·std::vector<std::vector<int>·>&·SY, | ||
35 | 24·std::vector<Vector>&·P); | ||
36 | _\x82_\x85·static·void·_\x8g_\x8r_\x8i_\x8d_\x81_\x8__\x8s_\x8u_\x8b_\x8d_\x8i_\x8v_\x8i_\x8s_\x8i_\x8o_\x8n_\x8s(const·std::vector<Vector>·elementCorners, | ||
37 | 26·std::vector<std::vector<unsigned·int>·>&·subElements, | ||
38 | 27·std::vector<std::vector<int>·>&·faceIds); | ||
39 | _\x82_\x88·static·void·_\x8g_\x8r_\x8i_\x8d_\x82_\x8__\x8s_\x8u_\x8b_\x8d_\x8i_\x8v_\x8i_\x8s_\x8i_\x8o_\x8n_\x8s(const·std::vector<Vector>·elementCorners, | ||
40 | 29·std::vector<std::vector<unsigned·int>·>&·subElements, | ||
41 | 30·std::vector<std::vector<int>·>&·faceIds); | ||
42 | 31}; | ||
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·{ | ||
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 | ||
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 | 46 | 40private: | |
71 | 80·bool·inPlane(std::vector<FieldVector<T,dimworld>·>&·points); | ||
72 | 81 | ||
73 | 82}; | ||
74 | 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); | ||
69 | 84·} | ||
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; 6476/15599 bytes (41.52%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-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, 30 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="#namespaces">Namespaces</a>· | 77 | <a·href="#namespaces">Namespaces</a>·| |
78 | <a·href="#define-members">Macros</a>··</div> | ||
78 | ··<div·class="headertitle"><div·class="title"> | 79 | ··<div·class="headertitle"><div·class="title">overlappingmerge.cc·File·Reference</div></div> |
79 | </div><!--header--> | 80 | </div><!--header--> |
80 | <div·class="contents"> | 81 | <div·class="contents"> |
81 | <div·class="textblock"><code>#include·<<a·class="el"·href="a00047_source.html">dune/grid-glue/common/crossproduct.hh</a>></code><br·/> | ||
82 | <code>#include·<<a·class="el"·href="a00032_source.html">dune/grid-glue/common/projection.hh</a>></code><br·/> | ||
83 | </div> | ||
84 | <p><a·href="a00074_source.html">Go·to·the·source·code·of·this·file.</a></p> | 82 | <p><a·href="a00074_source.html">Go·to·the·source·code·of·this·file.</a></p> |
85 | <table·class="memberdecls"> | 83 | <table·class="memberdecls"> |
86 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 84 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
87 | Namespaces</h2></td></tr> | 85 | Namespaces</h2></td></tr> |
88 | <tr·class="memitem:a00103"·id="r_a00103"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00103.html">Dune</a></td></tr> | 86 | <tr·class="memitem:a00103"·id="r_a00103"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00103.html">Dune</a></td></tr> |
89 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 87 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
90 | <tr·class="memitem:a00104"·id="r_a00104"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00104.html">Dune::GridGlue</a></td></tr> | 88 | <tr·class="memitem:a00104"·id="r_a00104"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00104.html">Dune::GridGlue</a></td></tr> |
91 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 89 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
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="a00074.html#ad63267c6d27a8f09d98506419b206db8">DUNE_GRIDGLUE_OVERLAPPINGMERGE_CC</a></td></tr> | ||
94 | <tr·class="separator:ad63267c6d27a8f09d98506419b206db8"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
92 | </table> | 95 | </table> |
96 | <h2·class="groupheader">Macro·Definition·Documentation</h2> | ||
97 | <a·id="ad63267c6d27a8f09d98506419b206db8"·name="ad63267c6d27a8f09d98506419b206db8"></a> | ||
98 | <h2·class="memtitle"><span·class="permalink"><a·href="#ad63267c6d27a8f09d98506419b206db8">◆ </a></span>DUNE_GRIDGLUE_OVERLAPPINGMERGE_CC</h2> | ||
99 | <div·class="memitem"> | ||
100 | <div·class="memproto"> | ||
101 | ······<table·class="memname"> | ||
102 | ········<tr> | ||
103 | ··········<td·class="memname">#define·DUNE_GRIDGLUE_OVERLAPPINGMERGE_CC</td> | ||
104 | ········</tr> | ||
105 | ······</table> | ||
106 | </div><div·class="memdoc"> | ||
107 | </div> | ||
108 | </div> | ||
93 | </div><!--·contents·--> | 109 | </div><!--·contents·--> |
94 | <!--·start·footer·part·--> | 110 | <!--·start·footer·part·--> |
95 | <hr·class="footer"/><address·class="footer"><small> | 111 | <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 | 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 |
97 | </small></address> | 113 | </small></address> |
98 | </body> | 114 | </body> |
99 | </html> | 115 | </html> |
Offset 1, 19 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 | 8 | _\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s·|·_.M_.a_.c_.r_.o_.s |
9 | 9 | overlappingmerge.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> | ||
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. | 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. |
13 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s | 11 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s |
14 | namespace· ·_\x8D_\x8u_\x8n_\x8e | 12 | namespace· ·_\x8D_\x8u_\x8n_\x8e |
15 | 13 | ||
16 | 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 |
17 | 15 | ||
16 | M\x8Ma\x8ac\x8cr\x8ro\x8os\x8s | ||
17 | #define ·_\x8D_\x8U_\x8N_\x8E_\x8__\x8G_\x8R_\x8I_\x8D_\x8G_\x8L_\x8U_\x8E_\x8__\x8O_\x8V_\x8E_\x8R_\x8L_\x8A_\x8P_\x8P_\x8I_\x8N_\x8G_\x8M_\x8E_\x8R_\x8G_\x8E_\x8__\x8C_\x8C | ||
18 | |||
19 | *\x8**\x8**\x8**\x8**\x8*·M\x8Ma\x8ac\x8cr\x8ro\x8o·D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·D\x8Do\x8oc\x8cu\x8um\x8me\x8en\x8nt\x8ta\x8at\x8ti\x8io\x8on\x8n·*\x8**\x8**\x8**\x8**\x8* | ||
20 | *\x8**\x8**\x8**\x8**\x8*·_\x8?\x8◆_\x8?\x8 D\x8DU\x8UN\x8NE\x8E_\x8_G\x8GR\x8RI\x8ID\x8DG\x8GL\x8LU\x8UE\x8E_\x8_O\x8OV\x8VE\x8ER\x8RL\x8LA\x8AP\x8PP\x8PI\x8IN\x8NG\x8GM\x8ME\x8ER\x8RG\x8GE\x8E_\x8_C\x8CC\x8C·*\x8**\x8**\x8**\x8**\x8* | ||
21 | #define·DUNE_GRIDGLUE_OVERLAPPINGMERGE_CC | ||
18 | =============================================================================== | 22 | =============================================================================== |
19 | ·····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, 389 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="a00074.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 83 | <a·href="a00074.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><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="a00047.html">dune/grid-glue/common/crossproduct.hh</a>></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">#ifndef·DUNE_GRIDGLUE_OVERLAPPINGMERGE_CC</span></div> |
89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno"><a·class="line"·href="a00074.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> | ||
90 | <div·class="line"><a·id="l0000 | 91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> |
91 | <div·class="line"><a·id="l000 | 92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00103.html">Dune</a>·{</div> |
92 | <div·class="line"><a·id="l0001 | 93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="keyword">namespace·</span>GridGlue·{</div> |
93 | <div·class="line"><a·id="l0001 | 94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div> |
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> | ||
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="l00019"·name="l00019"></a><span·class="lineno">···19</span>····assert(points.size()·==·4);</div> | ||
94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="keyword">template</span><<span·class="keywordtype">int</span>·dimworld,·<span·class="keyword">typename</span>·T></div> | ||
95 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="keywordtype">void</span>·ContactMerge<dimworld,·T>::computeIntersections(<span·class="keyword">const</span>·Dune::GeometryType&·grid1ElementType,</div> | ||
96 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>···································<span·class="keyword">const</span>·std::vector<Dune::FieldVector<T,dimworld>·>&·grid1ElementCorners,</div> | ||
97 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>···································std::bitset<(1<<dim)>&·neighborIntersects1,</div> | ||
98 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>···································<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·grid1Index,</div> | ||
99 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>···································<span·class="keyword">const</span>·Dune::GeometryType&·grid2ElementType,</div> | ||
100 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>···································<span·class="keyword">const</span>·std::vector<Dune::FieldVector<T,dimworld>·>&·grid2ElementCorners,</div> | ||
101 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>···································std::bitset<(1<<dim)>&·neighborIntersects2,</div> | ||
102 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>···································<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·grid2Index,</div> | ||
103 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>···································std::vector<SimplicialIntersection>&·<a·class="code·hl_function"·href="a00104.html#ac6a31e555010d279de506e730906a26e">intersections</a>)</div> | ||
104 | <div·class="line"><a·id="l0002 | 102 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div> |
105 | <div·class="line"><a·id="l0002 | 103 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>····FieldVector<T,dimworld>·v1·=·points[1]-points[0];</div> |
104 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>····FieldVector<T,dimworld>·v2·=·points[2]-points[0];</div> | ||
105 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>····FieldVector<T,dimworld>·v3·=·points[3]-points[0];</div> | ||
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>····FieldVector<T,dimworld>·v1xv2;</div> |
108 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>····v1xv2[0]·=·v1[1]*v2[2]·-·v1[2]*v2[1];</div> | ||
109 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>····v1xv2[1]·=·v1[2]*v2[0]·-·v1[0]*v2[2];</div> | ||
110 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>····v1xv2[2]·=·v1[0]*v2[1]·-·v1[1]*v2[0];</div> | ||
108 | <div·class="line"><a·id="l0002 | 111 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div> |
109 | <div·class="line"><a·id="l000 | 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> |
110 | <div·class="line"><a·id="l000 | 113 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>}</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 | 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> | ||
116 | <div·class="foldopen"·id="foldopen00034"·data-start="{"·data-end="}"> | ||
117 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno"><a·class="line"·href="a01114.html#a6303e85feb1c815ce1ec5771851d7429">···34</a></span><span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01114.html#a6303e85feb1c815ce1ec5771851d7429">OverlappingMerge<dim1,dim2,dimworld,·T>::computeIntersections</a>(<span·class="keyword">const</span>·Dune::GeometryType&·grid1ElementType,</div> | ||
118 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>···············································<span·class="keyword">const</span>·std::vector<Dune::FieldVector<T,dimworld>·>&·grid1ElementCorners,</div> | ||
119 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>···············································std::bitset<(1<<dim1)>&·neighborIntersects1,</div> | ||
120 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>···············································<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·grid1Index,</div> | ||
121 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>···············································<span·class="keyword">const</span>·Dune::GeometryType&·grid2ElementType,</div> | ||
122 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>···············································<span·class="keyword">const</span>·std::vector<Dune::FieldVector<T,dimworld>·>&·grid2ElementCorners,</div> | ||
123 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>···············································std::bitset<(1<<dim2)>&·neighborIntersects2,</div> | ||
124 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>···············································<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·grid2Index,</div> | ||
125 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>···············································std::vector<SimplicialIntersection>&·<a·class="code·hl_function"·href="a00104.html#ac6a31e555010d279de506e730906a26e">intersections</a>)</div> | ||
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> | ||
125 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span> | 126 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>{</div> |
126 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>····<span·class=" | 127 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>····<span·class="keyword">using·</span>std::min;</div> |
128 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div> | ||
127 | <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> | ||
128 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>····<span·class="keywordflow">for</span>·(<span·class="keywordtype">size_t</span>·i=0;·i<directions2.size();·i++)</div> | ||
129 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>········directions2[i]·=·nodalTargetDirections_[this->grid2ElementCorners_[grid2Index][i]];</div> | ||
130 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div> | 131 | <div·class="line"><a·id="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> | ||
131 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>····<span·class="comment">//·The·difference·between·the·closest·point·projection·and·the·normal·projection·is·just·the·ordering</span></div> | ||
132 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>····<span·class="comment">//·of·the·involved·surfaces.·The·closest·point·projection·is·done·along·the·outer·normal·field·of·grid2</span></div> | ||
133 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>····<span·class="comment">//·(due·to·being·a·best·approximation)·and·the·outer·normal·projection·is·using·the·outer·normal·field</span></div> | ||
134 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>····<span·class="comment">//·of·grid1·instead.</span></div> | ||
135 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>····std::array<<span·class="keyword">decltype</span>(std::cref(grid1ElementCorners)),2>·cornersRef·={std::cref(grid1ElementCorners),·std::cref(grid2ElementCorners)};</div> | ||
136 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>····std::array<<span·class="keyword">decltype</span>(std::cref(directions1)),2>·directionsRef·={std::cref(directions1),·std::cref(directions2)};</div> | ||
137 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>····std::array<Dune::GeometryType,2>·elementTypes·=·{grid1ElementType,·grid2ElementType};</div> | ||
138 | <div·class="line"><a·id="l0005 | 133 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</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 | 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> | ||
142 | <div·class="line"><a·id="l000 | 137 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div> |
143 | <div·class="line"><a·id="l000 | 138 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>····<span·class="comment">//·A·few·consistency·checks</span></div> |
139 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>····assert((<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>)(refElement1.size(dim1))·==·grid1ElementCorners.size());</div> | ||
140 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>····assert((<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>)(refElement2.size(dim2))·==·grid2ElementCorners.size());</div> | ||
141 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span><span·class="preprocessor">#endif</span></div> | ||
142 | <div·class="line"><a·id="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> | ||
144 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>·</div> | 147 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>·</div> |
148 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>····Geometry1·grid1Geometry(grid1ElementType,·grid1ElementCorners);</div> | ||
Max diff block lines reached; 48827/92931 bytes (52.54%) of diff not shown. |
Offset 1, 439 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 | 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 | 17 | 6#ifndef·DUNE_GRIDGLUE_OVERLAPPINGMERGE_CC | |
18 | _\x87#define·DUNE_GRIDGLUE_OVERLAPPINGMERGE_CC | ||
19 | 8//#include·<algorithm> | ||
20 | 9 | ||
20 | 21 | 10namespace·_\x8D_\x8u_\x8n_\x8e·{ | |
21 | 1 | 22 | 11namespace·GridGlue·{ |
22 | 1 | 23 | 12 |
23 | 1 | 24 | 13template<int·dim1,·int·dim2,·int·dimworld,·typename·T> |
25 | 14bool·OverlappingMerge<dim1,dim2,dimworld,·T>::inPlane(std:: | ||
26 | vector<FieldVector<T,dimworld>·>&·points)·{ | ||
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]; | ||
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 | 42·std::vector<SimplicialIntersection>&·_\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8s) | ||
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 | 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(); | ||
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 | 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 | ||
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 | 68 | (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 | 69 | 54 | |
70 | 55·//·A·few·consistency·checks | ||
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:·mer | 8 | <title>dune-grid-glue:·simplexintersection.cc·File·Reference</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 71, 37 lines modified | Offset 71, 68 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">simplexintersection.cc·File·Reference</div></div> |
80 | </div><!--header--> | 81 | </div><!--header--> |
81 | <div·class="contents"> | 82 | <div·class="contents"> |
82 | <div·class="textblock"><code>#include·<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="a00098_source.html">dune/grid-glue/merging/intersectionlist.hh</a>></code><br·/> | ||
86 | </div> | ||
87 | <p><a·href="a00077_source.html">Go·to·the·source·code·of·this·file.</a></p> | 83 | <p><a·href="a00077_source.html">Go·to·the·source·code·of·this·file.</a></p> |
88 | <table·class="memberdecls"> | 84 | <table·class="memberdecls"> |
89 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 85 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
90 | Classes</h2></td></tr> | 86 | Classes</h2></td></tr> |
87 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01118.html">Dune::GridGlue::SimplexMethod<·dimWorld,·dim1,·dim2,·T·></a></td></tr> | ||
88 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
89 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01122.html">Dune::GridGlue::SimplexMethod<·dimWorld,·0,·0,·T·></a></td></tr> | ||
90 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
91 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01126.html">Dune::GridGlue::SimplexMethod<·dimWorld,·0,·1,·T·></a></td></tr> | ||
92 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
91 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a011 | 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> |
92 | <tr·class=" | 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> | ||
93 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 108 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
94 | </table><table·class="memberdecls"> | 109 | </table><table·class="memberdecls"> |
95 | <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> |
96 | Namespaces</h2></td></tr> | 111 | 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> | 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> |
98 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 113 | <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> | 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> |
100 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 115 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
116 | </table><table·class="memberdecls"> | ||
117 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> | ||
118 | Functions</h2></td></tr> | ||
119 | <tr·class="memitem:acb8eba4ea70bb9d407216258a1ea38d3"·id="r_acb8eba4ea70bb9d407216258a1ea38d3"><td·class="memTemplParams"·colspan="2">template<int·dimworld,·typename·T·>·</td></tr> | ||
120 | <tr·class="memitem:acb8eba4ea70bb9d407216258a1ea38d3"><td·class="memTemplItemLeft"·align="right"·valign="top">void </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00104.html#acb8eba4ea70bb9d407216258a1ea38d3">Dune::GridGlue::simplexSubdivision</a>·(std::integral_constant<·int,·0·>,·const·std::vector<·Dune::FieldVector<·T,·dimworld·>·>·&elementCorners,·std::vector<·std::vector<·unsigned·int·>·>·&subElements,·std::vector<·std::vector<·int·>·>·&faceIds)</td></tr> | ||
121 | <tr·class="separator:acb8eba4ea70bb9d407216258a1ea38d3"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
122 | <tr·class="memitem:a79ec8d88094aaf764ba7d3fc69f80bfb"·id="r_a79ec8d88094aaf764ba7d3fc69f80bfb"><td·class="memTemplParams"·colspan="2">template<int·dimworld,·typename·T·>·</td></tr> | ||
123 | <tr·class="memitem:a79ec8d88094aaf764ba7d3fc69f80bfb"><td·class="memTemplItemLeft"·align="right"·valign="top">void </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00104.html#a79ec8d88094aaf764ba7d3fc69f80bfb">Dune::GridGlue::simplexSubdivision</a>·(std::integral_constant<·int,·1·>,·const·std::vector<·Dune::FieldVector<·T,·dimworld·>·>·&elementCorners,·std::vector<·std::vector<·unsigned·int·>·>·&subElements,·std::vector<·std::vector<·int·>·>·&faceIds)</td></tr> | ||
124 | <tr·class="separator:a79ec8d88094aaf764ba7d3fc69f80bfb"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
125 | <tr·class="memitem:a686728cec3588405059fdbddc5e89168"·id="r_a686728cec3588405059fdbddc5e89168"><td·class="memTemplParams"·colspan="2">template<int·dimworld,·typename·T·>·</td></tr> | ||
126 | <tr·class="memitem:a686728cec3588405059fdbddc5e89168"><td·class="memTemplItemLeft"·align="right"·valign="top">void </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00104.html#a686728cec3588405059fdbddc5e89168">Dune::GridGlue::simplexSubdivision</a>·(std::integral_constant<·int,·2·>,·const·std::vector<·Dune::FieldVector<·T,·dimworld·>·>·&elementCorners,·std::vector<·std::vector<·unsigned·int·>·>·&subElements,·std::vector<·std::vector<·int·>·>·&faceIds)</td></tr> | ||
127 | <tr·class="separator:a686728cec3588405059fdbddc5e89168"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
128 | <tr·class="memitem:a697e604ca453c314141e6b4c5efe3eab"·id="r_a697e604ca453c314141e6b4c5efe3eab"><td·class="memTemplParams"·colspan="2">template<int·dimworld,·typename·T·>·</td></tr> | ||
129 | <tr·class="memitem:a697e604ca453c314141e6b4c5efe3eab"><td·class="memTemplItemLeft"·align="right"·valign="top">void </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00104.html#a697e604ca453c314141e6b4c5efe3eab">Dune::GridGlue::simplexSubdivision</a>·(std::integral_constant<·int,·3·>,·const·std::vector<·Dune::FieldVector<·T,·dimworld·>·>·&elementCorners,·std::vector<·std::vector<·unsigned·int·>·>·&subElements,·std::vector<·std::vector<·int·>·>·&faceIds)</td></tr> | ||
130 | <tr·class="separator:a697e604ca453c314141e6b4c5efe3eab"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
101 | </table> | 131 | </table> |
102 | </div><!--·contents·--> | 132 | </div><!--·contents·--> |
103 | <!--·start·footer·part·--> | 133 | <!--·start·footer·part·--> |
104 | <hr·class="footer"/><address·class="footer"><small> | 134 | <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 | 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 |
106 | </small></address> | 136 | </small></address> |
107 | </body> | 137 | </body> |
Offset 1, 26 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 | 8 | _\x8C_\x8l_\x8a_\x8s_\x8s_\x8e_\x8s·|·_\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s·|·_.F_.u_.n_.c_.t_.i_.o_.n_.s |
9 | simplexintersection.cc·File·Reference | ||
9 | 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> | ||
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. | 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 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s | 11 | 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 | 12 | 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_.,_.·_.d_.i_.m_.1_.,_.·_.d_.i_.m_.2_.,_.·_.T_.·_.> | |
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> | ||
19 | 33 | ||
20 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s | 34 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s |
21 | namespace· ·_\x8D_\x8u_\x8n_\x8e | 35 | namespace· ·_\x8D_\x8u_\x8n_\x8e |
22 | 36 | ||
23 | namespace· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e | 37 | namespace· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e |
24 | 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) | ||
63 | |||
25 | =============================================================================== | 64 | =============================================================================== |
26 | ·····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:·mer | 8 | <title>dune-grid-glue:·simplexintersection.cc·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 74, 110 lines modified | Offset 74, 1430 lines modified | ||
74 | <div·id="nav-path"·class="navpath"> | 74 | <div·id="nav-path"·class="navpath"> |
75 | ··<ul> | 75 | ··<ul> |
76 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_0d8f660a135565b225f6b14e80c278b4.html">merging</a></li>··</ul> | 76 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_0d8f660a135565b225f6b14e80c278b4.html">merging</a></li>··</ul> |
77 | </div> | 77 | </div> |
78 | </div><!--·top·--> | 78 | </div><!--·top·--> |
79 | <div·class="header"> | 79 | <div·class="header"> |
80 | ··<div·class="headertitle"><div·class="title">mer | 80 | ··<div·class="headertitle"><div·class="title">simplexintersection.cc</div></div> |
81 | </div><!--header--> | 81 | </div><!--header--> |
82 | <div·class="contents"> | 82 | <div·class="contents"> |
83 | <a·href="a00077.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 83 | <a·href="a00077.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><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> | ||
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="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<dune/common/fvector.hh></span></div> | ||
93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<dune/geometry/type.hh></span></div> | ||
94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div> | ||
95 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·<<a·class="code"·href="a00098.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 | 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> |
98 | <div·class="line"><a·id="l000 | 89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="keyword">namespace·</span>GridGlue·{</div> |
99 | <div·class="line"><a·id="l000 | 90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span>·</div> |
100 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="keyword">template</span>·<<span·class="keyword">class</span>·ctype,·<span·class="keywordtype">int</span>·gr<span·class="keywordtype">id</span>1Dim,·<span·class="keywordtype">int</span>·gr<span·class="keywordtype">id</span>2Dim,·<span·class="keywordtype">int</span>·dimworld></div> | ||
101 | <div·class="foldopen"·id="foldopen00026"·data-start="{"·data-end="};"> | ||
102 | <div·class="line"><a·id="l000 | 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> | ||
103 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span> | 109 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> |
110 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="comment">//·*****************SIMPLEX·INTERSECTION·COMPUTATION·METHODS·***************************</span></div> | ||
111 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="keyword">template</span><<span·class="keywordtype">int</span>·dimWorld,<span·class="keywordtype">int</span>·dim1,·<span·class="keywordtype">int</span>·dim2,·<span·class="keyword">typename</span>·T></div> | ||
112 | <div·class="foldopen"·id="foldopen00030"·data-start="{"·data-end="};"> | ||
113 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno"><a·class="line"·href="a01118.html">···30</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01118.html">SimplexMethod</a>·:·<span·class="keyword">public</span>·<a·class="code·hl_class"·href="a01066.html">ComputationMethod</a><dimWorld,dim1,dim2,T>{</div> | ||
114 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno"><a·class="line"·href="a01118.html#a4b07cdfc467f3dc5decd96dd3709f2da">···31</a></span>····<span·class="keyword">static_assert</span>(dim1·>·dim2,·<span·class="stringliteral">"Specialization·missing"</span>);</div> | ||
115 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>····<span·class="keyword">friend</span>·<span·class="keyword">class·</span><a·class="code·hl_class"·href="a01066.html">ComputationMethod</a><dimWorld,dim1,dim2,T>;</div> | ||
104 | <div·class="line"><a·id="l000 | 116 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="keyword">public</span>:</div> |
117 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno"><a·class="line"·href="a01118.html#a51ad491a88a364fc3193e3ea197f74a3">···34</a></span>····<span·class="keyword">typedef</span>·FieldVector<T,·dimWorld>·<a·class="code·hl_typedef"·href="a01118.html#a51ad491a88a364fc3193e3ea197f74a3">Vector</a>;</div> | ||
118 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno"><a·class="line"·href="a01118.html#a14816a10d3f9fc0960fdb6147b805888">···35</a></span>····<span·class="keyword">static</span>·<span·class="keyword">const</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_variable"·href="a01118.html#a14816a10d3f9fc0960fdb6147b805888">grid1Dimension</a>·=·dim1;</div> | ||
119 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno"><a·class="line"·href="a01118.html#a487c3688d29eadf7cbda353ce37a2c06">···36</a></span>····<span·class="keyword">static</span>·<span·class="keyword">const</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_variable"·href="a01118.html#a487c3688d29eadf7cbda353ce37a2c06">grid2Dimension</a>·=·dim2;</div> | ||
120 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno"><a·class="line"·href="a01118.html#a52f9a004f9a2b39e122fd6e8edd0b694">···37</a></span>····<span·class="keyword">static</span>·<span·class="keyword">const</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_variable"·href="a01118.html#a52f9a004f9a2b39e122fd6e8edd0b694">intersectionDimension</a>·=·dim2;</div> | ||
105 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div> | ||
106 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno"><a·class="line"·href="a01110.html#a3824f8931b9bec9b19317e5799845783">···31</a></span>··<span·class="keyword">typedef</span>·Dune::FieldVector<ctype,·grid1Dim>··<a·class="code·hl_typedef"·href="a01110.html#a3824f8931b9bec9b19317e5799845783">Grid1Coords</a>;</div> | ||
107 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div> | ||
108 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno"><a·class="line"·href="a01110.html#aef3557713bdf003e676d382ce333e1d6">···34</a></span>··<span·class="keyword">typedef</span>·Dune::FieldVector<ctype,·grid2Dim>··<a·class="code·hl_typedef"·href="a01110.html#aef3557713bdf003e676d382ce333e1d6">Grid2Coords</a>;</div> | ||
109 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div> | ||
110 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno"><a·class="line"·href="a01110.html#a188d6a829994e6552b894a99dc53a944">···37</a></span>··<span·class="keyword">typedef</span>·Dune::FieldVector<ctype,·dimworld>··<a·class="code·hl_typedef"·href="a01110.html#a188d6a829994e6552b894a99dc53a944">WorldCoords</a>;</div> | ||
111 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div> | 121 | <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> | ||
113 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·</div> | ||
114 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno"><a·class="line"·href="a01110.html#a9dbdac9901cb375d75c583d9f6746ec6">···54</a></span>··<span·class="keyword">virtual</span>·<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01110.html#a9dbdac9901cb375d75c583d9f6746ec6">build</a>(<span·class="keyword">const</span>·std::vector<Dune::FieldVector<ctype,dimworld>·>&·grid1_coords,</div> | ||
115 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·····················<span·class="keyword">const</span>·std::vector<unsigned·int>&·grid1_elements,</div> | ||
116 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·····················<span·class="keyword">const</span>·std::vector<Dune::GeometryType>&·grid1_element_types,</div> | ||
117 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·····················<span·class="keyword">const</span>·std::vector<Dune::FieldVector<ctype,dimworld>·>&·grid2_coords,</div> | ||
118 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·····················<span·class="keyword">const</span>·std::vector<unsigned·int>&·grid2_elements,</div> | ||
119 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>·····················<span·class="keyword">const</span>·std::vector<Dune::GeometryType>&·grid2_element_types)·=·0;</div> | ||
120 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div> | ||
121 | <div·class="foldopen"·id="foldopen000 | 122 | <div·class="foldopen"·id="foldopen00039"·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 | 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#aa78[·...·truncated·by·diffoscope;·len:·155,·SHA:·74270aad2e56c71810744616e79d40eef0beb19d6b7da63d4fe1fa8022992e05·...·]</div> |
124 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·················<span·class="keyword">const</span>·std::vector<FieldVector<T,dimWorld>·>&···Y,</div> | ||
125 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·················std::vector<std::vector<int>·>·········&·SX,</div> | ||
126 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·················std::vector<std::vector<int>·>·········&·SY,</div> | ||
127 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·················std::vector<FieldVector<T,dimWorld>·>·&·P)</div> | ||
128 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>····{</div> | ||
129 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>········<span·class="keywordflow">return</span>·<a·class="code·hl_function"·href="a01118.html#aa78b21e9050ebd946c9e1155ece1a15d">SimplexMethod<dimWorld,dim2,dim1,T>::computeIntersectionPoints</a>(Y,·X,·SY,·SX,·P);</div> | ||
130 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>····}</div> | ||
124 | </div> | 131 | </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>····}</div> | ||
141 | </div> | ||
142 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div> | ||
143 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno"><a·class="line"·href="a01122.html#a7cfadf5a9bc8595aaaaeaed96048c4ae">···56</a></span>····<span·class="keyword">static</span>·<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01118.html#ae97f69082a1ccbb9be60724c11d0e23e">grid2_subdivisions</a>(<span·class="keyword">const</span>·std::vector<Vector>&·elementCorners,</div> | ||
144 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>···································std::vector<std::vector<unsigned·int>·>&·subElements,</div> | ||
145 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>···································std::vector<std::vector<int>·>&·faceIds)</div> | ||
146 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>····{</div> | ||
147 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>········simplexSubdivision<dimWorld,T>(std::integral_constant<int,grid2Dimension>(),</div> | ||
148 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>·······································elementCorners,·subElements,·faceIds);</div> | ||
149 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>····}</div> | ||
150 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>};</div> | ||
151 | </div> | ||
152 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>·</div> | ||
153 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>·</div> | ||
125 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div> | 154 | <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="l0006 | 155 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span><span·class="comment">//·POINTS·ARE·EQUAL</span></div> |
Max diff block lines reached; 219276/257586 bytes (85.13%) of diff not shown. |
Offset 1, 139 lines modified | Offset 1, 1578 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 | simplexintersection.cc |
9 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 9 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: | 11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: |
12 | 3//·SPDX-FileCopyrightInfo:·Copyright·Â©·DUNE·Project·contributors,·see·file | 12 | 3//·SPDX-FileCopyrightInfo:·Copyright·Â©·DUNE·Project·contributors,·see·file |
13 | LICENSE.md·in·module·root | 13 | LICENSE.md·in·module·root |
14 | 4//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with- | 14 | 4//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with- |
15 | dune-grid-glue-exception | 15 | dune-grid-glue-exception |
16 | 5 | ||
16 | 5#ifndef·DUNE_GRIDGLUE_MERGING_MERGER_HH | ||
17 | 6#define·DUNE_GRIDGLUE_MERGING_MERGER_HH | ||
18 | 7 | ||
19 | 8#include·<vector> | ||
20 | 9 | ||
21 | 10#include·<dune/common/fvector.hh> | ||
22 | 11#include·<dune/geometry/type.hh> | ||
23 | 12 | ||
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 | 17 | 6namespace·_\x8D_\x8u_\x8n_\x8e·{ | |
27 | 18 | 7namespace·GridGlue·{ | |
28 | 17 | ||
29 | 25template·<class·ctype,·int·grid1Dim,·int·grid2Dim,·int·dimworld> | ||
30 | 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 | ||
31 | 27 | 42 | 27 |
43 | 28//·*****************SIMPLEX·INTERSECTION·COMPUTATION·METHODS | ||
44 | *************************** | ||
45 | 29template<int·dimWorld,int·dim1,·int·dim2,·typename·T> | ||
46 | _\x83_\x80class·_\x8S_\x8i_\x8m_\x8p_\x8l_\x8e_\x8x_\x8M_\x8e_\x8t_\x8h_\x8o_\x8d·:·public·_\x8C_\x8o_\x8m_\x8p_\x8u_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8M_\x8e_\x8t_\x8h_\x8o_\x8d<dimWorld,dim1,dim2,T>{ | ||
47 | _\x83_\x81·static_assert(dim1·>·dim2,·"Specialization·missing"); | ||
48 | 32·friend·class·_\x8C_\x8o_\x8m_\x8p_\x8u_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8M_\x8e_\x8t_\x8h_\x8o_\x8d<dimWorld,dim1,dim2,T>; | ||
32 | 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; | ||
33 | 29 | ||
34 | _\x83_\x81·typedef·Dune::FieldVector<ctype,·grid1Dim>·_\x8G_\x8r_\x8i_\x8d_\x81_\x8C_\x8o_\x8o_\x8r_\x8d_\x8s; | ||
35 | 32 | ||
36 | _\x83_\x84·typedef·Dune::FieldVector<ctype,·grid2Dim>·_\x8G_\x8r_\x8i_\x8d_\x82_\x8C_\x8o_\x8o_\x8r_\x8d_\x8s; | ||
37 | 35 | ||
38 | _\x83_\x87·typedef·Dune::FieldVector<ctype,·dimworld>·_\x8W_\x8o_\x8r_\x8l_\x8d_\x8C_\x8o_\x8o_\x8r_\x8d_\x8s; | ||
39 | 38 | 54 | 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 | 55 | _.3_.9·static·bool·_.c_.o_.m_.p_.u_.t_.e_.I_.n_.t_.e_.r_.s_.e_.c_.t_.i_.o_.n_.P_.o_.i_.n_.t_.s(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 | ||
53 | 66 | 84 | 66 |
54 | _\x86_\x87·virtual·void·_\x8c_\x8l_\x8e_\x8a_\x8r()·=·0; | ||
55 | 68 | ||
56 | _\x87_\x84·virtual·std::shared_ptr<IntersectionList>·_\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8L_\x8i_\x8s_\x8t()·const·=·0; | ||
57 | 75 | ||
58 | 79·template<int·n> | ||
59 | _\x88_\x80·unsigned·int·_\x8p_\x8a_\x8r_\x8e_\x8n_\x8t_\x8s(unsigned·int·idx)·const·{ | ||
60 | 81·return·_\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8L_\x8i_\x8s_\x8t()->template·parents<n>(idx); | ||
61 | 82·} | ||
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); | ||
Max diff block lines reached; 63536/72180 bytes (88.02%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-grid-glue:· | 8 | <title>dune-grid-glue:·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, 49 lines modified | Offset 70, 39 lines modified | ||
70 | <div·id="nav-path"·class="navpath"> | 70 | <div·id="nav-path"·class="navpath"> |
71 | ··<ul> | 71 | ··<ul> |
72 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_0d8f660a135565b225f6b14e80c278b4.html">merging</a></li>··</ul> | 72 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_0d8f660a135565b225f6b14e80c278b4.html">merging</a></li>··</ul> |
73 | </div> | 73 | </div> |
74 | </div><!--·top·--> | 74 | </div><!--·top·--> |
75 | <div·class="header"> | 75 | <div·class="header"> |
76 | ··<div·class="summary"> | 76 | ··<div·class="summary"> |
77 | <a·href="#nested-classes">Classes</a>·| | ||
77 | <a·href="#namespaces">Namespaces</a>· | 78 | <a·href="#namespaces">Namespaces</a>··</div> |
78 | <a·href="#define-members">Macros</a>··</div> | ||
79 | ··<div·class="headertitle"><div·class="title"> | 79 | ··<div·class="headertitle"><div·class="title">merger.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·<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="a00095_source.html">dune/grid-glue/merging/intersectionlist.hh</a>></code><br·/> | ||
86 | </div> | ||
82 | <p><a·href="a00080_source.html">Go·to·the·source·code·of·this·file.</a></p> | 87 | <p><a·href="a00080_source.html">Go·to·the·source·code·of·this·file.</a></p> |
83 | <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"> | ||
84 | <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> |
85 | Namespaces</h2></td></tr> | 96 | 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> | 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> |
87 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 98 | <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> | 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> |
89 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 100 | <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="a00080.html#ad63267c6d27a8f09d98506419b206db8">DUNE_GRIDGLUE_OVERLAPPINGMERGE_CC</a></td></tr> | ||
94 | <tr·class="separator:ad63267c6d27a8f09d98506419b206db8"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
95 | </table> | 101 | </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·--> | 102 | </div><!--·contents·--> |
110 | <!--·start·footer·part·--> | 103 | <!--·start·footer·part·--> |
111 | <hr·class="footer"/><address·class="footer"><small> | 104 | <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 | 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 |
113 | </small></address> | 106 | </small></address> |
114 | </body> | 107 | </body> |
115 | </html> | 108 | </html> |
Offset 1, 23 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·|·_\x8M_\x8a_\x8c_\x8r_\x8o_\x8s | ||
9 | 8 | _.C_.l_.a_.s_.s_.e_.s·|·_.N_.a_.m_.e_.s_.p_.a_.c_.e_.s | |
9 | 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 | 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 | =============================================================================== | 25 | =============================================================================== |
23 | ·····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, 215 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="a00080.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 83 | <a·href="a00080.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·©·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div> | 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·©·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div> |
86 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with-dune-grid-glue-exception</span></div> | 86 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with-dune-grid-glue-exception</span></div> |
87 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_GRIDGLUE_MERGING_MERGER_HH</span></div> | ||
88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_GRIDGLUE_MERGING_MERGER_HH</span></div> | ||
87 | <div·class="line"><a·id="l0000 | 89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div> |
88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#ifndef·DUNE_GRIDGLUE_OVERLAPPINGMERGE_CC</span></div> | ||
89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno"><a·class="line"·href="a00080.html#ad63267c6d27a8f09d98506419b206db8">····7</a></span><span·class="preprocessor">#define·DUNE_GRIDGLUE_OVERLAPPINGMERGE_CC</span></div> | ||
90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class=" | 90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·<vector></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=" | 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="a00095.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="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> | ||
97 | <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>· | 98 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="keyword">namespace·</span>GridGlue·{</div> |
99 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> | 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="l000 | 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>·[·...·truncated·by·diffoscope;·len:·91,·SHA:·2859a756ca8bdfc8425b32b743740b3fa011af15a0e7fc8620997d3908977876·...·];</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> | ||
102 | <div·class="line"><a·id="l0002 | 103 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>{</div> |
103 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>····FieldVector<T,dimworld>·v1·=·points[1]-points[0];</div> | ||
104 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>····FieldVector<T,dimworld>·v2·=·points[2]-points[0];</div> | ||
105 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>····FieldVector<T,dimworld>·v3·=·points[3]-points[0];</div> | ||
106 | <div·class="line"><a·id="l0002 | 104 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="keyword">public</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> | ||
111 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div> | 105 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div> |
106 | <div·class="line"><a·id="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> | ||
112 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>····<span·class="keywordflow">return</span>·(std::abs(v3.dot(v1xv2))·<·eps);</div> | ||
113 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>}</div> | ||
114 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div> | 107 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div> |
115 | <div·class="line"><a·id="l0003 | 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#aef[·...·truncated·by·diffoscope;·len:·47,·SHA:·f1d0037b7bf1a17132ab3d31b9ef14518e7b69f9d67bb9f24b5628dc6ba89d11·...·];</div> |
109 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div> | ||
110 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno"><a·class="line"·href="a01110.html#a188d6a829994e6552b894a99dc53a944">···37</a></span>··<span·class="keyword">typedef</span>·Dune::FieldVector<ctype,·dimworld>··<a·class="code·hl_typedef"·href="a01110.html#a188d6a829994e6552b894a99dc53a944">WorldCoords</a>;</div> | ||
111 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div> | ||
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> | ||
113 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·</div> | ||
114 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno"><a·class="line"·href="a01110.html#a9dbdac9901cb375d75c583d9f6746ec6">···54</a></span>··<span·class="keyword">virtual</span>·<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01110.html#a9dbdac9901cb375d75c583d9f6746ec6">build</a>(<span·class="keyword">const</span>·std::vector<Dune::FieldVector<ctype,dimworld>·>&·grid1_coords,</div> | ||
115 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·····················<span·class="keyword">const</span>·std::vector<unsigned·int>&·grid1_elements,</div> | ||
116 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·····················<span·class="keyword">const</span>·std::vector<Dune::GeometryType>&·grid1_element_types,</div> | ||
117 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·····················<span·class="keyword">const</span>·std::vector<Dune::FieldVector<ctype,dimworld>·>&·grid2_coords,</div> | ||
118 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·····················<span·class="keyword">const</span>·std::vector<unsigned·int>&·grid2_elements,</div> | ||
119 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>·····················<span·class="keyword">const</span>·std::vector<Dune::GeometryType>&·grid2_element_types)·=·0;</div> | ||
120 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div> | ||
116 | <div·class="foldopen"·id="foldopen000 | 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> | ||
117 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno"><a·class="line"·href="a01114.html#a6303e85feb1c815ce1ec5771851d7429">···34</a></span><span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01114.html#a6303e85feb1c815ce1ec5771851d7429">OverlappingMerge<dim1,dim2,dimworld,·T>::computeIntersections</a>(<span·class="keyword">const</span>·Dune::GeometryType&·grid1ElementType,</div> | ||
118 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>···············································<span·class="keyword">const</span>·std::vector<Dune::FieldVector<T,dimworld>·>&·grid1ElementCorners,</div> | ||
119 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>···············································std::bitset<(1<<dim1)>&·neighborIntersects1,</div> | ||
120 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>···············································<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·grid1Index,</div> | ||
121 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>···············································<span·class="keyword">const</span>·Dune::GeometryType&·grid2ElementType,</div> | ||
122 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>···············································<span·class="keyword">const</span>·std::vector<Dune::FieldVector<T,dimworld>·>&·grid2ElementCorners,</div> | ||
123 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>···············································std::bitset<(1<<dim2)>&·neighborIntersects2,</div> | ||
124 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>···············································<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·grid2Index,</div> | ||
125 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>···············································std::vector<SimplicialIntersection>&·<a·class="code·hl_function"·href="a00104.html#ac6a31e555010d279de506e730906a26e">intersections</a>)</div> | ||
126 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>{</div> | ||
127 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>····<span·class="keyword">using·</span>std::min;</div> | ||
128 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div> | ||
129 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>····this->counter++;</div> | ||
130 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>····<a·class="code·hl_function"·href="a00104.html#ac6a31e555010d279de506e730906a26e">intersections</a>.clear();</div> | ||
131 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div> | ||
132 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>····<span·class="keyword">typedef</span>·<a·class="code·hl_class"·href="a01118.html">SimplexMethod<dimworld,dim1,dim2,T></a>·CM;</div> | ||
133 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</div> | ||
134 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span><span·class="preprocessor">#ifndef·NDEBUG</span></div> | ||
135 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>····<span·class="keyword">const</span>·<span·class="keyword">auto</span>&·refElement1·=·Dune::ReferenceElements<T,dim1>::general(grid1ElementType);</div> | ||
136 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>····<span·class="keyword">const</span>·<span·class="keyword">auto</span>&·refElement2·=·Dune::ReferenceElements<T,dim2>::general(grid2ElementType);</div> | ||
137 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div> | ||
138 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>····<span·class="comment">//·A·few·consistency·checks</span></div> | ||
139 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>····assert((<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>)(refElement1.size(dim1))·==·grid1ElementCorners.size());</div> | ||
140 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>····assert((<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>)(refElement2.size(dim2))·==·grid2ElementCorners.size());</div> | ||
141 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span><span·class="preprocessor">#endif</span></div> | ||
142 | <div·class="line"><a·id="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> | ||
148 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>····Geometry1·grid1Geometry(grid1ElementType,·grid1ElementCorners);</div> | ||
149 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>····Geometry2·grid2Geometry(grid2ElementType,·grid2ElementCorners);</div> | ||
150 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div> | ||
151 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>····<span·class="comment">//·Dirty·workaround·for·the·intersection·computation·scaling·problem·(part·1/2)</span></div> | ||
152 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>····std::vector<Dune::FieldVector<T,dimworld>·>·scaledGrid1ElementCorners(grid1ElementCorners.size());</div> | ||
153 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>····std::vector<Dune::FieldVector<T,dimworld>·>·scaledGrid2ElementCorners(grid2ElementCorners.size());</div> | ||
154 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·</div> | ||
155 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>····<span·class="comment">//·the·scaling·parameter·is·the·length·minimum·of·the·lengths·of·the·first·edge·in·the·grid1·geometry</span></div> | ||
156 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>····<span·class="comment">//·and·the·first·edge·in·the·grid2·geometry</span></div> | ||
157 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>····T·scaling·=·min((grid1ElementCorners[0]·-·grid1ElementCorners[1]).two_norm(),</div> | ||
158 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>············(grid2ElementCorners[0]·-·grid2ElementCorners[1]).two_norm());</div> | ||
159 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>·</div> | ||
160 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>····<span·class="comment">//·scale·the·coordinates·according·to·scaling·parameter</span></div> | ||
161 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>····<span·class="keywordflow">for</span>·(<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·i·=·0;·i·<·grid1ElementCorners.size();·++i)·{</div> | ||
162 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>········scaledGrid1ElementCorners[i]·=·grid1ElementCorners[i];</div> | ||
Max diff block lines reached; 7877/52521 bytes (15.00%) of diff not shown. |
Offset 1, 244 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 | ||
17 | 16 | 5#ifndef·DUNE_GRIDGLUE_MERGING_MERGER_HH | |
18 | 17 | 6#define·DUNE_GRIDGLUE_MERGING_MERGER_HH | |
19 | 18 | 7 | |
19 | 8#include·<vector> | ||
20 | 9 | 20 | 9 |
21 | 10namespace·_\x8D_\x8u_\x8n_\x8e·{ | ||
22 | 1 | 21 | 10#include·<dune/common/fvector.hh> |
22 | 11#include·<dune/geometry/type.hh> | ||
23 | 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·{ | ||
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 | 28 | 17 |
29 | 25template·<class·ctype,·int·grid1Dim,·int·grid2Dim,·int·dimworld> | ||
30 | _\x82_\x86class·_\x8M_\x8e_\x8r_\x8g_\x8e_\x8r | ||
31 | 27{ | ||
32 | 28public: | ||
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]; | ||
41 | 29 | 33 | 29 |
34 | _\x83_\x81·typedef·Dune::FieldVector<ctype,·grid1Dim>·_\x8G_\x8r_\x8i_\x8d_\x81_\x8C_\x8o_\x8o_\x8r_\x8d_\x8s; | ||
42 | 30·return·(std::abs(v3.dot(v1xv2))·<·eps); | ||
43 | 31} | ||
44 | 32 | 35 | 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:: | 36 | _.3_.4·typedef·Dune::FieldVector<ctype,·grid2Dim>·_.G_.r_.i_.d_.2_.C_.o_.o_.r_.d_.s; |
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, | ||
48 | 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); | ||
49 | 36·std::bitset<(1<<dim1)>&·neighborIntersects1, | ||
50 | 37·unsigned·int·grid1Index, | ||
51 | 38·const·Dune::GeometryType&·grid2ElementType, | ||
52 | 39·const·std::vector<Dune::FieldVector<T,dimworld>·>&·grid2ElementCorners, | ||
53 | 40·std::bitset<(1<<dim2)>&·neighborIntersects2, | ||
54 | 41·unsigned·int·grid2Index, | ||
55 | 42·std::vector<SimplicialIntersection>&·_\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8s) | ||
56 | 43{ | ||
57 | 44·using·std::min; | ||
58 | 45 | ||
59 | 46·this->counter++; | ||
60 | 47·_\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8s.clear(); | ||
61 | 48 | ||
62 | 49·typedef·_\x8S_\x8i_\x8m_\x8p_\x8l_\x8e_\x8x_\x8M_\x8e_\x8t_\x8h_\x8o_\x8d_\x8<_\x8d_\x8i_\x8m_\x8w_\x8o_\x8r_\x8l_\x8d_\x8,_\x8d_\x8i_\x8m_\x81_\x8,_\x8d_\x8i_\x8m_\x82_\x8,_\x8T_\x8>·CM; | ||
63 | 50 | ||
64 | 51#ifndef·NDEBUG | ||
65 | 52·const·auto&·refElement1·=·Dune::ReferenceElements<T,dim1>::general | ||
66 | (grid1ElementType); | ||
67 | 53·const·auto&·refElement2·=·Dune::ReferenceElements<T,dim2>::general | ||
68 | (grid2ElementType); | ||
69 | 54 | ||
70 | 55·//·A·few·consistency·checks | ||
71 | 56·assert((unsigned·int)(refElement1.size(dim1))·==·grid1ElementCorners.size | ||
72 | ()); | ||
73 | 57·assert((unsigned·int)(refElement2.size(dim2))·==·grid2ElementCorners.size | ||
74 | ()); | ||
75 | 58#endif | ||
76 | 59 | ||
77 | 60·//·Make·generic·geometries·representing·the·grid1-·and·grid2·element. | ||
78 | 61·//·this·eases·computation·of·local·coordinates. | ||
79 | 62·typedef·MultiLinearGeometry<T,dim1,dimworld>·Geometry1; | ||
80 | 63·typedef·MultiLinearGeometry<T,dim2,dimworld>·Geometry2; | ||
81 | 64 | ||
82 | 65·Geometry1·grid1Geometry(grid1ElementType,·grid1ElementCorners); | ||
83 | 66·Geometry2·grid2Geometry(grid2ElementType,·grid2ElementCorners); | ||
84 | 67 | ||
85 | 68·//·Dirty·workaround·for·the·intersection·computation·scaling·problem·(part | ||
86 | 1/2) | ||
87 | 69·std::vector<Dune::FieldVector<T,dimworld>·>·scaledGrid1ElementCorners | ||
88 | (grid1ElementCorners.size()); | ||
89 | 70·std::vector<Dune::FieldVector<T,dimworld>·>·scaledGrid2ElementCorners | ||
90 | (grid2ElementCorners.size()); | ||
91 | 71 | ||
92 | 72·//·the·scaling·parameter·is·the·length·minimum·of·the·lengths·of·the·first | ||
93 | edge·in·the·grid1·geometry | ||
Max diff block lines reached; 5353/16096 bytes (33.26%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-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="a00089_source.html">dune/grid-glue/merging/standardmerge.hh</a>></code><br·/> | ||
92 | <code>#include·<<a·class="el"·href="a00071_source.html">dune/grid-glue/merging/computeintersection.hh</a>></code><br·/> | ||
93 | <code>#include·"<a·class="el"·href="a00074_source.html">overlappingmerge.cc</a>"</code><br·/> | ||
94 | </div> | ||
83 | <p><a·href="a00083_source.html">Go·to·the·source·code·of·this·file.</a></p> | 95 | <p><a·href="a00083_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="a00083.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 83 | <a·href="a00083.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·©·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div> | 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·©·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div> |
86 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with-dune-grid-glue-exception</span></div> | 86 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with-dune-grid-glue-exception</span></div> |
87 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_GRIDGLUE_MERGING_OVERLAPPINGMERGE_HH</span></div> | ||
88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_GRIDGLUE_MERGING_OVERLAPPINGMERGE_HH</span></div> | ||
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="a00089.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="a00071.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:·co | 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, 47 lines modified | Offset 70, 29 lines modified | ||
70 | <div·id="nav-path"·class="navpath"> | 70 | <div·id="nav-path"·class="navpath"> |
71 | ··<ul> | 71 | ··<ul> |
72 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_0d8f660a135565b225f6b14e80c278b4.html">merging</a></li>··</ul> | 72 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_0d8f660a135565b225f6b14e80c278b4.html">merging</a></li>··</ul> |
73 | </div> | 73 | </div> |
74 | </div><!--·top·--> | 74 | </div><!--·top·--> |
75 | <div·class="header"> | 75 | <div·class="header"> |
76 | ··<div·class="summary"> | 76 | ··<div·class="summary"> |
77 | <a·href="#nested-classes">Classes</a>·| | ||
78 | <a·href="#namespaces">Namespaces</a>· | 77 | <a·href="#namespaces">Namespaces</a>··</div> |
79 | <a·href="#func-members">Functions</a>··</div> | ||
80 | ··<div·class="headertitle"><div·class="title">co | 78 | ··<div·class="headertitle"><div·class="title">contactmerge.cc·File·Reference</div></div> |
81 | </div><!--header--> | 79 | </div><!--header--> |
82 | <div·class="contents"> | 80 | <div·class="contents"> |
81 | <div·class="textblock"><code>#include·<<a·class="el"·href="a00032_source.html">dune/grid-glue/common/crossproduct.hh</a>></code><br·/> | ||
83 | <div·class="textblock"><code>#include·<dune/common/fvector.hh></code><br·/> | ||
84 | <code>#include·<dune/common/fmatrix.hh></code><br·/> | ||
85 | <code>#include·"<a·class="el"·href="a00083_source.html">simplexintersection.cc</a>"</code><br·/> | ||
86 | <code>#include·& | 82 | <code>#include·<<a·class="el"·href="a00050_source.html">dune/grid-glue/common/projection.hh</a>></code><br·/> |
87 | </div> | 83 | </div> |
88 | <p><a·href="a00086_source.html">Go·to·the·source·code·of·this·file.</a></p> | 84 | <p><a·href="a00086_source.html">Go·to·the·source·code·of·this·file.</a></p> |
89 | <table·class="memberdecls"> | 85 | <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="a01066.html">Dune::GridGlue::ComputationMethod<·dimWorld,·dim1,·dim2,·T·></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="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> | ||
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> |
104 | </table><table·class="memberdecls"> | ||
105 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> | ||
106 | Functions</h2></td></tr> | ||
107 | <tr·class="memitem:a273266aab32afadee15bb5fcf71aa4ca"·id="r_a273266aab32afadee15bb5fcf71aa4ca"><td·class="memTemplParams"·colspan="2">template<class·V·>·</td></tr> | ||
108 | <tr·class="memitem:a273266aab32afadee15bb5fcf71aa4ca"><td·class="memTemplItemLeft"·align="right"·valign="top">int </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00104.html#a273266aab32afadee15bb5fcf71aa4ca">Dune::GridGlue::insertPoint</a>·(const·V·p,·std::vector<·V·>·&P)</td></tr> | ||
109 | <tr·class="separator:a273266aab32afadee15bb5fcf71aa4ca"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
110 | </table> | 92 | </table> |
111 | </div><!--·contents·--> | 93 | </div><!--·contents·--> |
112 | <!--·start·footer·part·--> | 94 | <!--·start·footer·part·--> |
113 | <hr·class="footer"/><address·class="footer"><small> | 95 | <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 | 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 |
115 | </small></address> | 97 | </small></address> |
116 | </body> | 98 | </body> |
Offset 1, 32 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 | ||
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> | ||
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 | computeintersection.hh·File·Reference | ||
10 | #include·<dune/common/fvector.hh> | ||
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. | 12 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
15 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s | ||
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 | |||
22 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s | 13 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s |
23 | namespace· ·_\x8D_\x8u_\x8n_\x8e | 14 | namespace· ·_\x8D_\x8u_\x8n_\x8e |
24 | 15 | ||
25 | 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 |
26 | 17 | ||
27 | F\x8Fu\x8un\x8nc\x8ct\x8ti\x8io\x8on\x8ns\x8s | ||
28 | template<class·V·> | ||
29 | int ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8i_\x8n_\x8s_\x8e_\x8r_\x8t_\x8P_\x8o_\x8i_\x8n_\x8t·(const·V·p,·std::vector<·V·>·&P) | ||
30 | |||
31 | =============================================================================== | 18 | =============================================================================== |
32 | ·····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:·co | 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, 190 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">co | 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="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">//· | 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> | ||
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_COMPUTEINTERSECTION_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_COMPUTEINTERSECTION_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·<dune/common/ | 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·<dune/common/ | 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> | 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> | 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> | 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> | 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>·dim | 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="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="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="l000 | 104 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>{</div> |
103 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno"><a·class="line"·href="a01066.html#a4ccf836519152bee09ab75f6dd58f537">···20</a></span>····<span·class="keyword">static</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01066.html#a4ccf836519152bee09ab75f6dd58f537">computeIntersectionPoints</a>(<span·class="keyword">const</span>·std::vector<Vector>·X,</div> | ||
104 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>··················································<span·class="keyword">const</span>·std::vector<Vector>·Y,</div> | ||
105 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>··················································std::vector<std::vector<int>·>&·SX,</div> | ||
106 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>··················································std::vector<std::vector<int>·>&·SY,</div> | ||
107 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>··················································std::vector<Vector>&·P);</div> | ||
108 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno"><a·class="line"·href="a01066.html#a86c46c7655b6e75487f7e07cd9afadd7">···25</a></span>····<span·class="keyword">static</span>·<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01066.html#a86c46c7655b6e75487f7e07cd9afadd7">grid1_subdivisions</a>(<span·class="keyword">const</span>·std::vector<Vector>·elementCorners,</div> | ||
109 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·····································std::vector<std::vector<unsigned·int>·>&·subElements,</div> | ||
110 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·····································std::vector<std::vector<int>·>&·faceIds);</div> | ||
111 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno"><a·class="line"·href="a01066.html#a432bc1ce2807ba11a0117f0846ccba19">···28</a></span>····<span·class="keyword">static</span>·<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01066.html#a432bc1ce2807ba11a0117f0846ccba19">grid2_subdivisions</a>(<span·class="keyword">const</span>·std::vector<Vector>·elementCorners,</div> | ||
112 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·····································std::vector<std::vector<unsigned·int>·>&·subElements,</div> | ||
113 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·····································std::vector<std::vector<int>·>&·faceIds);</div> | ||
114 | <div·class="line"><a·id="l000 | 105 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>····<span·class="keyword">using·</span>std::get;</div> |
115 | </div> | ||
116 | <div·class="line"><a·id="l000 | 106 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> |
107 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>····std::vector<std::array<LocalCoords,2>·>·polytopeCorners;</div> | ||
108 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div> | ||
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="l000 | 109 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>····<span·class="comment">//·Initialize</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="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> | ||
112 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div> | ||
113 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>····<span·class="keyword">const</span>·<span·class="keywordtype">int</span>·nCorners1·=·grid1ElementCorners.size();</div> | ||
114 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>····<span·class="keyword">const</span>·<span·class="keywordtype">int</span>·nCorners2·=·grid2ElementCorners.size();</div> | ||
115 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div> | ||
125 | <div·class="line"><a·id="l000 | 116 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>····<span·class="keywordflow">if</span>·(nCorners1·!=·dimworld)</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="l000 | 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>·<<[·...·truncated·by·diffoscope;·len:·11,·SHA:·cd05bd98cfca7f22ccdd9b518e988c603791eb714fe2a5f7da4d834bc373ba8c·...·]);</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> | ||
125 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div> | ||
126 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>····<span·class="comment">//·The·grid2·projection·directions</span></div> | ||
127 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>····std::vector<WorldCoords>·directions2(nCorners2);</div> | ||
128 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>····<span·class="keywordflow">for</span>·(<span·class="keywordtype">size_t</span>·i=0;·i<directions2.size();·i++)</div> | ||
129 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>········directions2[i]·=·nodalTargetDirections_[this->grid2ElementCorners_[grid2Index][i]];</div> | ||
130 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div> | ||
131 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>····<span·class="comment">//·The·difference·between·the·closest·point·projection·and·the·normal·projection·is·just·the·ordering</span></div> | ||
132 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>····<span·class="comment">//·of·the·involved·surfaces.·The·closest·point·projection·is·done·along·the·outer·normal·field·of·grid2</span></div> | ||
133 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>····<span·class="comment">//·(due·to·being·a·best·approximation)·and·the·outer·normal·projection·is·using·the·outer·normal·field</span></div> | ||
134 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>····<span·class="comment">//·of·grid1·instead.</span></div> | ||
135 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>····std::array<<span·class="keyword">decltype</span>(std::cref(grid1ElementCorners)),2>·cornersRef·={std::cref(grid1ElementCorners),·std::cref(grid2ElementCorners)};</div> | ||
136 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>····std::array<<span·class="keyword">decltype</span>(std::cref(directions1)),2>·directionsRef·={std::cref(directions1),·std::cref(directions2)};</div> | ||
137 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>····std::array<Dune::GeometryType,2>·elementTypes·=·{grid1ElementType,·grid2ElementType};</div> | ||
138 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·</div> | ||
139 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>····<span·class="comment">//·Determine·which·is·the·grid·we·use·for·outer·normal·projection</span></div> | ||
140 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>····<span·class="keyword">const</span>·<span·class="keywordtype">size_t</span>·domGrid·=·(type_==ProjectionType::OUTER_NORMAL)·?·0·:·1;</div> | ||
141 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>····<span·class="keyword">const</span>·<span·class="keywordtype">size_t</span>·tarGrid·=·(type_==ProjectionType::OUTER_NORMAL)·?·1·:·0;</div> | ||
142 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div> | ||
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> | ||
131 | <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> |
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 | 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> | ||
Max diff block lines reached; 44196/94183 bytes (46.93%) of diff not shown. |
Offset 1, 214 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 | co | 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·-*- | ||
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 | 5 | 16 | 5 |
17 | 6#include·<dune/common/fvector.hh> | ||
18 | 17 | 6#include·<_.d_.u_.n_.e_./_.g_.r_.i_.d_.-_.g_.l_.u_.e_./_.c_.o_.m_.m_.o_.n_./_.c_.r_.o_.s_.s_.p_.r_.o_.d_.u_.c_.t_.._.h_.h> | |
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 | 19 | 8 |
20 | 9namespace·_\x8D_\x8u_\x8n_\x8e·{ | 20 | 9namespace·_\x8D_\x8u_\x8n_\x8e·{ |
21 | 10namespace·GridGlue·{ | 21 | 10namespace·GridGlue·{ |
22 | 11 | 22 | 11 |
23 | 12template<int·dimWorld,·int·dim1,·int·dim2,·typename·T·=·double> | ||
24 | _\x81_\x83class·_\x8C_\x8o_\x8m_\x8p_\x8u_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8M_\x8e_\x8t_\x8h_\x8o_\x8d·{ | ||
25 | 14public: | ||
26 | _\x81_\x85·typedef·FieldVector<T,·dimWorld>·_\x8V_\x8e_\x8c_\x8t_\x8o_\x8r; | ||
27 | _\x81_\x86·static·const·int·_\x8g_\x8r_\x8i_\x8d_\x81_\x8D_\x8i_\x8m_\x8e_\x8n_\x8s_\x8i_\x8o_\x8n·=·dim1; | ||
28 | _\x81_\x87·static·const·int·_\x8g_\x8r_\x8i_\x8d_\x82_\x8D_\x8i_\x8m_\x8e_\x8n_\x8s_\x8i_\x8o_\x8n·=·dim2; | ||
29 | _\x81_\x88·static·const·int·_\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8D_\x8i_\x8m_\x8e_\x8n_\x8s_\x8i_\x8o_\x8n·=·(dim1·<·dim2)?(dim1):(dim2); | ||
30 | 19 | ||
31 | _\x82_\x80·static·bool·_\x8c_\x8o_\x8m_\x8p_\x8u_\x8t_\x8e_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8P_\x8o_\x8i_\x8n_\x8t_\x8s(const·std::vector<Vector>·X, | ||
32 | 21·const·std::vector<Vector>·Y, | ||
33 | 22·std::vector<std::vector<int>·>&·SX, | ||
34 | 23·std::vector<std::vector<int>·>&·SY, | ||
35 | 24·std::vector<Vector>&·P); | ||
36 | _\x82_\x85·static·void·_\x8g_\x8r_\x8i_\x8d_\x81_\x8__\x8s_\x8u_\x8b_\x8d_\x8i_\x8v_\x8i_\x8s_\x8i_\x8o_\x8n_\x8s(const·std::vector<Vector>·elementCorners, | ||
37 | 26·std::vector<std::vector<unsigned·int>·>&·subElements, | ||
38 | 27·std::vector<std::vector<int>·>&·faceIds); | ||
39 | _\x82_\x88·static·void·_\x8g_\x8r_\x8i_\x8d_\x82_\x8__\x8s_\x8u_\x8b_\x8d_\x8i_\x8v_\x8i_\x8s_\x8i_\x8o_\x8n_\x8s(const·std::vector<Vector>·elementCorners, | ||
40 | 29·std::vector<std::vector<unsigned·int>·>&·subElements, | ||
41 | 30·std::vector<std::vector<int>·>&·faceIds); | ||
42 | 31}; | ||
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 | 23 | 12template<int·dimworld,·typename·T> | |
24 | 13void·ContactMerge<dimworld,·T>::computeIntersections(const·Dune:: | ||
25 | GeometryType&·grid1ElementType, | ||
26 | 14·const·std::vector<Dune::FieldVector<T,dimworld>·>&·grid1ElementCorners, | ||
27 | 15·std::bitset<(1<<dim)>&·neighborIntersects1, | ||
28 | 16·unsigned·int·grid1Index, | ||
29 | 17·const·Dune::GeometryType&·grid2ElementType, | ||
30 | 18·const·std::vector<Dune::FieldVector<T,dimworld>·>&·grid2ElementCorners, | ||
31 | 19·std::bitset<(1<<dim)>&·neighborIntersects2, | ||
32 | 20·unsigned·int·grid2Index, | ||
33 | 21·std::vector<SimplicialIntersection>&·_\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8s) | ||
34 | 22{ | ||
35 | 23·using·std::get; | ||
36 | 24 | ||
37 | 25·std::vector<std::array<LocalCoords,2>·>·polytopeCorners; | ||
38 | 26 | ||
39 | 27·//·Initialize | ||
40 | 28·neighborIntersects1.reset(); | ||
41 | 29·neighborIntersects2.reset(); | ||
42 | 30 | ||
43 | 31·const·int·nCorners1·=·grid1ElementCorners.size(); | ||
44 | 32·const·int·nCorners2·=·grid2ElementCorners.size(); | ||
45 | 33 | ||
46 | 34·if·(nCorners1·!=·dimworld) | ||
47 | 35·DUNE_THROW(Dune::Exception,·"element1·must·have·"·<<·dimworld·<<·"·corners, | ||
48 | but·has·"·<<·nCorners1); | ||
49 | 36·if·(nCorners2·!=·dimworld) | ||
50 | 37·DUNE_THROW(Dune::Exception,·"element2·must·have·"·<<·dimworld·<<·"·corners, | ||
51 | but·has·"·<<·nCorners2); | ||
52 | 38 | ||
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 | ||
83 | 62·//·Compute·all·corners·of·the·intersection·polytope | ||
57 | 64 | 84 | 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·{ | ||
Max diff block lines reached; 14848/26492 bytes (56.05%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-grid-glue:· | 8 | <title>dune-grid-glue:·standardmerge.hh·File·Reference</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 71, 55 lines modified | Offset 71, 139 lines modified | ||
71 | ··<ul> | 71 | ··<ul> |
72 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_0d8f660a135565b225f6b14e80c278b4.html">merging</a></li>··</ul> | 72 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_0d8f660a135565b225f6b14e80c278b4.html">merging</a></li>··</ul> |
73 | </div> | 73 | </div> |
74 | </div><!--·top·--> | 74 | </div><!--·top·--> |
75 | <div·class="header"> | 75 | <div·class="header"> |
76 | ··<div·class="summary"> | 76 | ··<div·class="summary"> |
77 | <a·href="#nested-classes">Classes</a>·| | 77 | <a·href="#nested-classes">Classes</a>·| |
78 | <a·href="#namespaces">Namespaces</a>· | 78 | <a·href="#namespaces">Namespaces</a>·| |
79 | <a·href="#define-members">Macros</a>·| | ||
80 | <a·href="#func-members">Functions</a>··</div> | ||
79 | ··<div·class="headertitle"><div·class="title"> | 81 | ··<div·class="headertitle"><div·class="title">standardmerge.hh·File·Reference</div></div> |
80 | </div><!--header--> | 82 | </div><!--header--> |
81 | <div·class="contents"> | 83 | <div·class="contents"> |
82 | <p> | 84 | <p>Common·base·class·for·many·merger·implementations:·produce·pairs·of·entities·that·<em>may</em>·intersect.·· |
83 | <a·href="#details">More...</a></p> | 85 | <a·href="#details">More...</a></p> |
84 | <div·class="textblock"><code>#include·<iostream></code><br·/> | 86 | <div·class="textblock"><code>#include·<iostream></code><br·/> |
85 | <code>#include·<fstream></code><br·/> | ||
86 | <code>#include·<iomanip></code><br·/> | 87 | <code>#include·<iomanip></code><br·/> |
87 | <code>#include·<vector></code><br·/> | 88 | <code>#include·<vector></code><br·/> |
89 | <code>#include·<stack></code><br·/> | ||
88 | <code>#include·< | 90 | <code>#include·<set></code><br·/> |
89 | <code>#include·< | 91 | <code>#include·<utility></code><br·/> |
92 | <code>#include·<map></code><br·/> | ||
90 | <code>#include·<memory></code><br·/> | 93 | <code>#include·<memory></code><br·/> |
91 | <code>#include·< | 94 | <code>#include·<algorithm></code><br·/> |
92 | <code>#include·<dune/common/fvector.hh></code><br·/> | 95 | <code>#include·<dune/common/fvector.hh></code><br·/> |
93 | <code>#include·<dune/common/exceptions.hh></code><br·/> | ||
94 | <code>#include·<dune/common/bitsetvector.hh></code><br·/> | 96 | <code>#include·<dune/common/bitsetvector.hh></code><br·/> |
97 | <code>#include·<dune/common/stdstreams.hh></code><br·/> | ||
95 | <code>#include·<dune/common/ | 98 | <code>#include·<dune/common/timer.hh></code><br·/> |
99 | <code>#include·<dune/geometry/referenceelements.hh></code><br·/> | ||
96 | <code>#include·<dune/grid/common/grid.hh></code><br·/> | 100 | <code>#include·<dune/grid/common/grid.hh></code><br·/> |
101 | <code>#include·<<a·class="el"·href="a00095_source.html">dune/grid-glue/merging/intersectionlist.hh</a>></code><br·/> | ||
97 | <code>#include·<<a·class="el"·href="a000 | 102 | <code>#include·<<a·class="el"·href="a00080_source.html">dune/grid-glue/merging/merger.hh</a>></code><br·/> |
98 | <code>#include·<<a·class="el"·href="a000 | 103 | <code>#include·<<a·class="el"·href="a00071_source.html">dune/grid-glue/merging/computeintersection.hh</a>></code><br·/> |
99 | <code>#include·"<a·class="el"·href="a00074_source.html">contactmerge.cc</a>"</code><br·/> | ||
100 | </div> | 104 | </div> |
101 | <p><a·href="a00089_source.html">Go·to·the·source·code·of·this·file.</a></p> | 105 | <p><a·href="a00089_source.html">Go·to·the·source·code·of·this·file.</a></p> |
102 | <table·class="memberdecls"> | 106 | <table·class="memberdecls"> |
103 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 107 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
104 | Classes</h2></td></tr> | 108 | Classes</h2></td></tr> |
105 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01 | 109 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01162.html">Dune::GridGlue::StandardMerge<·T,·grid1Dim,·grid2Dim,·dimworld·></a></td></tr> |
106 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight"> | 110 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Common·base·class·for·many·merger·implementations:·produce·pairs·of·entities·that·<em>may</em>·intersect.··<a·href="a01162.html#details">More...</a><br·/></td></tr> |
107 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 111 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
108 | </table><table·class="memberdecls"> | 112 | </table><table·class="memberdecls"> |
109 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 113 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
110 | Namespaces</h2></td></tr> | 114 | Namespaces</h2></td></tr> |
111 | <tr·class="memitem:a00103"·id="r_a00103"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00103.html">Dune</a></td></tr> | 115 | <tr·class="memitem:a00103"·id="r_a00103"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00103.html">Dune</a></td></tr> |
112 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 116 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
113 | <tr·class="memitem:a00104"·id="r_a00104"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00104.html">Dune::GridGlue</a></td></tr> | 117 | <tr·class="memitem:a00104"·id="r_a00104"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00104.html">Dune::GridGlue</a></td></tr> |
114 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 118 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
119 | </table><table·class="memberdecls"> | ||
120 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="define-members"·name="define-members"></a> | ||
121 | Macros</h2></td></tr> | ||
122 | <tr·class="memitem:ad5c7ca0181fea7823b37d06d5f61e9cd"·id="r_ad5c7ca0181fea7823b37d06d5f61e9cd"><td·class="memItemLeft"·align="right"·valign="top">#define </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00089.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="a00089.html#a4a2b0f7fb92723749fc6d5cca82a4297">STANDARD_MERGE_INSTANTIATE</a>(T,··A,··B,··C)</td></tr> | ||
125 | <tr·class="separator:a4a2b0f7fb92723749fc6d5cca82a4297"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
126 | </table><table·class="memberdecls"> | ||
127 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> | ||
128 | Functions</h2></td></tr> | ||
129 | <tr·class="memitem:a24cc77615b28d89c63bbf0bc56bd4c47"·id="r_a24cc77615b28d89c63bbf0bc56bd4c47"><td·class="memItemLeft"·align="right"·valign="top"> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00104.html#a24cc77615b28d89c63bbf0bc56bd4c47">Dune::GridGlue::STANDARD_MERGE_INSTANTIATE</a>·(double,·1,·1,·1)</td></tr> | ||
130 | <tr·class="separator:a24cc77615b28d89c63bbf0bc56bd4c47"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
131 | <tr·class="memitem:aa5c636241cf52ea647e948fcd9339923"·id="r_aa5c636241cf52ea647e948fcd9339923"><td·class="memItemLeft"·align="right"·valign="top"> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00104.html#aa5c636241cf52ea647e948fcd9339923">Dune::GridGlue::STANDARD_MERGE_INSTANTIATE</a>·(double,·2,·2,·2)</td></tr> | ||
132 | <tr·class="separator:aa5c636241cf52ea647e948fcd9339923"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
133 | <tr·class="memitem:aa1057477f7967001ea15f5928e90f84c"·id="r_aa1057477f7967001ea15f5928e90f84c"><td·class="memItemLeft"·align="right"·valign="top"> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00104.html#aa1057477f7967001ea15f5928e90f84c">Dune::GridGlue::STANDARD_MERGE_INSTANTIATE</a>·(double,·3,·3,·3)</td></tr> | ||
134 | <tr·class="separator:aa1057477f7967001ea15f5928e90f84c"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
115 | </table> | 135 | </table> |
116 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> | 136 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> |
117 | <div·class="textblock"><p> | 137 | <div·class="textblock"><p>Common·base·class·for·many·merger·implementations:·produce·pairs·of·entities·that·<em>may</em>·intersect.·</p> |
138 | </div><h2·class="groupheader">Macro·Definition·Documentation</h2> | ||
139 | <a·id="ad5c7ca0181fea7823b37d06d5f61e9cd"·name="ad5c7ca0181fea7823b37d06d5f61e9cd"></a> | ||
140 | <h2·class="memtitle"><span·class="permalink"><a·href="#ad5c7ca0181fea7823b37d06d5f61e9cd">◆ </a></span>DECL</h2> | ||
141 | <div·class="memitem"> | ||
142 | <div·class="memproto"> | ||
143 | ······<table·class="memname"> | ||
144 | ········<tr> | ||
145 | ··········<td·class="memname">#define·DECL   extern</td> | ||
146 | ········</tr> | ||
147 | ······</table> | ||
148 | </div><div·class="memdoc"> | ||
149 | </div> | ||
150 | </div> | ||
151 | <a·id="a4a2b0f7fb92723749fc6d5cca82a4297"·name="a4a2b0f7fb92723749fc6d5cca82a4297"></a> | ||
152 | <h2·class="memtitle"><span·class="permalink"><a·href="#a4a2b0f7fb92723749fc6d5cca82a4297">◆ </a></span>STANDARD_MERGE_INSTANTIATE</h2> | ||
153 | <div·class="memitem"> | ||
154 | <div·class="memproto"> | ||
155 | ······<table·class="memname"> | ||
156 | ········<tr> | ||
157 | ··········<td·class="memname">#define·STANDARD_MERGE_INSTANTIATE</td> | ||
158 | ··········<td>(</td> | ||
159 | ··········<td·class="paramtype"> </td> | ||
160 | ··········<td·class="paramname">T,·</td> | ||
161 | ········</tr> | ||
162 | ········<tr> | ||
163 | ··········<td·class="paramkey"></td> | ||
164 | ··········<td></td> | ||
165 | ··········<td·class="paramtype"> </td> | ||
166 | ··········<td·class="paramname">A,·</td> | ||
167 | ········</tr> | ||
168 | ········<tr> | ||
169 | ··········<td·class="paramkey"></td> | ||
170 | ··········<td></td> | ||
171 | ··········<td·class="paramtype"> </td> | ||
172 | ··········<td·class="paramname">B,·</td> | ||
173 | ········</tr> | ||
174 | ········<tr> | ||
Max diff block lines reached; 243/12376 bytes (1.96%) of diff not shown. |
Offset 1, 41 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 | 8 | _\x8C_\x8l_\x8a_\x8s_\x8s_\x8e_\x8s·|·_\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s·|·_.M_.a_.c_.r_.o_.s·|·_.F_.u_.n_.c_.t_.i_.o_.n_.s |
9 | 9 | standardmerge.hh·File·Reference | |
10 | 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. | ||
11 | #include·<iostream> | 12 | #include·<iostream> |
12 | #include·<fstream> | ||
13 | #include·<iomanip> | 13 | #include·<iomanip> |
14 | #include·<vector> | 14 | #include·<vector> |
15 | #include·< | 15 | #include·<stack> |
16 | #include·<set> | ||
16 | #include·< | 17 | #include·<utility> |
18 | #include·<map> | ||
17 | #include·<memory> | 19 | #include·<memory> |
18 | #include·< | 20 | #include·<algorithm> |
19 | #include·<dune/common/fvector.hh> | 21 | #include·<dune/common/fvector.hh> |
20 | #include·<dune/common/exceptions.hh> | ||
21 | #include·<dune/common/bitsetvector.hh> | 22 | #include·<dune/common/bitsetvector.hh> |
23 | #include·<dune/common/stdstreams.hh> | ||
22 | #include·<dune/common/ | 24 | #include·<dune/common/timer.hh> |
25 | #include·<dune/geometry/referenceelements.hh> | ||
23 | #include·<dune/grid/common/grid.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> | ||
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/_\x8 | 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_.e_.r_.g_.e_.r_\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> | ||
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. | 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. |
28 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s | 31 | 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 | ······ | 32 | class· ·_.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_.<_.·_.T_.,_.·_.g_.r_.i_.d_.1_.D_.i_.m_.,_.·_.g_.r_.i_.d_.2_.D_.i_.m_.,_.·_.d_.i_.m_.w_.o_.r_.l_.d_.·_.> |
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. | ||
32 | 35 | ||
33 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s | 36 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s |
34 | namespace· ·_\x8D_\x8u_\x8n_\x8e | 37 | namespace· ·_\x8D_\x8u_\x8n_\x8e |
35 | 38 | ||
36 | 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 |
37 | 40 | ||
41 | M\x8Ma\x8ac\x8cr\x8ro\x8os\x8s | ||
42 | #define ·_\x8D_\x8E_\x8C_\x8L extern | ||
43 | |||
44 | #define ·_\x8S_\x8T_\x8A_\x8N_\x8D_\x8A_\x8R_\x8D_\x8__\x8M_\x8E_\x8R_\x8G_\x8E_\x8__\x8I_\x8N_\x8S_\x8T_\x8A_\x8N_\x8T_\x8I_\x8A_\x8T_\x8E(T,·A,·B,·C) | ||
45 | |||
46 | F\x8Fu\x8un\x8nc\x8ct\x8ti\x8io\x8on\x8ns\x8s | ||
47 | ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8S_\x8T_\x8A_\x8N_\x8D_\x8A_\x8R_\x8D_\x8__\x8M_\x8E_\x8R_\x8G_\x8E_\x8__\x8I_\x8N_\x8S_\x8T_\x8A_\x8N_\x8T_\x8I_\x8A_\x8T_\x8E·(double,·1,·1,·1) | ||
48 | |||
49 | ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8S_\x8T_\x8A_\x8N_\x8D_\x8A_\x8R_\x8D_\x8__\x8M_\x8E_\x8R_\x8G_\x8E_\x8__\x8I_\x8N_\x8S_\x8T_\x8A_\x8N_\x8T_\x8I_\x8A_\x8T_\x8E·(double,·2,·2,·2) | ||
50 | |||
51 | ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8S_\x8T_\x8A_\x8N_\x8D_\x8A_\x8R_\x8D_\x8__\x8M_\x8E_\x8R_\x8G_\x8E_\x8__\x8I_\x8N_\x8S_\x8T_\x8A_\x8N_\x8T_\x8I_\x8A_\x8T_\x8E·(double,·3,·3,·3) | ||
52 | |||
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* | 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* |
39 | 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 | ||
40 | =============================================================================== | 78 | =============================================================================== |
41 | ·····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, 235 lines modified | Offset 74, 857 lines modified | ||
74 | <div·id="nav-path"·class="navpath"> | 74 | <div·id="nav-path"·class="navpath"> |
75 | ··<ul> | 75 | ··<ul> |
76 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_0d8f660a135565b225f6b14e80c278b4.html">merging</a></li>··</ul> | 76 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_0d8f660a135565b225f6b14e80c278b4.html">merging</a></li>··</ul> |
77 | </div> | 77 | </div> |
78 | </div><!--·top·--> | 78 | </div><!--·top·--> |
79 | <div·class="header"> | 79 | <div·class="header"> |
80 | ··<div·class="headertitle"><div·class="title"> | 80 | ··<div·class="headertitle"><div·class="title">standardmerge.hh</div></div> |
81 | </div><!--header--> | 81 | </div><!--header--> |
82 | <div·class="contents"> | 82 | <div·class="contents"> |
83 | <a·href="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="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#ifndef·DUNE_GRIDGLUE_MERGING_ | 87 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#ifndef·DUNE_GRIDGLUE_MERGING_STANDARDMERGE_HH</span></div> |
88 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#define·DUNE_GRIDGLUE_MERGING_ | 88 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#define·DUNE_GRIDGLUE_MERGING_STANDARDMERGE_HH</span></div> |
89 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div> | 89 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div> |
90 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> | 90 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> |
91 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<iostream></span></div> | 91 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<iostream></span></div> |
92 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·<fstream></span></div> | ||
93 | <div·class="line"><a·id="l0001 | 92 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·<iomanip></span></div> |
94 | <div·class="line"><a·id="l0001 | 93 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·<vector></span></div> |
94 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·<stack></span></div> | ||
95 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·< | 95 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·<set></span></div> |
96 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·< | 96 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·<utility></span></div> |
97 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·<map></span></div> | ||
97 | <div·class="line"><a·id="l0002 | 98 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·<memory></span></div> |
98 | <div·class="line"><a·id="l0002 | 99 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·<algorithm></span></div> |
99 | <div·class="line"><a·id="l0002 | 100 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div> |
100 | <div·class="line"><a·id="l0002 | 101 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#include·<dune/common/fvector.hh></span></div> |
101 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#include·<dune/common/exceptions.hh></span></div> | ||
102 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#include·<dune/common/bitsetvector.hh></span></div> | 102 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#include·<dune/common/bitsetvector.hh></span></div> |
103 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#include·<dune/common/d | 103 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#include·<dune/common/stdstreams.hh></span></div> |
104 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="preprocessor">#include·<dune/common/timer.hh></span></div> | ||
104 | <div·class="line"><a·id="l0002 | 105 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div> |
106 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#include·<dune/geometry/referenceelements.hh></span></div> | ||
105 | <div·class="line"><a·id="l000 | 107 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·<dune/grid/common/grid.hh></span></div> |
106 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div> | ||
107 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·<<a·class="code"·href="a00095.html">dune/grid-glue/merging/standardmerge.hh</a>></span></div> | ||
108 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#include·<<a·class="code"·href="a00002.html">dune/grid-glue/gridglue.hh</a>></span></div> | ||
109 | <div·class="line"><a·id="l0003 | 108 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div> |
110 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00103.html">Dune</a>·{</div> | ||
111 | <div·class="line"><a·id="l0003 | 109 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">#include·<<a·class="code"·href="a00095.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="a00080.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="a00071.html">dune/grid-glue/merging/computeintersection.hh</a>></span></div> | ||
112 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div> | 112 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div> |
113 | <div·class="line"><a·id="l000 | 113 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00103.html">Dune</a>·{</div> |
114 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="keyword">namespace·</span>GridGlue·{</div> | ||
115 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div> | ||
116 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span><span·class="keyword">template</span><<span·class="keyword">class</span>·T,·<span·class="keywordtype">int</span>·gr<span·class="keywordtype">id</span>1Dim,·<span·class="keywordtype">int</span>·gr<span·class="keywordtype">id</span>2Dim,·<span·class="keywordtype">int</span>·dimworld></div> | ||
114 | <div·class="foldopen"·id="foldopen000 | 117 | <div·class="foldopen"·id="foldopen00056"·data-start="{"·data-end="};"> |
118 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno"><a·class="line"·href="a01162.html">···56</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01162.html">StandardMerge</a></div> | ||
119 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>··:·<span·class="keyword">public</span>·<a·class="code·hl_class"·href="a01110.html">Merger</a><T,grid1Dim,grid2Dim,dimworld></div> | ||
115 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno"><a·class="line"·href="a01078.html">···42</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01078.html">ContactMerge</a></div> | ||
116 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>:·<span·class="keyword">public</span>·<a·class="code·hl_class"·href="a01162.html">StandardMerge</a><T,dimworld-1,dimworld-1,dimworld></div> | ||
117 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>{</div> | ||
118 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>····<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<span·class="keywordtype">int</span>·dim·=·dimworld-1;</div> | ||
119 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div> | ||
120 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>····<span·class="keyword">static_assert</span>(·dim==1·||·dim==2,</div> | ||
121 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>············<span·class="stringliteral">"ContactMerge·yet·only·handles·the·cases·dim==1·and·dim==2!"</span>);</div> | ||
122 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div> | ||
123 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>····<span·class="keyword">typedef</span>·<a·class="code·hl_class"·href="a01162.html">StandardMerge<T,dim,dim,dimworld></a>·<a·class="code·hl_class"·href="a01162.html">Base</a>;</div> | ||
124 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span><span·class="keyword">public</span>:</div> | ||
125 | <div·class="line"><a·id="l0005 | 120 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>{</div> |
121 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>··<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01110.html">Base</a>·=·<a·class="code·hl_class"·href="a01110.html">Merger<T,·grid1Dim,·grid2Dim,·dimworld></a>;</div> | ||
126 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>····<span·class="comment">/*···E·X·P·O·R·T·E·D···T·Y·P·E·S···A·N·D···C·O·N·S·T·A·N·T·S···*/</span></div> | ||
127 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div> | ||
128 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno"><a·class="line"·href="a01078.html#a5766f4df22f84a6b07d6ad8e977bc650">···56</a></span>····<span·class="keyword">typedef</span>·T·<a·class="code·hl_typedef"·href="a01078.html#a5766f4df22f84a6b07d6ad8e977bc650">ctype</a>;</div> | ||
129 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div> | ||
130 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno"><a·class="line"·href="a01078.html#a2c51a803aec94d361d74c45f500eac3a">···59</a></span>····<span·class="keyword">typedef</span>·Dune::FieldVector<T,·dimworld>··<a·class="code·hl_typedef"·href="a01078.html#a2c51a803aec94d361d74c45f500eac3a">WorldCoords</a>;</div> | ||
131 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div> | 122 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div> |
132 | <div·class="line"><a·id="l0006 | 123 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span><span·class="keyword">public</span>:</div> |
133 | <div·class="line"><a·id="l0006 | 124 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div> |
125 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>··<span·class="comment">/*···E·X·P·O·R·T·E·D···T·Y·P·E·S···A·N·D···C·O·N·S·T·A·N·T·S···*/</span></div> | ||
126 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>·</div> | ||
127 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno"><a·class="line"·href="a01162.html#a3d284cb584f83589e0b94999b656959e">···66</a></span>··<span·class="keyword">typedef</span>·T·<a·class="code·hl_typedef"·href="a01162.html#a3d284cb584f83589e0b94999b656959e">ctype</a>;</div> | ||
134 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno"><a·class="line"·href="a01078.html#a64b00dbd05b81c313858487b68d90601a99989c22f5a72f6601003cb8aefad178">···65</a></span>····<span·class="keyword">enum</span>·<a·class="code·hl_enumeration"·href="a01078.html#a64b00dbd05b81c313858487b68d90601">ProjectionType</a>·{<a·class="code·hl_enumvalue"·href="a01078.html#a64b00dbd05b81c313858487b68d90601a9bc838df987b26a05f9af8182d7b48cf">OUTER_NORMAL</a>,·<a·class="code·hl_enumvalue"·href="a01078.html#a64b00dbd05b81c313858487b68d90601a99989c22f5a72f6601003cb8aefad178">CLOSEST_POINT</a>};</div> | ||
135 | <div·class="foldopen"·id="foldopen00073"·data-start="{"·data-end="}"> | ||
136 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno"><a·class="line"·href="a01078.html#a9c34cac3830aaafbdc1ca8ae8e302a46">···73</a></span>····<a·class="code·hl_function"·href="a01078.html#a9c34cac3830aaafbdc1ca8ae8e302a46">ContactMerge</a>(<span·class="keyword">const</span>·T·allowedOverlap=T(0),</div> | ||
137 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>·················std::function<<a·class="code·hl_typedef"·href="a01078.html#a2c51a803aec94d361d74c45f500eac3a">WorldCoords</a>(<a·class="code·hl_typedef"·href="a01078.html#a2c51a803aec94d361d74c45f500eac3a">WorldCoords</a>)>·domainDirections=<span·class="keyword">nullptr</span>,</div> | ||
138 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>·················std::function<<a·class="code·hl_typedef"·href="a01078.html#a2c51a803aec94d361d74c45f500eac3a">WorldCoords</a>(<a·class="code·hl_typedef"·href="a01078.html#a2c51a803aec94d361d74c45f500eac3a">WorldCoords</a>)>·targetDirections=<span·class="keyword">nullptr</span>,</div> | ||
139 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>·················<a·class="code·hl_enumeration"·href="a01078.html#a64b00dbd05b81c313858487b68d90601">ProjectionType</a>·type·=·<a·class="code·hl_enumvalue"·href="a01078.html#a64b00dbd05b81c313858487b68d90601a9bc838df987b26a05f9af8182d7b48cf">OUTER_NORMAL</a>)</div> | ||
140 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>········:·domainDirections_(domainDirections),·targetDirections_(targetDirections),</div> | ||
141 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>··········overlap_(allowedOverlap),·type_(type)</div> | ||
142 | <div·class="line"><a·id="l000 | 128 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div> |
143 | </div> | 129 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno"><a·class="line"·href="a01162.html#a08e3749b28fa4f6db1f0323cbf5cc708">···69</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01162.html#a08e3749b28fa4f6db[·...·truncated·by·diffoscope;·len:·176,·SHA:·e8647fa700034c562e1683b8784344f37ee59395f9ad24ffb347cf278806f98d·...·]/div> |
130 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div> | ||
131 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno"><a·class="line"·href="a01162.html#aaebefd3766c125d855695972d55ea926">···72</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01162.html#aaebefd3766c125d855695972d55ea926">Grid2Coords</a>·=·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a01110.html#aef3557713bdf003e676d382ce333e1d6">Base::Grid2Coords</a>;</div> | ||
132 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</div> | ||
133 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno"><a·class="line"·href="a01162.html#ae4b560a6c41b23a7365182fdac9531b8">···75</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01162.html#ae4b560a6c41b23a7365182fdac9531b8">WorldCoords</a>·=·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a01110.html#a188d6a829994e6552b894a99dc53a944">Base::WorldCoords</a>;</div> | ||
134 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>·</div> | ||
135 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno"><a·class="line"·href="a01162.html#a56c890ca85f1549350566810a218469c">···77</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01162.html#a56c890ca85f1549350566810a218469c">IntersectionList</a>·=·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a01110.html#a2b4e92fdb207acd9f974c9f85911a74f">Base::IntersectionList</a>;</div> | ||
136 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div> | ||
137 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span><span·class="keyword">protected</span>:</div> | ||
144 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>·</div> | 138 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>·</div> |
139 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno"><a·class="line"·href="a01162.html#acddba05fcd574e70de3c1d321d3fd320">···82</a></span>··<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01102.html">IntersectionListProvider</a>·=·<a·class="code·hl_class"·href="a01102.html">SimplicialIntersectionListProvider<grid1Dim,·grid2Dim></a>;</div> | ||
140 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno"><a·class="line"·href="a01162.html#adb5251bea3ebf4ec7d31516d4ef8aba2">···83</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01162.html#adb5251bea3ebf4ec7d31516d4ef8aba2">SimplicialIntersection</a>·=·<span·class="keyword">typename</span>·<a·class="code·hl_struct"·href="a01106.html">IntersectionListProvider::SimplicialIntersection</a>;</div> | ||
141 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno"><a·class="line"·href="a01162.html#acdc1d96fdbbb5e5aebcb95d73dac8979">···84</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01162.html#acdc1d96fdbbb5e5aebcb95d73dac8979">RemoteSimplicialIntersection</a>·=·<a·class="code·hl_typedef"·href="a01162.html#adb5251bea3ebf4ec7d31516d4ef8aba2">SimplicialIntersection</a>;</div> | ||
142 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>·</div> | ||
143 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno"><a·class="line"·href="a01162.html#ad1fc86773d689b1280f3e428e06db378">···86</a></span>··<span·class="keywordtype">bool</span>·<a·class="code·hl_variable"·href="a01162.html#ad1fc86773d689b1280f3e428e06db378">valid</a>·=·<span·class="keyword">false</span>;</div> | ||
144 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>·</div> | ||
145 | <div·class="foldopen"·id="foldopen0008 | 145 | <div·class="foldopen"·id="foldopen00088"·data-start="{"·data-end="}"> |
146 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno"><a·class="line"·href="a01078.html#ade2e75dce9c45a21d4c6f99e33f7c7b4">···86</a></span>····<a·class="code·hl_function"·href="a01078.html#ade2e75dce9c45a21d4c6f99e33f7c7b4">ContactMerge</a>(<span·class="keyword">const</span>·T·allowedOverlap,·<a·class="code·hl_enumeration"·href="a01078.html#a64b00dbd05b81c313858487b68d90601">ProjectionType</a>·type)</div> | ||
147 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>········:·overlap_(allowedOverlap),</div> | ||
148 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>····· | 146 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno"><a·class="line"·href="a01162.html#ad7e4de26d4a61b8fd22d942d2fbd320a">···88</a></span>··<a·class="code·hl_function"·href="a01162.html#ad7e4de26d4a61b8fd22d942d2fbd320a">StandardMerge</a>()</div> |
147 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>····:·<a·class="code·hl_variable"·href="a01162.html#a967ed0d99f41f2c9a1c77ea36e62ac13">intersectionListProvider_</a>(std::make_shared<<a·class="code·hl_class"·href="a01102.html">IntersectionListProvider</a>>())</div> | ||
148 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>····,·<a·class="code·hl_variable"·href="a01162.html#a0867753ca060f8245d75f88a2cb20a48">intersectionList_</a>(std::make_shared<<a·class="code·hl_typedef"·href="a01162.html#a56c890ca85f1549350566810a218469c">IntersectionList</a>>(<a·class="code·hl_variable"·href="a01162.html#a967ed0d99f41f2c9a1c77ea36e62ac13">intersectionListProvider_</a>))</div> | ||
149 | <div·class="line"><a·id="l000 | 149 | <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>····{}</div> |
150 | </div> | 150 | </div> |
151 | <div·class="line"><a·id="l0009 | 151 | <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>·</div> |
152 | <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno"><a·class="line"·href="a01162.html#ac363042cbf058dd828e73e5b8fa37a39">···93</a></span>··<span·class="keyword">virtual</span>·<a·class="code·hl_function"·href="a01162.html#ac363042cbf058dd828e73e5b8fa37a39">~StandardMerge</a>()·=·<span·class="keywordflow">default</span>;</div> | ||
Max diff block lines reached; 146848/187968 bytes (78.12%) of diff not shown. |
Offset 1, 304 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·-*- | 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_ | 16 | 10#ifndef·DUNE_GRIDGLUE_MERGING_STANDARDMERGE_HH |
17 | 11#define·DUNE_GRIDGLUE_MERGING_ | 17 | 11#define·DUNE_GRIDGLUE_MERGING_STANDARDMERGE_HH |
18 | 12 | 18 | 12 |
19 | 13 | 19 | 13 |
20 | 14#include·<iostream> | 20 | 14#include·<iostream> |
21 | 15#include·<fstream> | ||
22 | 1 | 21 | 15#include·<iomanip> |
23 | 1 | 22 | 16#include·<vector> |
24 | 1 | 23 | 17#include·<stack> |
24 | 18#include·<set> | ||
25 | 19#include·< | 25 | 19#include·<utility> |
26 | 20#include·<map> | ||
26 | 2 | 27 | 21#include·<memory> |
27 | 21#include·<functional> | ||
28 | 22 | 28 | 22#include·<algorithm> |
29 | 23 | ||
29 | 2 | 30 | 24#include·<dune/common/fvector.hh> |
30 | 24#include·<dune/common/exceptions.hh> | ||
31 | 25#include·<dune/common/bitsetvector.hh> | 31 | 25#include·<dune/common/bitsetvector.hh> |
32 | 26#include·<dune/common/d | 32 | 26#include·<dune/common/stdstreams.hh> |
33 | 27 | 33 | 27#include·<dune/common/timer.hh> |
34 | 28 | ||
35 | 29#include·<dune/geometry/referenceelements.hh> | ||
34 | 36 | 30#include·<dune/grid/common/grid.hh> | |
35 | 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> | ||
36 | 3 | 39 | 33#include·<_.d_.u_.n_.e_./_.g_.r_.i_.d_.-_.g_.l_.u_.e_./_.m_.e_.r_.g_.i_.n_.g_./_.m_.e_.r_.g_.e_.r_\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> | ||
37 | 31#include·<_\x8d_\x8u_\x8n_\x8e_\x8/_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e_\x8/_\x8g_\x8r_\x8i_\x8d_\x8g_\x8l_\x8u_\x8e_\x8._\x8h_\x8h> | ||
38 | 32 | ||
39 | 33namespace·_\x8D_\x8u_\x8n_\x8e·{ | ||
40 | 34namespace·GridGlue·{ | ||
41 | 35 | 41 | 35 |
42 | 36namespace·_\x8D_\x8u_\x8n_\x8e·{ | ||
43 | 37namespace·GridGlue·{ | ||
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>; | ||
42 | 41template<int·dimworld,·typename·T·=·double> | ||
43 | _\x84_\x82class·_\x8C_\x8o_\x8n_\x8t_\x8a_\x8c_\x8t_\x8M_\x8e_\x8r_\x8g_\x8e | ||
44 | 43:·public·_\x8S_\x8t_\x8a_\x8n_\x8d_\x8a_\x8r_\x8d_\x8M_\x8e_\x8r_\x8g_\x8e<T,dimworld-1,dimworld-1,dimworld> | ||
45 | 44{ | ||
46 | 45·static·constexpr·int·dim·=·dimworld-1; | ||
47 | 46 | ||
48 | 47·static_assert(·dim==1·||·dim==2, | ||
49 | 48·"ContactMerge·yet·only·handles·the·cases·dim==1·and·dim==2!"); | ||
50 | 49 | ||
51 | 50·typedef·_\x8S_\x8t_\x8a_\x8n_\x8d_\x8a_\x8r_\x8d_\x8M_\x8e_\x8r_\x8g_\x8e_\x8<_\x8T_\x8,_\x8d_\x8i_\x8m_\x8,_\x8d_\x8i_\x8m_\x8,_\x8d_\x8i_\x8m_\x8w_\x8o_\x8r_\x8l_\x8d_\x8>·_\x8B_\x8a_\x8s_\x8e; | ||
52 | 51public: | ||
53 | 52 | ||
54 | 53·/*·E·X·P·O·R·T·E·D·T·Y·P·E·S·A·N·D·C·O·N·S·T·A·N·T·S·*/ | ||
55 | 54 | ||
56 | _\x85_\x86·typedef·T·_\x8c_\x8t_\x8y_\x8p_\x8e; | ||
57 | 57 | ||
58 | _\x85_\x89·typedef·Dune::FieldVector<T,·dimworld>·_\x8W_\x8o_\x8r_\x8l_\x8d_\x8C_\x8o_\x8o_\x8r_\x8d_\x8s; | ||
59 | 60 | 50 | 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 | 51 | 61public: | |
52 | 62 | ||
53 | 63·/*·E·X·P·O·R·T·E·D·T·Y·P·E·S·A·N·D·C·O·N·S·T·A·N·T·S·*/ | ||
54 | 64 | ||
55 | _\x86_\x86·typedef·T·_\x8c_\x8t_\x8y_\x8p_\x8e; | ||
56 | 67 | ||
57 | _\x86_\x89·using·_\x8G_\x8r_\x8i_\x8d_\x81_\x8C_\x8o_\x8o_\x8r_\x8d_\x8s·=·typename·_\x8B_\x8a_\x8s_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x81_\x8C_\x8o_\x8o_\x8r_\x8d_\x8s; | ||
58 | 70 | ||
59 | _\x87_\x82·using·_\x8G_\x8r_\x8i_\x8d_\x82_\x8C_\x8o_\x8o_\x8r_\x8d_\x8s·=·typename·_\x8B_\x8a_\x8s_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x82_\x8C_\x8o_\x8o_\x8r_\x8d_\x8s; | ||
60 | 73 | ||
61 | _\x87_\x85·using·_\x8W_\x8o_\x8r_\x8l_\x8d_\x8C_\x8o_\x8o_\x8r_\x8d_\x8s·=·typename·_\x8B_\x8a_\x8s_\x8e_\x8:_\x8:_\x8W_\x8o_\x8r_\x8l_\x8d_\x8C_\x8o_\x8o_\x8r_\x8d_\x8s; | ||
62 | 76 | ||
63 | _\x87_\x87·using·_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8L_\x8i_\x8s_\x8t·=·typename·_\x8B_\x8a_\x8s_\x8e_\x8:_\x8:_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8L_\x8i_\x8s_\x8t; | ||
64 | 78 | ||
65 | 79protected: | ||
70 | 80 | 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_\x86·_\x8C_\x8o_\x8n_\x8t_\x8a_\x8c_\x8t_\x8M_\x8e_\x8r_\x8g_\x8e(const·T·allowedOverlap,·_\x8P_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8T_\x8y_\x8p_\x8e·type) | ||
72 | 87·:·overlap_(allowedOverlap), | ||
73 | 88·type_(type) | ||
74 | 89·{} | ||
75 | 90 | ||
76 | 99·inline | ||
77 | _\x81_\x80_\x80·void·_\x8s_\x8e_\x8t_\x8S_\x8u_\x8r_\x8f_\x8a_\x8c_\x8e_\x8D_\x8i_\x8r_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8s(std::function<_\x8W_\x8o_\x8r_\x8l_\x8d_\x8C_\x8o_\x8o_\x8r_\x8d_\x8s(_\x8W_\x8o_\x8r_\x8l_\x8d_\x8C_\x8o_\x8o_\x8r_\x8d_\x8s)> | ||
78 | domainDirections, | ||
79 | 101·std::function<_\x8W_\x8o_\x8r_\x8l_\x8d_\x8C_\x8o_\x8o_\x8r_\x8d_\x8s(_\x8W_\x8o_\x8r_\x8l_\x8d_\x8C_\x8o_\x8o_\x8r_\x8d_\x8s)>·targetDirections) | ||
80 | 102·{ | ||
81 | 103·domainDirections_·=·domainDirections; | ||
82 | 104·targetDirections_·=·targetDirections; | ||
83 | 105·this->_\x8v_\x8a_\x8l_\x8i_\x8d·=·false; | ||
84 | 106·} | ||
85 | 107 | ||
86 | _\x81_\x80_\x89·void·_\x8s_\x8e_\x8t_\x8O_\x8v_\x8e_\x8r_\x8l_\x8a_\x8p(T·overlap) | ||
87 | 110·{ | ||
88 | 111·overlap_·=·overlap; | ||
89 | 112·} | ||
90 | 113 | ||
91 | _\x81_\x81_\x85·T·_\x8g_\x8e_\x8t_\x8O_\x8v_\x8e_\x8r_\x8l_\x8a_\x8p()·const | ||
92 | 116·{ | ||
93 | 117·return·overlap_; | ||
94 | 118·} | ||
Max diff block lines reached; 47526/57322 bytes (82.91%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-grid-glue:·co | 8 | <title>dune-grid-glue:·conformingmerge.hh·File·Reference</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 70, 28 lines modified | Offset 70, 48 lines modified | ||
70 | <div·id="nav-path"·class="navpath"> | 70 | <div·id="nav-path"·class="navpath"> |
71 | ··<ul> | 71 | ··<ul> |
72 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_0d8f660a135565b225f6b14e80c278b4.html">merging</a></li>··</ul> | 72 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_0d8f660a135565b225f6b14e80c278b4.html">merging</a></li>··</ul> |
73 | </div> | 73 | </div> |
74 | </div><!--·top·--> | 74 | </div><!--·top·--> |
75 | <div·class="header"> | 75 | <div·class="header"> |
76 | ··<div·class="summary"> | 76 | ··<div·class="summary"> |
77 | <a·href="#nested-classes">Classes</a>·| | ||
77 | <a·href="#namespaces">Namespaces</a>··</div> | 78 | <a·href="#namespaces">Namespaces</a>··</div> |
78 | ··<div·class="headertitle"><div·class="title">co | 79 | ··<div·class="headertitle"><div·class="title">conformingmerge.hh·File·Reference</div></div> |
79 | </div><!--header--> | 80 | </div><!--header--> |
80 | <div·class="contents"> | 81 | <div·class="contents"> |
82 | <p>Implementation·of·the·Merger·concept·for·conforming·interfaces.·· | ||
83 | <a·href="#details">More...</a></p> | ||
84 | <div·class="textblock"><code>#include·<iomanip></code><br·/> | ||
85 | <code>#include·<vector></code><br·/> | ||
86 | <code>#include·<algorithm></code><br·/> | ||
87 | <code>#include·<bitset></code><br·/> | ||
88 | <code>#include·<dune/common/fmatrix.hh></code><br·/> | ||
89 | <code>#include·<dune/common/fvector.hh></code><br·/> | ||
90 | <code>#include·<dune/geometry/referenceelements.hh></code><br·/> | ||
91 | <code>#include·<<a·class="el"·href="a00089_source.html">dune/grid-glue/merging/standardmerge.hh</a>></code><br·/> | ||
92 | </div> | ||
81 | <p><a·href="a00092_source.html">Go·to·the·source·code·of·this·file.</a></p> | 93 | <p><a·href="a00092_source.html">Go·to·the·source·code·of·this·file.</a></p> |
82 | <table·class="memberdecls"> | 94 | <table·class="memberdecls"> |
95 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | ||
96 | Classes</h2></td></tr> | ||
97 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="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"> | ||
83 | <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> |
84 | Namespaces</h2></td></tr> | 102 | 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> | 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> |
86 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 104 | <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> | 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> |
88 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 106 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
89 | </table> | 107 | </table> |
108 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> | ||
109 | <div·class="textblock"><p>Implementation·of·the·Merger·concept·for·conforming·interfaces.·</p> | ||
90 | </div><!--·contents·--> | 110 | </div></div><!--·contents·--> |
91 | <!--·start·footer·part·--> | 111 | <!--·start·footer·part·--> |
92 | <hr·class="footer"/><address·class="footer"><small> | 112 | <hr·class="footer"/><address·class="footer"><small> |
93 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 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 |
94 | </small></address> | 114 | </small></address> |
95 | </body> | 115 | </body> |
96 | </html> | 116 | </html> |
Offset 1, 17 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 | _\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 | 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> | ||
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. | 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 | |||
11 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s | 24 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s |
12 | namespace· ·_\x8D_\x8u_\x8n_\x8e | 25 | namespace· ·_\x8D_\x8u_\x8n_\x8e |
13 | 26 | ||
14 | 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 |
15 | 28 | ||
29 | *\x8**\x8**\x8**\x8**\x8*·D\x8De\x8et\x8ta\x8ai\x8il\x8le\x8ed\x8d·D\x8De\x8es\x8sc\x8cr\x8ri\x8ip\x8pt\x8ti\x8io\x8on\x8n·*\x8**\x8**\x8**\x8**\x8* | ||
30 | Implementation·of·the·Merger·concept·for·conforming·interfaces. | ||
16 | =============================================================================== | 31 | =============================================================================== |
17 | ·····Generated·by _\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]·1.9.8 | 32 | ·····Generated·by _\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]·1.9.8 |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-grid-glue:·co | 8 | <title>dune-grid-glue:·conformingmerge.hh·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 74, 356 lines modified | Offset 74, 220 lines modified | ||
74 | <div·id="nav-path"·class="navpath"> | 74 | <div·id="nav-path"·class="navpath"> |
75 | ··<ul> | 75 | ··<ul> |
76 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_0d8f660a135565b225f6b14e80c278b4.html">merging</a></li>··</ul> | 76 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li><li·class="navelem"><a·class="el"·href="dir_0d8f660a135565b225f6b14e80c278b4.html">merging</a></li>··</ul> |
77 | </div> | 77 | </div> |
78 | </div><!--·top·--> | 78 | </div><!--·top·--> |
79 | <div·class="header"> | 79 | <div·class="header"> |
80 | ··<div·class="headertitle"><div·class="title">co | 80 | ··<div·class="headertitle"><div·class="title">conformingmerge.hh</div></div> |
81 | </div><!--header--> | 81 | </div><!--header--> |
82 | <div·class="contents"> | 82 | <div·class="contents"> |
83 | <a·href="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><span·class="comment">/*</span></div> | ||
88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">·*··Filename:····conformingmerge.hh</span></div> | ||
89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">·*··Version:·····1.0</span></div> | ||
90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">·*··Created·on:··Sep·14,·2009</span></div> | ||
91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">·*··Author:······Oliver·Sander</span></div> | ||
92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="comment">·*··---------------------------------</span></div> | ||
93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="comment">·*··Project:·····dune-grid-glue</span></div> | ||
94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="comment">·*··Description:·implementation·of·the·Merger·concept·for·conforming·interfaces</span></div> | ||
95 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="comment">·*</span></div> | ||
96 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="comment">·*/</span></div> | ||
97 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#ifndef·DUNE_GRIDGLUE_MERGING_CONFORMINGMERGE_HH</span></div> | ||
98 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#define·DUNE_GRIDGLUE_MERGING_CONFORMINGMERGE_HH</span></div> | ||
99 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div> | ||
100 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#include·<iomanip></span></div> | ||
101 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#include·<vector></span></div> | ||
102 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#include·<algorithm></span></div> | ||
103 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="preprocessor">#include·<bitset></span></div> | ||
104 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div> | ||
105 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#include·<dune/common/fmatrix.hh></span></div> | ||
106 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·<dune/common/fvector.hh></span></div> | ||
107 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div> | ||
108 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">#include·<dune/geometry/referenceelements.hh></span></div> | ||
109 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div> | ||
110 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="preprocessor">#include·<<a·class="code"·href="a00089.html">dune/grid-glue/merging/standardmerge.hh</a>></span></div> | ||
87 | <div·class="line"><a·id="l000 | 111 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div> |
88 | <div·class="line"><a·id="l000 | 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> | ||
89 | <div·class="line"><a·id="l000 | 114 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>··<span·class="keyword">namespace·</span>GridGlue·{</div> |
90 | <div·class="line"><a·id="l000 | 115 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div> |
116 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span><span·class="keyword">template</span><<span·class="keywordtype">int</span>·dim,·<span·class="keywordtype">int</span>·dimworld,·<span·class="keyword">typename</span>·T·=·<span·class="keywordtype">double</span>></div> | ||
91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">//****************************************************************************************</span></div> | ||
92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="comment">//·PUBLIC</span></div> | ||
93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="comment">//****************************************************************************************</span></div> | ||
94 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div> | ||
95 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="keyword">template</span><<span·class="keyword">class</span>·CM></div> | ||
96 | <div·class="foldopen"·id="foldopen000 | 117 | <div·class="foldopen"·id="foldopen00047"·data-start="{"·data-end="};"> |
118 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno"><a·class="line"·href="a01074.html">···47</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01074.html">ConformingMerge</a></div> | ||
119 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>··:·<span·class="keyword">public</span>·<a·class="code·hl_class"·href="a01162.html">StandardMerge</a><T,dim,dim,dimworld></div> | ||
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="l000 | 120 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>{</div> |
121 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</div> | ||
122 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span><span·class="keyword">public</span>:</div> | ||
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 | 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> | ||
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> | ||
112 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div> | ||
113 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>····<span·class="keywordflow">for</span>·(<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·i·=·0;·i·<·subElementsX.size();·++i)·{·<span·class="comment">//·iterate·over·all·X·subelements</span></div> | ||
114 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>········<span·class="keywordflow">for</span>·(<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·ki·=·0;·ki·<·subElementsX[i].size();·++ki)·<span·class="comment">//·define·the·X·subelement</span></div> | ||
115 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>············subElementX[ki]·=·X[subElementsX[i][ki]];</div> | ||
116 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>········<span·class="keywordflow">for</span>·(<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·j·=·0;·j·<·subElementsY.size();·++j)·{·<span·class="comment">//·iterate·over·all·Y·subelemetns</span></div> | ||
117 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>············<span·class="keywordflow">for</span>·(<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·kj·=·0;·kj·<·subElementsY[j].size();·++kj)·<span·class="comment">//·define·the·Y·subleement</span></div> | ||
118 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>················subElementY[kj]·=·Y[subElementsY[j][kj]];</div> | ||
119 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div> | ||
120 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>············sP.clear();</div> | ||
121 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div> | ||
122 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>············<span·class="comment">//·compute·the·intersection</span></div> | ||
123 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>············<span·class="keywordtype">bool</span>·b·=·CM::computeIntersectionPoints(subElementX,subElementY,sSX,sSY,sP);</div> | ||
124 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>············intersectionFound·=·intersectionFound·||·b;</div> | ||
125 | <div·class="line"><a·id="l000 | 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> | ||
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> | ||
144 | <div·class="line"><a·id="l000 | 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> | ||
145 | <div·class="line"><a·id="l0006 | 129 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div> |
146 | <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:·38,·SHA:·8cf013a972c60133d39f5b394f64b3c6db05e88ba3eae0092efaddf903f973cd·...·];</div> |
147 | <div·class="line"><a·id="l0006 | 131 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div> |
148 | </div> | 132 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span><span·class="keyword">private</span>:</div> |
149 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>·</div> | 133 | <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> | ||
Max diff block lines reached; 60203/86478 bytes (69.62%) of diff not shown. |
Offset 1, 382 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 | co | 8 | conformingmerge.hh |
9 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 9 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: | 11 | 2//·vi:·set·et·ts=4·sw=2·sts=2: |
12 | 3//·SPDX-FileCopyrightInfo:·Copyright·Â©·DUNE·Project·contributors,·see·file | 12 | 3//·SPDX-FileCopyrightInfo:·Copyright·Â©·DUNE·Project·contributors,·see·file |
13 | LICENSE.md·in·module·root | 13 | LICENSE.md·in·module·root |
14 | 4//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with- | 14 | 4//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with- |
15 | dune-grid-glue-exception | 15 | dune-grid-glue-exception |
16 | 5 | 16 | 5/* |
17 | 6·*·Filename:·conformingmerge.hh | ||
18 | 7·*·Version:·1.0 | ||
19 | 8·*·Created·on:·Sep·14,·2009 | ||
20 | 9·*·Author:·Oliver·Sander | ||
21 | 10·*·--------------------------------- | ||
22 | 11·*·Project:·dune-grid-glue | ||
23 | 12·*·Description:·implementation·of·the·Merger·concept·for·conforming | ||
24 | interfaces | ||
25 | 13·* | ||
26 | 14·*/ | ||
27 | 21#ifndef·DUNE_GRIDGLUE_MERGING_CONFORMINGMERGE_HH | ||
28 | 22#define·DUNE_GRIDGLUE_MERGING_CONFORMINGMERGE_HH | ||
29 | 23 | ||
30 | 24#include·<iomanip> | ||
31 | 25#include·<vector> | ||
32 | 26#include·<algorithm> | ||
33 | 27#include·<bitset> | ||
34 | 28 | ||
35 | 29#include·<dune/common/fmatrix.hh> | ||
36 | 30#include·<dune/common/fvector.hh> | ||
37 | 31 | ||
38 | 32#include·<dune/geometry/referenceelements.hh> | ||
39 | 33 | ||
40 | 34#include·<_\x8d_\x8u_\x8n_\x8e_\x8/_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e_\x8/_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g_\x8/_\x8s_\x8t_\x8a_\x8n_\x8d_\x8a_\x8r_\x8d_\x8m_\x8e_\x8r_\x8g_\x8e_\x8._\x8h_\x8h> | ||
41 | 35 | ||
17 | 6namespace·_\x8D_\x8u_\x8n_\x8e·{ | 42 | 36namespace·_\x8D_\x8u_\x8n_\x8e·{ |
43 | 37 | ||
18 | 44 | 38·namespace·GridGlue·{ | |
45 | 39 | ||
46 | 46template<int·dim,·int·dimworld,·typename·T·=·double> | ||
47 | _\x84_\x87class·_\x8C_\x8o_\x8n_\x8f_\x8o_\x8r_\x8m_\x8i_\x8n_\x8g_\x8M_\x8e_\x8r_\x8g_\x8e | ||
48 | 48·:·public·_\x8S_\x8t_\x8a_\x8n_\x8d_\x8a_\x8r_\x8d_\x8M_\x8e_\x8r_\x8g_\x8e<T,dim,dim,dimworld> | ||
49 | 49{ | ||
50 | 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; | ||
58 | 60 | ||
59 | _\x86_\x82·typedef·Dune::FieldVector<T,·dim>·_\x8L_\x8o_\x8c_\x8a_\x8l_\x8C_\x8o_\x8o_\x8r_\x8d_\x8s; | ||
60 | 63 | ||
61 | 64private: | ||
19 | 8 | ||
20 | 9// | ||
21 | **************************************************************************************** | ||
22 | 10//·PUBLIC | ||
23 | 11// | ||
24 | **************************************************************************************** | ||
25 | 12 | ||
26 | 13template<class·CM> | ||
27 | _\x81_\x84bool·_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8C_\x8o_\x8m_\x8p_\x8u_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8<_\x8C_\x8M_\x8>_\x8:_\x8:_\x8c_\x8o_\x8m_\x8p_\x8u_\x8t_\x8e_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n(const·std::vector<V>& | ||
28 | X, | ||
29 | 15·const·std::vector<V>&·Y, | ||
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 | ||
43 | 28·bool·intersectionFound·=·false; | ||
44 | 29 | ||
45 | 30·for·(unsigned·int·i·=·0;·i·<·subElementsX.size();·++i)·{·//·iterate·over·all | ||
46 | X·subelements | ||
47 | 31·for·(unsigned·int·ki·=·0;·ki·<·subElementsX[i].size();·++ki)·//·define·the·X | ||
48 | subelement | ||
49 | 32·subElementX[ki]·=·X[subElementsX[i][ki]]; | ||
50 | 33·for·(unsigned·int·j·=·0;·j·<·subElementsY.size();·++j)·{·//·iterate·over·all | ||
51 | Y·subelemetns | ||
52 | 34·for·(unsigned·int·kj·=·0;·kj·<·subElementsY[j].size();·++kj)·//·define·the·Y | ||
53 | subleement | ||
54 | 35·subElementY[kj]·=·Y[subElementsY[j][kj]]; | ||
55 | 36 | ||
56 | 37·sP.clear(); | ||
57 | 38 | ||
58 | 39·//·compute·the·intersection | ||
59 | 40·bool·b·=·CM::computeIntersectionPoints(subElementX,subElementY,sSX,sSY,sP); | ||
60 | 41·intersectionFound·=·intersectionFound·||·b; | ||
61 | 42 | ||
62 | 43·//·only·insert·points·on·outer·faces | ||
63 | 44·for·(unsigned·int·ki·=·0;·ki·<·sSX.size();·++ki)·{·//·iterate·over·all·faces | ||
64 | 45·if·(faceIdsX[i][ki]·>=·0)·{ | ||
65 | 46·for·(unsigned·int·kii·=·0;·kii·<·sSX[ki].size();·++kii)·{ | ||
66 | 47·int·k·=·_\x8i_\x8n_\x8s_\x8e_\x8r_\x8t_\x8P_\x8o_\x8i_\x8n_\x8t(sP[sSX[ki][kii]],P);·//·determine·index·in·P | ||
67 | 48·SX[faceIdsX[i][ki]].push_back(k); | ||
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 | 57·} | ||
77 | 58·} | ||
78 | 59·} | ||
79 | 60·} | ||
80 | 61·} | ||
81 | 62 | ||
82 | 63·return·intersectionFound; | ||
83 | 64} | ||
84 | 65 | 62 | 65 |
Max diff block lines reached; 15252/21182 bytes (72.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:·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 71, 139 lines modified | Offset 71, 44 lines modified | ||
71 | ··<ul> | 71 | ··<ul> |
72 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_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">intersectionlist.hh·File·Reference</div></div> |
82 | </div><!--header--> | 80 | </div><!--header--> |
83 | <div·class="contents"> | 81 | <div·class="contents"> |
84 | <p>Common·base·class·for·many·merger·implementations:·produce·pairs·of·entities·that·<em>may</em>·intersect.·· | ||
85 | <a·href="#details">More...</a></p> | ||
86 | <div·class="textblock"><code>#include·< | 82 | <div·class="textblock"><code>#include·<array></code><br·/> |
87 | <code>#include·<iomanip></code><br·/> | ||
88 | <code>#include·< | 83 | <code>#include·<type_traits></code><br·/> |
89 | <code>#include·<stack></code><br·/> | ||
90 | <code>#include·<set></code><br·/> | ||
91 | <code>#include·<utility></code><br·/> | 84 | <code>#include·<utility></code><br·/> |
92 | <code>#include·<map></code><br·/> | ||
93 | <code>#include·< | 85 | <code>#include·<vector></code><br·/> |
94 | <code>#include·<algorithm></code><br·/> | ||
95 | <code>#include·<dune/common/fvector.hh></code><br·/> | 86 | <code>#include·<dune/common/fvector.hh></code><br·/> |
96 | <code>#include·<dune/common/bitsetvector.hh></code><br·/> | ||
97 | <code>#include·<dune/common/stdstreams.hh></code><br·/> | ||
98 | <code>#include·<dune/common/timer.hh></code><br·/> | ||
99 | <code>#include·<dune/geometry/referenceelements.hh></code><br·/> | ||
100 | <code>#include·<dune/grid/common/grid.hh></code><br·/> | ||
101 | <code>#include·<<a·class="el"·href="a00098_source.html">dune/grid-glue/merging/intersectionlist.hh</a>></code><br·/> | ||
102 | <code>#include·<<a·class="el"·href="a00077_source.html">dune/grid-glue/merging/merger.hh</a>></code><br·/> | ||
103 | <code>#include·<<a·class="el"·href="a00086_source.html">dune/grid-glue/merging/computeintersection.hh</a>></code><br·/> | ||
104 | </div> | 87 | </div> |
105 | <p><a·href="a00095_source.html">Go·to·the·source·code·of·this·file.</a></p> | 88 | <p><a·href="a00095_source.html">Go·to·the·source·code·of·this·file.</a></p> |
106 | <table·class="memberdecls"> | 89 | <table·class="memberdecls"> |
107 | <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> |
108 | Classes</h2></td></tr> | 91 | 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 | 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> |
110 | <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="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> | ||
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="a00095.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="a00095.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> | ||
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> | ||
Max diff block lines reached; 271/12480 bytes (2.17%) 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 | ||
9 | intersectionlist.hh·File·Reference | ||
8 | _\x8C_\x8l_\x8a_\x8s_\x8s_\x8e_\x8s·|·_\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.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·< | 10 | #include·<array> |
16 | #include·< | 11 | #include·<type_traits> |
17 | #include·<utility> | 12 | #include·<utility> |
18 | #include·<map> | ||
19 | #include·< | 13 | #include·<vector> |
20 | #include·<algorithm> | ||
21 | #include·<dune/common/fvector.hh> | 14 | #include·<dune/common/fvector.hh> |
22 | #include·<dune/common/bitsetvector.hh> | ||
23 | #include·<dune/common/stdstreams.hh> | ||
24 | #include·<dune/common/timer.hh> | ||
25 | #include·<dune/geometry/referenceelements.hh> | ||
26 | #include·<dune/grid/common/grid.hh> | ||
27 | #include·<_\x8d_\x8u_\x8n_\x8e_\x8/_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e_\x8/_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g_\x8/_\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8l_\x8i_\x8s_\x8t_\x8._\x8h_\x8h> | ||
28 | #include·<_\x8d_\x8u_\x8n_\x8e_\x8/_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e_\x8/_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g_\x8/_\x8m_\x8e_\x8r_\x8g_\x8e_\x8r_\x8._\x8h_\x8h> | ||
29 | #include·<_\x8d_\x8u_\x8n_\x8e_\x8/_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e_\x8/_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g_\x8/_\x8c_\x8o_\x8m_\x8p_\x8u_\x8t_\x8e_\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8._\x8h_\x8h> | ||
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 | _\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 | 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> | ||
32 | class· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8S_\x8t_\x8a_\x8n_\x8d_\x8a_\x8r_\x8d_\x8M_\x8e_\x8r_\x8g_\x8e_\x8<_\x8·_\x8T_\x8,_\x8·_\x8g_\x8r_\x8i_\x8d_\x81_\x8D_\x8i_\x8m_\x8,_\x8·_\x8g_\x8r_\x8i_\x8d_\x82_\x8D_\x8i_\x8m_\x8,_\x8·_\x8d_\x8i_\x8m_\x8w_\x8o_\x8r_\x8l_\x8d_\x8·_\x8> | ||
33 | ·······Common·base·class·for·many·merger·implementations:·produce·pairs·of | ||
34 | ········entities·that·m\x8ma\x8ay\x8y·intersect.·_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
35 | 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> | ||
36 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s | ||
37 | namespace· ·_\x8D_\x8u_\x8n_\x8e | ||
38 | 20 | ||
39 | 21 | ·class· ·_.D_.u_.n_.e_.:_.:_.G_.r_.i_.d_.G_.l_.u_.e_.:_.:_.S_.i_.m_.p_.l_.i_.c_.i_.a_.l_.I_.n_.t_.e_.r_.s_.e_.c_.t_.i_.o_.n_.L_.i_.s_.t_.P_.r_.o_.v_.i_.d_.e_.r_.<_.·_.d_.i_.m_.0_.,_.·_.d_.i_.m_.1_.·_.> | |
40 | 22 | ||
41 | M\x8Ma\x8ac\x8cr\x8ro\x8os\x8s | ||
42 | 23 | struct· ·_.D_.u_.n_.e_.:_.:_.G_.r_.i_.d_.G_.l_.u_.e_.:_.:_.S_.i_.m_.p_.l_.i_.c_.i_.a_.l_.I_.n_.t_.e_.r_.s_.e_.c_.t_.i_.o_.n_.L_.i_.s_.t_.P_.r_.o_.v_.i_.d_.e_.r_.<_.·_.d_.i_.m_.0_.,_.·_.d_.i_.m_.1_.·_.>_.:_.: | |
24 | ·········_\x8S_\x8i_\x8m_\x8p_\x8l_\x8i_\x8c_\x8i_\x8a_\x8l_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n | ||
43 | 25 | ||
44 | 26 | N.Na.am.me.es.sp.pa.ac.ce.es.s | |
27 | namespace· ·_\x8D_\x8u_\x8n_\x8e | ||
45 | 28 | ||
29 | namespace· ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e | ||
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 | 30 | ||
49 | ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8S_\x8T_\x8A_\x8N_\x8D_\x8A_\x8R_\x8D_\x8__\x8M_\x8E_\x8R_\x8G_\x8E_\x8__\x8I_\x8N_\x8S_\x8T_\x8A_\x8N_\x8T_\x8I_\x8A_\x8T_\x8E·(double,·2,·2,·2) | ||
50 | |||
51 | ·_\x8D_\x8u_\x8n_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x8G_\x8l_\x8u_\x8e_\x8:_\x8:_\x8S_\x8T_\x8A_\x8N_\x8D_\x8A_\x8R_\x8D_\x8__\x8M_\x8E_\x8R_\x8G_\x8E_\x8__\x8I_\x8N_\x8S_\x8T_\x8A_\x8N_\x8T_\x8I_\x8A_\x8T_\x8E·(double,·3,·3,·3) | ||
52 | |||
53 | *\x8**\x8**\x8**\x8**\x8*·D\x8De\x8et\x8ta\x8ai\x8il\x8le\x8ed\x8d·D\x8De\x8es\x8sc\x8cr\x8ri\x8ip\x8pt\x8ti\x8io\x8on\x8n·*\x8**\x8**\x8**\x8**\x8* | ||
54 | Common·base·class·for·many·merger·implementations:·produce·pairs·of·entities | ||
55 | that·m\x8ma\x8ay\x8y·intersect. | ||
56 | *\x8**\x8**\x8**\x8**\x8*·M\x8Ma\x8ac\x8cr\x8ro\x8o·D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·D\x8Do\x8oc\x8cu\x8um\x8me\x8en\x8nt\x8ta\x8at\x8ti\x8io\x8on\x8n·*\x8**\x8**\x8**\x8**\x8* | ||
57 | *\x8**\x8**\x8**\x8**\x8*·_\x8?\x8◆_\x8?\x8 D\x8DE\x8EC\x8CL\x8L·*\x8**\x8**\x8**\x8**\x8* | ||
58 | #define·DECL extern | ||
59 | *\x8**\x8**\x8**\x8**\x8*·_\x8?\x8◆_\x8?\x8 S\x8ST\x8TA\x8AN\x8ND\x8DA\x8AR\x8RD\x8D_\x8_M\x8ME\x8ER\x8RG\x8GE\x8E_\x8_I\x8IN\x8NS\x8ST\x8TA\x8AN\x8NT\x8TI\x8IA\x8AT\x8TE\x8E·*\x8**\x8**\x8**\x8**\x8* | ||
60 | #define·STANDARD_MERGE_INSTANTIATE·(· ·T, | ||
61 | ····································· ·A, | ||
62 | ····································· ·B, | ||
63 | ····································· ·C | ||
64 | ···································) | ||
65 | V\x8Va\x8al\x8lu\x8ue\x8e:\x8: | ||
66 | _\x8D_\x8E_\x8C_\x8L·template·\ | ||
67 | void·StandardMerge<T,A,B,C>::build(const·std::vector<Dune::FieldVector<T,C>·>& | ||
68 | grid1Coords,·\ | ||
69 | const·std::vector<unsigned·int>&·grid1_elements,·\ | ||
70 | const·std::vector<Dune::GeometryType>&·grid1_element_types,·\ | ||
71 | const·std::vector<Dune::FieldVector<T,C>·>&·grid2Coords,·\ | ||
72 | const·std::vector<unsigned·int>&·grid2_elements,·\ | ||
73 | const·std::vector<Dune::GeometryType>&·grid2_element_types·\ | ||
74 | ) | ||
75 | _\x8D_\x8E_\x8C_\x8L | ||
76 | #define·DECL | ||
77 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·standardmerge.hh:827 | ||
78 | =============================================================================== | 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:·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, 857 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="a00095.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·©·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div> | ||
83 | <a·href="a00095.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | ||
84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | ||
85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·©·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div> | ||
86 | <div·class="line"><a·id="l0000 | 84 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·SPDX-License-Identifier:·LGPL-3.0-or-later·OR·LicenseRef-GPL-2.0-only-with-dune-grid-glue-exception</span></div> |
87 | <div·class="line"><a·id="l000 | 85 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_GRIDGLUE_MERGING_INTERSECTIONLIST_HH</span></div> |
88 | <div·class="line"><a·id="l000 | 86 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_GRIDGLUE_MERGING_INTERSECTIONLIST_HH·1</span></div> |
87 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> | ||
88 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#include·<array></span></div> | ||
89 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#include·<type_traits></span></div> | ||
90 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·<utility></span></div> | ||
91 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·<vector></span></div> | ||
92 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span>·</div> | ||
93 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<dune/common/fvector.hh></span></div> | ||
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> |
90 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> | ||
91 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<iostream></span></div> | ||
92 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·<iomanip></span></div> | ||
93 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·<vector></span></div> | ||
94 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·<stack></span></div> | ||
95 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·<set></span></div> | ||
96 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·<utility></span></div> | ||
97 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·<map></span></div> | ||
98 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·<memory></span></div> | ||
99 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·<algorithm></span></div> | ||
100 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div> | ||
101 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#include·<dune/common/fvector.hh></span></div> | ||
102 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#include·<dune/common/bitsetvector.hh></span></div> | ||
103 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#include·<dune/common/stdstreams.hh></span></div> | ||
104 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="preprocessor">#include·<dune/common/timer.hh></span></div> | ||
105 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div> | ||
106 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#include·<dune/geometry/referenceelements.hh></span></div> | ||
107 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·<dune/grid/common/grid.hh></span></div> | ||
108 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div> | ||
109 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">#include·<<a·class="code"·href="a00098.html">dune/grid-glue/merging/intersectionlist.hh</a>></span></div> | ||
110 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="preprocessor">#include·<<a·class="code"·href="a00077.html">dune/grid-glue/merging/merger.hh</a>></span></div> | ||
111 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="preprocessor">#include·<<a·class="code"·href="a00086.html">dune/grid-glue/merging/computeintersection.hh</a>></span></div> | ||
112 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div> | ||
113 | <div·class="line"><a·id="l000 | 95 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00103.html">Dune</a>·{</div> |
114 | <div·class="line"><a·id="l000 | 96 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="keyword">namespace·</span>GridGlue·{</div> |
115 | <div·class="line"><a·id="l000 | 97 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> |
116 | <div·class="line"><a·id="l000 | 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> |
117 | <div·class="foldopen"·id="foldopen000 | 99 | <div·class="foldopen"·id="foldopen00021"·data-start="{"·data-end="};"> |
118 | <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> |
119 | <div·class="line"><a·id="l000 | 101 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>{</div> |
102 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="keyword">public</span>:</div> | ||
103 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> | ||
104 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno"><a·class="line"·href="a01082.html#a95156e19bb18a3c3e358028a5d146a26">···28</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01082.html#a95156e19bb18a3c3e358028a5d146a26">Local0</a>·=·L0;</div> | ||
105 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div> | ||
106 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno"><a·class="line"·href="a01082.html#ab6e4c4fe58ecd05d989ffdd25f059e13">···33</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01082.html#ab6e4c4fe58ecd05d989ffdd25f059e13">Local1</a>·=·L1;</div> | ||
107 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div> | ||
108 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno"><a·class="line"·href="a01082.html#a3ce827219b1282269bc512257c0e615b">···38</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01082.html#a3ce827219b1282269bc512257c0e615b">Index</a>·=·<span·class="keywordtype">unsigned</span>·int;</div> | ||
109 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div> | ||
110 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno"><a·class="line"·href="a01082.html#a5f8d56fc9e8e0bc5f3bec7296ec79f8b">···43</a></span>··<span·class="keyword">virtual</span>·std::size_t·<a·class="code·hl_function"·href="a01082.html#a5f8d56fc9e8e0bc5f3bec7296ec79f8b">size</a>()·<span·class="keyword">const</span>·=·0;</div> | ||
111 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div> | ||
112 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno"><a·class="line"·href="a01082.html#a10099cd95363d296d27b29675aa22f1e">···50</a></span>··<span·class="keyword">virtual</span>·std::size_t·<a·class="code·hl_function"·href="a01082.html#a10099cd95363d296d27b29675aa22f1e">parents0</a>(<a·class="code·hl_typedef"·href="a01082.html#a3ce827219b1282269bc512257c0e615b">Index</a>·intersection)·<span·class="keyword">const</span>·=·0;</div> | ||
113 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div> | ||
114 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno"><a·class="line"·href="a01082.html#ac9059343f76c2c1998ddfd106d12a034">···57</a></span>··<span·class="keyword">virtual</span>·std::size_t·<a·class="code·hl_function"·href="a01082.html#ac9059343f76c2c1998ddfd106d12a034">parents1</a>(<a·class="code·hl_typedef"·href="a01082.html#a3ce827219b1282269bc512257c0e615b">Index</a>·intersection)·<span·class="keyword">const</span>·=·0;</div> | ||
120 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span> | 115 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·</div> |
121 | <div·class="line"><a·id="l000 | 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>[·...·truncated·by·diffoscope;·len:·285,·SHA:·fc05431e7368d4dc9ba345bd4ceea52ff2961551bc8d8b182902ac96dd511678·...·];</div> |
122 | <div·class="line"><a·id="l0006 | 117 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div> |
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>·<a·class="code·hl_function"·href="a01082.html#ac1a2767db120071457c147d3d3086538">parent1</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> | ||
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="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> | ||
127 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno"><a·class="line"·href="a01162.html#a3d284cb584f83589e0b94999b656959e">···66</a></span>··<span·class="keyword">typedef</span>·T·<a·class="code·hl_typedef"·href="a01162.html#a3d284cb584f83589e0b94999b656959e">ctype</a>;</div> | ||
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="l000 | 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> | ||
133 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno"><a·class="line"·href="a01162.html#ae4b560a6c41b23a7365182fdac9531b8">···75</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01162.html#ae4b560a6c41b23a7365182fdac9531b8">WorldCoords</a>·=·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a01110.html#a188d6a829994e6552b894a99dc53a944">Base::WorldCoords</a>;</div> | ||
134 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>·</div> | ||
135 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno"><a·class="line"·href="a01162.html#a56c890ca85f1549350566810a218469c">···77</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01162.html#a56c890ca85f1549350566810a218469c">IntersectionList</a>·=·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a01110.html#a2b4e92fdb207acd9f974c9f85911a74f">Base::IntersectionList</a>;</div> | ||
136 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div> | ||
137 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span><span·class="keyword">protected</span>:</div> | ||
138 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>·</div> | ||
139 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno"><a·class="line"·href="a01162.html#acddba05fcd574e70de3c1d321d3fd320">···82</a></span>··<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01102.html">IntersectionListProvider</a>·=·<a·class="code·hl_class"·href="a01102.html">SimplicialIntersectionListProvider<grid1Dim,·grid2Dim></a>;</div> | ||
140 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno"><a·class="line"·href="a01162.html#adb5251bea3ebf4ec7d31516d4ef8aba2">···83</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01162.html#adb5251bea3ebf4ec7d31516d4ef8aba2">SimplicialIntersection</a>·=·<span·class="keyword">typename</span>·<a·class="code·hl_struct"·href="a01106.html">IntersectionListProvider::SimplicialIntersection</a>;</div> | ||
141 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno"><a·class="line"·href="a01162.html#acdc1d96fdbbb5e5aebcb95d73dac8979">···84</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01162.html#acdc1d96fdbbb5e5aebcb95d73dac8979">RemoteSimplicialIntersection</a>·=·<a·class="code·hl_typedef"·href="a01162.html#adb5251bea3ebf4ec7d31516d4ef8aba2">SimplicialIntersection</a>;</div> | ||
142 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>·</div> | ||
143 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno"><a·class="line"·href="a01162.html#ad1fc86773d689b1280f3e428e06db378">···86</a></span>··<span·class="keywordtype">bool</span>·<a·class="code·hl_variable"·href="a01162.html#ad1fc86773d689b1280f3e428e06db378">valid</a>·=·<span·class="keyword">false</span>;</div> | ||
144 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>·</div> | ||
145 | <div·class="foldopen"·id="foldopen00088"·data-start="{"·data-end="}"> | ||
146 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno"><a·class="line"·href="a01162.html#ad7e4de26d4a61b8fd22d942d2fbd320a">···88</a></span>··<a·class="code·hl_function"·href="a01162.html#ad7e4de26d4a61b8fd22d942d2fbd320a">StandardMerge</a>()</div> | ||
147 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>····:·<a·class="code·hl_variable"·href="a01162.html#a967ed0d99f41f2c9a1c77ea36e62ac13">intersectionListProvider_</a>(std::make_shared<<a·class="code·hl_class"·href="a01102.html">IntersectionListProvider</a>>())</div> | ||
148 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>····,·<a·class="code·hl_variable"·href="a01162.html#a0867753ca060f8245d75f88a2cb20a48">intersectionList_</a>(std::make_shared<<a·class="code·hl_typedef"·href="a01162.html#a56c890ca85f1549350566810a218469c">IntersectionList</a>>(<a·class="code·hl_variable"·href="a01162.html#a967ed0d99f41f2c9a1c77ea36e62ac13">intersectionListProvider_</a>))</div> | ||
149 | <div·class="line"><a·id="l0009 | 123 | <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>};</div> |
150 | </div> | 124 | </div> |
151 | <div·class="line"><a·id="l0009 | 125 | <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>·</div> |
152 | <div·class="line"><a·id="l0009 | 126 | <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span><span·class="keyword">namespace·</span>Impl·{</div> |
153 | <div·class="line"><a·id="l0009 | 127 | <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>·</div> |
154 | <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno"><a·class="line"·href="a01162.html#a07176fafb7b4a8387f96b4794ea29814">···99</a></span>··<span·class="keyword">virtual</span>·<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01162.html#a07176fafb7b4a8387f96b4794ea29814">computeIntersections</a>(<span·class="keyword">const</span>·Dune::GeometryType&·grid1ElementType,</div> | ||
155 | <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>···································<span·class="keyword">const</span>·std::vector<Dune::FieldVector<T,dimworld>·>&·grid1ElementCorners,</div> | ||
156 | <div·class="line"><a·id="l00 | 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> | ||
Max diff block lines reached; 175728/203890 bytes (86.19%) of diff not shown. |
Offset 1, 989 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 | 10#ifndef·DUNE_GRIDGLUE_MERGING_STANDARDMERGE_HH | ||
17 | 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> | ||
20 | 9#include·<vector> | ||
21 | 10 | ||
22 | 11#include·<dune/common/fvector.hh> | ||
18 | 12 | 23 | 12 |
19 | 13 | ||
20 | 14#include·<iostream> | ||
21 | 15#include·<iomanip> | ||
22 | 16#include·<vector> | ||
23 | 17#include·<stack> | ||
24 | 18#include·<set> | ||
25 | 19#include·<utility> | ||
26 | 20#include·<map> | ||
27 | 21#include·<memory> | ||
28 | 22#include·<algorithm> | ||
29 | 23 | ||
30 | 24#include·<dune/common/fvector.hh> | ||
31 | 25#include·<dune/common/bitsetvector.hh> | ||
32 | 26#include·<dune/common/stdstreams.hh> | ||
33 | 27#include·<dune/common/timer.hh> | ||
34 | 28 | ||
35 | 29#include·<dune/geometry/referenceelements.hh> | ||
36 | 30#include·<dune/grid/common/grid.hh> | ||
37 | 31 | ||
38 | 32#include·<_\x8d_\x8u_\x8n_\x8e_\x8/_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e_\x8/_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g_\x8/_\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8l_\x8i_\x8s_\x8t_\x8._\x8h_\x8h> | ||
39 | 33#include·<_\x8d_\x8u_\x8n_\x8e_\x8/_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e_\x8/_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g_\x8/_\x8m_\x8e_\x8r_\x8g_\x8e_\x8r_\x8._\x8h_\x8h> | ||
40 | 34#include·<_\x8d_\x8u_\x8n_\x8e_\x8/_\x8g_\x8r_\x8i_\x8d_\x8-_\x8g_\x8l_\x8u_\x8e_\x8/_\x8m_\x8e_\x8r_\x8g_\x8i_\x8n_\x8g_\x8/_\x8c_\x8o_\x8m_\x8p_\x8u_\x8t_\x8e_\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8._\x8h_\x8h> | ||
41 | 35 | ||
42 | 24 | 13namespace·_\x8D_\x8u_\x8n_\x8e·{ | |
43 | 25 | 14namespace·GridGlue·{ | |
26 | 15 | ||
27 | 20template<typename·L0,·typename·L1> | ||
44 | 38 | ||
45 | 55template<class·T,·int·grid1Dim,·int·grid2Dim,·int·dimworld> | ||
46 | _\x85_\x86class·_\x8S_\x8t_\x8a_\x8n_\x8d_\x8a_\x8r_\x8d_\x8M_\x8e_\x8r_\x8g_\x8e | ||
47 | 57·:·public·_\x8M_\x8e_\x8r_\x8g_\x8e_\x8r<T,grid1Dim,grid2Dim,dimworld> | ||
48 | 58{ | ||
49 | 59·using·_\x8B_\x8a_\x8s_\x8e·=·_\x8M_\x8e_\x8r_\x8g_\x8e_\x8r_\x8<_\x8T_\x8,_\x8·_\x8g_\x8r_\x8i_\x8d_\x81_\x8D_\x8i_\x8m_\x8,_\x8·_\x8g_\x8r_\x8i_\x8d_\x82_\x8D_\x8i_\x8m_\x8,_\x8·_\x8d_\x8i_\x8m_\x8w_\x8o_\x8r_\x8l_\x8d_\x8>; | ||
50 | 60 | ||
51 | 61public: | ||
52 | 62 | ||
53 | 63·/*·E·X·P·O·R·T·E·D·T·Y·P·E·S·A·N·D·C·O·N·S·T·A·N·T·S·*/ | ||
54 | 64 | ||
55 | _\x86_\x86·typedef·T·_\x8c_\x8t_\x8y_\x8p_\x8e; | ||
56 | 67 | ||
57 | _\x86_\x89·using·_\x8G_\x8r_\x8i_\x8d_\x81_\x8C_\x8o_\x8o_\x8r_\x8d_\x8s·=·typename·_\x8B_\x8a_\x8s_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x81_\x8C_\x8o_\x8o_\x8r_\x8d_\x8s; | ||
58 | 70 | ||
59 | _\x87_\x82·using·_\x8G_\x8r_\x8i_\x8d_\x82_\x8C_\x8o_\x8o_\x8r_\x8d_\x8s·=·typename·_\x8B_\x8a_\x8s_\x8e_\x8:_\x8:_\x8G_\x8r_\x8i_\x8d_\x82_\x8C_\x8o_\x8o_\x8r_\x8d_\x8s; | ||
60 | 73 | ||
61 | _\x87_\x85·using·_\x8W_\x8o_\x8r_\x8l_\x8d_\x8C_\x8o_\x8o_\x8r_\x8d_\x8s·=·typename·_\x8B_\x8a_\x8s_\x8e_\x8:_\x8:_\x8W_\x8o_\x8r_\x8l_\x8d_\x8C_\x8o_\x8o_\x8r_\x8d_\x8s; | ||
62 | 76 | ||
63 | _\x87_\x87·using·_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8L_\x8i_\x8s_\x8t·=·typename·_\x8B_\x8a_\x8s_\x8e_\x8:_\x8:_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8L_\x8i_\x8s_\x8t; | ||
64 | 78 | ||
65 | 79protected: | ||
66 | 80 | ||
67 | _\x8 | 28 | _\x82_.1class·_.I_.n_.t_.e_.r_.s_.e_.c_.t_.i_.o_.n_.L_.i_.s_.t_.P_.r_.o_.v_.i_.d_.e_.r |
68 | _\x8S_\x8i_\x8m_\x8p_\x8l_\x8i_\x8c_\x8i_\x8a_\x8l_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8L_\x8i_\x8s_\x8t_\x8P_\x8r_\x8o_\x8v_\x8i_\x8d_\x8e_\x8r_\x8<_\x8g_\x8r_\x8i_\x8d_\x81_\x8D_\x8i_\x8m_\x8,_\x8·_\x8g_\x8r_\x8i_\x8d_\x82_\x8D_\x8i_\x8m_\x8>; | ||
69 | _\x88_\x83·using·_\x8S_\x8i_\x8m_\x8p_\x8l_\x8i_\x8c_\x8i_\x8a_\x8l_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n·=·typename·_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8L_\x8i_\x8s_\x8t_\x8P_\x8r_\x8o_\x8v_\x8i_\x8d_\x8e_\x8r_\x8:_\x8: | ||
70 | _\x8S_\x8i_\x8m_\x8p_\x8l_\x8i_\x8c_\x8i_\x8a_\x8l_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n; | ||
71 | _\x88_\x84·using·_\x8R_\x8e_\x8m_\x8o_\x8t_\x8e_\x8S_\x8i_\x8m_\x8p_\x8l_\x8i_\x8c_\x8i_\x8a_\x8l_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n·=·_\x8S_\x8i_\x8m_\x8p_\x8l_\x8i_\x8c_\x8i_\x8a_\x8l_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n; | ||
72 | 85 | ||
73 | _\x88_\x86·bool·_\x8v_\x8a_\x8l_\x8i_\x8d·=·false; | ||
74 | 87 | ||
75 | _\x88_\x88·_\x8S_\x8t_\x8a_\x8n_\x8d_\x8a_\x8r_\x8d_\x8M_\x8e_\x8r_\x8g_\x8e() | ||
76 | 89·:·_\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8L_\x8i_\x8s_\x8t_\x8P_\x8r_\x8o_\x8v_\x8i_\x8d_\x8e_\x8r_\x8_(std::make_shared<_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8L_\x8i_\x8s_\x8t_\x8P_\x8r_\x8o_\x8v_\x8i_\x8d_\x8e_\x8r>()) | ||
77 | 90·,·_\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8L_\x8i_\x8s_\x8t_\x8_(std::make_shared<_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8L_\x8i_\x8s_\x8t> | ||
78 | (_\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8L_\x8i_\x8s_\x8t_\x8P_\x8r_\x8o_\x8v_\x8i_\x8d_\x8e_\x8r_\x8_)) | ||
79 | 91·{} | ||
80 | 92 | ||
81 | _\x89_\x83·virtual·_\x8~_\x8S_\x8t_\x8a_\x8n_\x8d_\x8a_\x8r_\x8d_\x8M_\x8e_\x8r_\x8g_\x8e()·=·default; | ||
82 | 94 | ||
83 | _\x89_\x89·virtual·void·_\x8c_\x8o_\x8m_\x8p_\x8u_\x8t_\x8e_\x8I_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8s(const·Dune::GeometryType& | ||
84 | grid1ElementType, | ||
85 | 100·const·std::vector<Dune::FieldVector<T,dimworld>·>&·grid1ElementCorners, | ||
86 | 101·std::bitset<(1<<grid1Dim)>&·neighborIntersects1, | ||
87 | 102·unsigned·int·grid1Index, | ||
88 | 103·const·Dune::GeometryType&·grid2ElementType, | ||
89 | 104·const·std::vector<Dune::FieldVector<T,dimworld>·>&·grid2ElementCorners, | ||
90 | 105·std::bitset<(1<<grid2Dim)>&·neighborIntersects2, | ||
91 | 106·unsigned·int·grid2Index, | ||
92 | 29 | 22{ | |
30 | 23public: | ||
31 | 24 | ||
32 | _\x82_\x88·using·_\x8L_\x8o_\x8c_\x8a_\x8l_\x80·=·L0; | ||
33 | 29 | ||
34 | _\x83_\x83·using·_\x8L_\x8o_\x8c_\x8a_\x8l_\x81·=·L1; | ||
35 | 34 | ||
36 | _\x83_\x88·using·_\x8I_\x8n_\x8d_\x8e_\x8x·=·unsigned·int; | ||
37 | 39 | ||
38 | _\x84_\x83·virtual·std::size_t·_\x8s_\x8i_\x8z_\x8e()·const·=·0; | ||
39 | 44 | ||
40 | _\x85_\x80·virtual·std::size_t·_\x8p_\x8a_\x8r_\x8e_\x8n_\x8t_\x8s_\x80(_\x8I_\x8n_\x8d_\x8e_\x8x·intersection)·const·=·0; | ||
41 | 51 | ||
42 | _\x85_\x87·virtual·std::size_t·_\x8p_\x8a_\x8r_\x8e_\x8n_\x8t_\x8s_\x81(_\x8I_\x8n_\x8d_\x8e_\x8x·intersection)·const·=·0; | ||
43 | 58 | ||
44 | _\x86_\x85·virtual·_\x8I_\x8n_\x8d_\x8e_\x8x·_\x8p_\x8a_\x8r_\x8e_\x8n_\x8t_\x80(_\x8I_\x8n_\x8d_\x8e_\x8x·intersection,·unsigned·index)·const·=·0; | ||
45 | 66 | ||
46 | _\x87_\x83·virtual·_\x8I_\x8n_\x8d_\x8e_\x8x·_\x8p_\x8a_\x8r_\x8e_\x8n_\x8t_\x81(_\x8I_\x8n_\x8d_\x8e_\x8x·intersection,·unsigned·index)·const·=·0; | ||
47 | 74 | ||
48 | _\x88_\x82·virtual·_\x8L_\x8o_\x8c_\x8a_\x8l_\x80·_\x8c_\x8o_\x8r_\x8n_\x8e_\x8r_\x80(_\x8I_\x8n_\x8d_\x8e_\x8x·intersection,·unsigned·corner,·unsigned·index) | ||
49 | const·=·0; | ||
50 | 83 | ||
51 | _\x89_\x81·virtual·_\x8L_\x8o_\x8c_\x8a_\x8l_\x81·_\x8c_\x8o_\x8r_\x8n_\x8e_\x8r_\x81(_\x8I_\x8n_\x8d_\x8e_\x8x·intersection,·unsigned·corner,·unsigned·index) | ||
52 | const·=·0; | ||
53 | 92}; | ||
54 | 93 | ||
Max diff block lines reached; 56918/63241 bytes (90.00%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-grid-glue:·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="a00098_source.html">Go·to·the·source·code·of·this·file.</a></p> | 81 | <p><a·href="a00098_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="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="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 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="a00041.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="a00020_source.html">gridglue.cc</a></li> |
1537 | <li><a·class="el"·href="a00005_source.html">rangegenerators.hh</a></li> | 1537 | <li><a·class="el"·href="a00005_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="a00008_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="a00008_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="a00008_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="a00008_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 79, 15 lines modified | Offset 79, 15 lines modified | ||
79 | ··<div·class="headertitle"><div·class="title">Dune::GridGlue::GridGlueVtkWriter·Class·Reference</div></div> | 79 | ··<div·class="headertitle"><div·class="title">Dune::GridGlue::GridGlueVtkWriter·Class·Reference</div></div> |
80 | </div><!--header--> | 80 | </div><!--header--> |
81 | <div·class="contents"> | 81 | <div·class="contents"> |
82 | <p>Write·remote·intersections·to·a·vtk·file·for·debugging·purposes.·· | 82 | <p>Write·remote·intersections·to·a·vtk·file·for·debugging·purposes.·· |
83 | ·<a·href="a00974.html#details">More...</a></p> | 83 | ·<a·href="a00974.html#details">More...</a></p> |
84 | <p><code>#include·<<a·class="el"·href="a000 | 84 | <p><code>#include·<<a·class="el"·href="a00014_source.html">dune/grid-glue/adapter/gridgluevtkwriter.hh</a>></code></p> |
85 | <table·class="memberdecls"> | 85 | <table·class="memberdecls"> |
86 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-methods"·name="pub-static-methods"></a> | 86 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-methods"·name="pub-static-methods"></a> |
87 | Static·Public·Member·Functions</h2></td></tr> | 87 | Static·Public·Member·Functions</h2></td></tr> |
88 | <tr·class="memitem:acf41d8fa1f905cb3c6afe530fce66772"·id="r_acf41d8fa1f905cb3c6afe530fce66772"><td·class="memTemplParams"·colspan="2">template<typename·Glue·>·</td></tr> | 88 | <tr·class="memitem:acf41d8fa1f905cb3c6afe530fce66772"·id="r_acf41d8fa1f905cb3c6afe530fce66772"><td·class="memTemplParams"·colspan="2">template<typename·Glue·>·</td></tr> |
89 | <tr·class="memitem:acf41d8fa1f905cb3c6afe530fce66772"><td·class="memTemplItemLeft"·align="right"·valign="top">static·void </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00974.html#acf41d8fa1f905cb3c6afe530fce66772">write</a>·(const·Glue·&glue,·const·std::string·&filenameTrunk)</td></tr> | 89 | <tr·class="memitem:acf41d8fa1f905cb3c6afe530fce66772"><td·class="memTemplItemLeft"·align="right"·valign="top">static·void </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00974.html#acf41d8fa1f905cb3c6afe530fce66772">write</a>·(const·Glue·&glue,·const·std::string·&filenameTrunk)</td></tr> |
90 | <tr·class="separator:acf41d8fa1f905cb3c6afe530fce66772"><td·class="memSeparator"·colspan="2"> </td></tr> | 90 | <tr·class="separator:acf41d8fa1f905cb3c6afe530fce66772"><td·class="memSeparator"·colspan="2"> </td></tr> |
91 | </table> | 91 | </table> |
Offset 129, 15 lines modified | Offset 129, 15 lines modified | ||
129 | ··</tr> | 129 | ··</tr> |
130 | </table> | 130 | </table> |
131 | </div><div·class="memdoc"> | 131 | </div><div·class="memdoc"> |
132 | </div> | 132 | </div> |
133 | </div> | 133 | </div> |
134 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 134 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
135 | <li><a·class="el"·href="a000 | 135 | <li><a·class="el"·href="a00014_source.html">gridgluevtkwriter.hh</a></li> |
136 | </ul> | 136 | </ul> |
137 | </div><!--·contents·--> | 137 | </div><!--·contents·--> |
138 | <!--·start·footer·part·--> | 138 | <!--·start·footer·part·--> |
139 | <hr·class="footer"/><address·class="footer"><small> | 139 | <hr·class="footer"/><address·class="footer"><small> |
140 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 140 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
141 | </small></address> | 141 | </small></address> |
142 | </body> | 142 | </body> |
Offset 77, 15 lines modified | Offset 77, 15 lines modified | ||
77 | <a·href="#pub-types">Public·Types</a>·| | 77 | <a·href="#pub-types">Public·Types</a>·| |
78 | <a·href="#pub-static-attribs">Static·Public·Attributes</a>·| | 78 | <a·href="#pub-static-attribs">Static·Public·Attributes</a>·| |
79 | <a·href="a00979.html">List·of·all·members</a>··</div> | 79 | <a·href="a00979.html">List·of·all·members</a>··</div> |
80 | ··<div·class="headertitle"><div·class="title">Dune::GridGlue::IntersectionTraits<·P0,·P1,·inside,·outside·>·Struct·Template·Reference</div></div> | 80 | ··<div·class="headertitle"><div·class="title">Dune::GridGlue::IntersectionTraits<·P0,·P1,·inside,·outside·>·Struct·Template·Reference</div></div> |
81 | </div><!--header--> | 81 | </div><!--header--> |
82 | <div·class="contents"> | 82 | <div·class="contents"> |
83 | <p><code>#include·<<a·class="el"·href="a000 | 83 | <p><code>#include·<<a·class="el"·href="a00008_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="a00008_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="a00047_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="a00047_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="a00050_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="a00050_source.html">projection.hh</a></li> |
498 | <li><a·class="el"·href="a000 | 498 | <li><a·class="el"·href="a00035_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="a00050_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="a00050_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="a00053_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="a00053_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 80, 15 lines modified | Offset 80, 15 lines modified | ||
80 | <a·href="#pro-types">Protected·Types</a>·| | 80 | <a·href="#pro-types">Protected·Types</a>·| |
81 | <a·href="#pro-attribs">Protected·Attributes</a>·| | 81 | <a·href="#pro-attribs">Protected·Attributes</a>·| |
82 | <a·href="a01031.html">List·of·all·members</a>··</div> | 82 | <a·href="a01031.html">List·of·all·members</a>··</div> |
83 | ··<div·class="headertitle"><div·class="title">Dune::GridGlue::Codim1Extractor<·GV·>·Class·Template·Reference</div></div> | 83 | ··<div·class="headertitle"><div·class="title">Dune::GridGlue::Codim1Extractor<·GV·>·Class·Template·Reference</div></div> |
84 | </div><!--header--> | 84 | </div><!--header--> |
85 | <div·class="contents"> | 85 | <div·class="contents"> |
86 | <p><code>#include·<<a·class="el"·href="a000 | 86 | <p><code>#include·<<a·class="el"·href="a00056_source.html">dune/grid-glue/extractors/codim1extractor.hh</a>></code></p> |
87 | <div·class="dynheader"> | 87 | <div·class="dynheader"> |
88 | Inheritance·diagram·for·Dune::GridGlue::Codim1Extractor<·GV·>:</div> | 88 | Inheritance·diagram·for·Dune::GridGlue::Codim1Extractor<·GV·>:</div> |
89 | <div·class="dyncontent"> | 89 | <div·class="dyncontent"> |
90 | <div·class="center"><img·src="a01033.png"·border="0"·usemap="#a_dune_1_1_grid_glue_1_1_codim1_extractor_3_01_g_v_01_4_inherit__map"·alt="Inheritance·graph"/></div> | 90 | <div·class="center"><img·src="a01033.png"·border="0"·usemap="#a_dune_1_1_grid_glue_1_1_codim1_extractor_3_01_g_v_01_4_inherit__map"·alt="Inheritance·graph"/></div> |
91 | <map·name="a_dune_1_1_grid_glue_1_1_codim1_extractor_3_01_g_v_01_4_inherit__map"·id="a_dune_1_1_grid_glue_1_1_codim1_extractor_3_01_g_v_01_4_inherit__map"> | 91 | <map·name="a_dune_1_1_grid_glue_1_1_codim1_extractor_3_01_g_v_01_4_inherit__map"·id="a_dune_1_1_grid_glue_1_1_codim1_extractor_3_01_g_v_01_4_inherit__map"> |
92 | <area·shape="rect"·title="·"·alt=""·coords="5,197,244,237"/> | 92 | <area·shape="rect"·title="·"·alt=""·coords="5,197,244,237"/> |
93 | <area·shape="rect"·href="a01038.html"·title="·"·alt=""·coords="31,108,219,148"/> | 93 | <area·shape="rect"·href="a01038.html"·title="·"·alt=""·coords="31,108,219,148"/> |
Offset 1336, 15 lines modified | Offset 1336, 15 lines modified | ||
1336 | <p>a·map·enabling·faster·access·to·vertices·and·coordinates·</p> | 1336 | <p>a·map·enabling·faster·access·to·vertices·and·coordinates·</p> |
1337 | <p>Maps·a·vertex'·index·(from·index·set)·to·an·object·holding·the·locally·associated·index·of·the·vertex'·coordinate·in·coords_·and·an·entity·pointer·to·the·codim<dim>·entity.·</p> | 1337 | <p>Maps·a·vertex'·index·(from·index·set)·to·an·object·holding·the·locally·associated·index·of·the·vertex'·coordinate·in·coords_·and·an·entity·pointer·to·the·codim<dim>·entity.·</p> |
1338 | </div> | 1338 | </div> |
1339 | </div> | 1339 | </div> |
1340 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 1340 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
1341 | <li><a·class="el"·href="a000 | 1341 | <li><a·class="el"·href="a00056_source.html">codim1extractor.hh</a></li> |
1342 | </ul> | 1342 | </ul> |
1343 | </div><!--·contents·--> | 1343 | </div><!--·contents·--> |
1344 | <!--·start·footer·part·--> | 1344 | <!--·start·footer·part·--> |
1345 | <hr·class="footer"/><address·class="footer"><small> | 1345 | <hr·class="footer"/><address·class="footer"><small> |
1346 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 1346 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
1347 | </small></address> | 1347 | </small></address> |
1348 | </body> | 1348 | </body> |
Offset 84, 15 lines modified | Offset 84, 15 lines modified | ||
84 | ··<div·class="headertitle"><div·class="title">Dune::GridGlue::Extractor<·GV,·cd·>·Class·Template·Reference</div></div> | 84 | ··<div·class="headertitle"><div·class="title">Dune::GridGlue::Extractor<·GV,·cd·>·Class·Template·Reference</div></div> |
85 | </div><!--header--> | 85 | </div><!--header--> |
86 | <div·class="contents"> | 86 | <div·class="contents"> |
87 | <p>Provides·codimension-independent·methods·for·grid·extraction.·· | 87 | <p>Provides·codimension-independent·methods·for·grid·extraction.·· |
88 | ·<a·href="a01038.html#details">More...</a></p> | 88 | ·<a·href="a01038.html#details">More...</a></p> |
89 | <p><code>#include·<<a·class="el"·href="a000 | 89 | <p><code>#include·<<a·class="el"·href="a00062_source.html">dune/grid-glue/extractors/extractor.hh</a>></code></p> |
90 | <div·class="dynheader"> | 90 | <div·class="dynheader"> |
91 | Inheritance·diagram·for·Dune::GridGlue::Extractor<·GV,·cd·>:</div> | 91 | Inheritance·diagram·for·Dune::GridGlue::Extractor<·GV,·cd·>:</div> |
92 | <div·class="dyncontent"> | 92 | <div·class="dyncontent"> |
93 | <div·class="center"><img·src="a01037.png"·border="0"·usemap="#a_dune_1_1_grid_glue_1_1_extractor_3_01_g_v_00_01cd_01_4_inherit__map"·alt="Inheritance·graph"/></div> | 93 | <div·class="center"><img·src="a01037.png"·border="0"·usemap="#a_dune_1_1_grid_glue_1_1_extractor_3_01_g_v_00_01cd_01_4_inherit__map"·alt="Inheritance·graph"/></div> |
94 | <map·name="a_dune_1_1_grid_glue_1_1_extractor_3_01_g_v_00_01cd_01_4_inherit__map"·id="a_dune_1_1_grid_glue_1_1_extractor_3_01_g_v_00_01cd_01_4_inherit__map"> | 94 | <map·name="a_dune_1_1_grid_glue_1_1_extractor_3_01_g_v_00_01cd_01_4_inherit__map"·id="a_dune_1_1_grid_glue_1_1_extractor_3_01_g_v_00_01cd_01_4_inherit__map"> |
95 | <area·shape="rect"·title="Provides·codimension-independent·methods·for·grid·extraction."·alt=""·coords="149,5,337,45"/> | 95 | <area·shape="rect"·title="Provides·codimension-independent·methods·for·grid·extraction."·alt=""·coords="149,5,337,45"/> |
96 | <area·shape="rect"·href="a01038.html"·title="·"·alt=""·coords="44,108,232,148"/> | 96 | <area·shape="rect"·href="a01038.html"·title="·"·alt=""·coords="44,108,232,148"/> |
Offset 1230, 15 lines modified | Offset 1230, 15 lines modified | ||
1230 | <p>a·map·enabling·faster·access·to·vertices·and·coordinates·</p> | 1230 | <p>a·map·enabling·faster·access·to·vertices·and·coordinates·</p> |
1231 | <p>Maps·a·vertex'·index·(from·index·set)·to·an·object·holding·the·locally·associated·index·of·the·vertex'·coordinate·in·coords_·and·an·entity·pointer·to·the·codim<dim>·entity.·</p> | 1231 | <p>Maps·a·vertex'·index·(from·index·set)·to·an·object·holding·the·locally·associated·index·of·the·vertex'·coordinate·in·coords_·and·an·entity·pointer·to·the·codim<dim>·entity.·</p> |
1232 | </div> | 1232 | </div> |
1233 | </div> | 1233 | </div> |
1234 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 1234 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
1235 | <li><a·class="el"·href="a000 | 1235 | <li><a·class="el"·href="a00062_source.html">extractor.hh</a></li> |
1236 | </ul> | 1236 | </ul> |
1237 | </div><!--·contents·--> | 1237 | </div><!--·contents·--> |
1238 | <!--·start·footer·part·--> | 1238 | <!--·start·footer·part·--> |
1239 | <hr·class="footer"/><address·class="footer"><small> | 1239 | <hr·class="footer"/><address·class="footer"><small> |
1240 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 1240 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
1241 | </small></address> | 1241 | </small></address> |
1242 | </body> | 1242 | </body> |
Offset 79, 15 lines modified | Offset 79, 15 lines modified | ||
79 | ··<div·class="headertitle"><div·class="title">Dune::GridGlue::Extractor<·GV,·cd·>::CornerInfo·Struct·Reference</div></div> | 79 | ··<div·class="headertitle"><div·class="title">Dune::GridGlue::Extractor<·GV,·cd·>::CornerInfo·Struct·Reference</div></div> |
80 | </div><!--header--> | 80 | </div><!--header--> |
81 | <div·class="contents"> | 81 | <div·class="contents"> |
82 | <p>Helpful·struct·holding·one·index·for·the·coordinate·(vertex)·to·which·it·is·associated·and·the·element's·corner·index;.·· | 82 | <p>Helpful·struct·holding·one·index·for·the·coordinate·(vertex)·to·which·it·is·associated·and·the·element's·corner·index;.·· |
83 | ·<a·href="a01042.html#details">More...</a></p> | 83 | ·<a·href="a01042.html#details">More...</a></p> |
84 | <p><code>#include·<<a·class="el"·href="a000 | 84 | <p><code>#include·<<a·class="el"·href="a00062_source.html">dune/grid-glue/extractors/extractor.hh</a>></code></p> |
85 | <table·class="memberdecls"> | 85 | <table·class="memberdecls"> |
86 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-attribs"·name="pub-attribs"></a> | 86 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-attribs"·name="pub-attribs"></a> |
87 | Public·Attributes</h2></td></tr> | 87 | Public·Attributes</h2></td></tr> |
88 | <tr·class="memitem:a3b8d1d0d696b92822fbc1157a64b5844"·id="r_a3b8d1d0d696b92822fbc1157a64b5844"><td·class="memItemLeft"·align="right"·valign="top">unsigned·int </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01042.html#a3b8d1d0d696b92822fbc1157a64b5844">idx</a>:·28</td></tr> | 88 | <tr·class="memitem:a3b8d1d0d696b92822fbc1157a64b5844"·id="r_a3b8d1d0d696b92822fbc1157a64b5844"><td·class="memItemLeft"·align="right"·valign="top">unsigned·int </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01042.html#a3b8d1d0d696b92822fbc1157a64b5844">idx</a>:·28</td></tr> |
89 | <tr·class="memdesc:a3b8d1d0d696b92822fbc1157a64b5844"><td·class="mdescLeft"> </td><td·class="mdescRight">index·of·the·vertex··<br·/></td></tr> | 89 | <tr·class="memdesc:a3b8d1d0d696b92822fbc1157a64b5844"><td·class="mdescLeft"> </td><td·class="mdescRight">index·of·the·vertex··<br·/></td></tr> |
90 | <tr·class="separator:a3b8d1d0d696b92822fbc1157a64b5844"><td·class="memSeparator"·colspan="2"> </td></tr> | 90 | <tr·class="separator:a3b8d1d0d696b92822fbc1157a64b5844"><td·class="memSeparator"·colspan="2"> </td></tr> |
91 | <tr·class="memitem:a502e35e622af6a8101e9aa1a765f60d2"·id="r_a502e35e622af6a8101e9aa1a765f60d2"><td·class="memItemLeft"·align="right"·valign="top">unsigned·int </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01042.html#a502e35e622af6a8101e9aa1a765f60d2">num</a>:·4</td></tr> | 91 | <tr·class="memitem:a502e35e622af6a8101e9aa1a765f60d2"·id="r_a502e35e622af6a8101e9aa1a765f60d2"><td·class="memItemLeft"·align="right"·valign="top">unsigned·int </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01042.html#a502e35e622af6a8101e9aa1a765f60d2">num</a>:·4</td></tr> |
Offset 131, 15 lines modified | Offset 131, 15 lines modified | ||
131 | </div><div·class="memdoc"> | 131 | </div><div·class="memdoc"> |
132 | <p>element·corner·</p> | 132 | <p>element·corner·</p> |
133 | </div> | 133 | </div> |
134 | </div> | 134 | </div> |
135 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 135 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
136 | <li><a·class="el"·href="a000 | 136 | <li><a·class="el"·href="a00062_source.html">extractor.hh</a></li> |
137 | </ul> | 137 | </ul> |
138 | </div><!--·contents·--> | 138 | </div><!--·contents·--> |
139 | <!--·start·footer·part·--> | 139 | <!--·start·footer·part·--> |
140 | <hr·class="footer"/><address·class="footer"><small> | 140 | <hr·class="footer"/><address·class="footer"><small> |
141 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 141 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
142 | </small></address> | 142 | </small></address> |
143 | </body> | 143 | </body> |
Offset 77, 15 lines modified | Offset 77, 15 lines modified | ||
77 | <a·href="#pub-methods">Public·Member·Functions</a>·| | 77 | <a·href="#pub-methods">Public·Member·Functions</a>·| |
78 | <a·href="#pub-attribs">Public·Attributes</a>·| | 78 | <a·href="#pub-attribs">Public·Attributes</a>·| |
79 | <a·href="a01043.html">List·of·all·members</a>··</div> | 79 | <a·href="a01043.html">List·of·all·members</a>··</div> |
80 | ··<div·class="headertitle"><div·class="title">Dune::GridGlue::Extractor<·GV,·cd·>::CoordinateInfo·Struct·Reference</div></div> | 80 | ··<div·class="headertitle"><div·class="title">Dune::GridGlue::Extractor<·GV,·cd·>::CoordinateInfo·Struct·Reference</div></div> |
81 | </div><!--header--> | 81 | </div><!--header--> |
82 | <div·class="contents"> | 82 | <div·class="contents"> |
83 | <p><code>#include·<<a·class="el"·href="a000 | 83 | <p><code>#include·<<a·class="el"·href="a00062_source.html">dune/grid-glue/extractors/extractor.hh</a>></code></p> |
84 | <table·class="memberdecls"> | 84 | <table·class="memberdecls"> |
85 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a> | 85 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a> |
86 | Public·Member·Functions</h2></td></tr> | 86 | Public·Member·Functions</h2></td></tr> |
87 | <tr·class="memitem:a7e31ac588316151d0ea70e79a0ff5c86"·id="r_a7e31ac588316151d0ea70e79a0ff5c86"><td·class="memItemLeft"·align="right"·valign="top"> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01046.html#a7e31ac588316151d0ea70e79a0ff5c86">CoordinateInfo</a>·()</td></tr> | 87 | <tr·class="memitem:a7e31ac588316151d0ea70e79a0ff5c86"·id="r_a7e31ac588316151d0ea70e79a0ff5c86"><td·class="memItemLeft"·align="right"·valign="top"> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01046.html#a7e31ac588316151d0ea70e79a0ff5c86">CoordinateInfo</a>·()</td></tr> |
88 | <tr·class="separator:a7e31ac588316151d0ea70e79a0ff5c86"><td·class="memSeparator"·colspan="2"> </td></tr> | 88 | <tr·class="separator:a7e31ac588316151d0ea70e79a0ff5c86"><td·class="memSeparator"·colspan="2"> </td></tr> |
89 | <tr·class="memitem:a06fec45f891707a747e8390ce49a1961"·id="r_a06fec45f891707a747e8390ce49a1961"><td·class="memItemLeft"·align="right"·valign="top"> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01046.html#a06fec45f891707a747e8390ce49a1961">CoordinateInfo</a>·(unsigned·int·index_,·<a·class="el"·href="a01038.html#a2b9a14410a511802e1292adbdd69667e">IndexType</a>·vtxindex_)</td></tr> | 89 | <tr·class="memitem:a06fec45f891707a747e8390ce49a1961"·id="r_a06fec45f891707a747e8390ce49a1961"><td·class="memItemLeft"·align="right"·valign="top"> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01046.html#a06fec45f891707a747e8390ce49a1961">CoordinateInfo</a>·(unsigned·int·index_,·<a·class="el"·href="a01038.html#a2b9a14410a511802e1292adbdd69667e">IndexType</a>·vtxindex_)</td></tr> |
90 | <tr·class="separator:a06fec45f891707a747e8390ce49a1961"><td·class="memSeparator"·colspan="2"> </td></tr> | 90 | <tr·class="separator:a06fec45f891707a747e8390ce49a1961"><td·class="memSeparator"·colspan="2"> </td></tr> |
Offset 220, 15 lines modified | Offset 220, 15 lines modified | ||
220 | </div><div·class="memdoc"> | 220 | </div><div·class="memdoc"> |
221 | <p>the·index·of·the·parent·element·(from·index·set)·</p> | 221 | <p>the·index·of·the·parent·element·(from·index·set)·</p> |
222 | </div> | 222 | </div> |
223 | </div> | 223 | </div> |
224 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 224 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
225 | <li><a·class="el"·href="a000 | 225 | <li><a·class="el"·href="a00062_source.html">extractor.hh</a></li> |
226 | </ul> | 226 | </ul> |
227 | </div><!--·contents·--> | 227 | </div><!--·contents·--> |
228 | <!--·start·footer·part·--> | 228 | <!--·start·footer·part·--> |
229 | <hr·class="footer"/><address·class="footer"><small> | 229 | <hr·class="footer"/><address·class="footer"><small> |
230 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 230 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
231 | </small></address> | 231 | </small></address> |
232 | </body> | 232 | </body> |
Offset 80, 15 lines modified | Offset 80, 15 lines modified | ||
80 | ··<div·class="headertitle"><div·class="title">Dune::GridGlue::Extractor<·GV,·cd·>::VertexInfo·Struct·Reference</div></div> | 80 | ··<div·class="headertitle"><div·class="title">Dune::GridGlue::Extractor<·GV,·cd·>::VertexInfo·Struct·Reference</div></div> |
81 | </div><!--header--> | 81 | </div><!--header--> |
82 | <div·class="contents"> | 82 | <div·class="contents"> |
83 | <p>simple·struct·holding·a·vertex·pointer·and·an·index·· | 83 | <p>simple·struct·holding·a·vertex·pointer·and·an·index·· |
84 | ·<a·href="a01050.html#details">More...</a></p> | 84 | ·<a·href="a01050.html#details">More...</a></p> |
85 | <p><code>#include·<<a·class="el"·href="a000 | 85 | <p><code>#include·<<a·class="el"·href="a00062_source.html">dune/grid-glue/extractors/extractor.hh</a>></code></p> |
86 | <table·class="memberdecls"> | 86 | <table·class="memberdecls"> |
87 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a> | 87 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a> |
88 | Public·Member·Functions</h2></td></tr> | 88 | Public·Member·Functions</h2></td></tr> |
89 | <tr·class="memitem:a5932db102261d9fb7233d66f3b3e3b3a"·id="r_a5932db102261d9fb7233d66f3b3e3b3a"><td·class="memItemLeft"·align="right"·valign="top"> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01050.html#a5932db102261d9fb7233d66f3b3e3b3a">VertexInfo</a>·(unsigned·int·idx_,·const·<a·class="el"·href="a01038.html#a020348ef27a849cfa010feeec342e3ab">Vertex</a>·&p_)</td></tr> | 89 | <tr·class="memitem:a5932db102261d9fb7233d66f3b3e3b3a"·id="r_a5932db102261d9fb7233d66f3b3e3b3a"><td·class="memItemLeft"·align="right"·valign="top"> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01050.html#a5932db102261d9fb7233d66f3b3e3b3a">VertexInfo</a>·(unsigned·int·idx_,·const·<a·class="el"·href="a01038.html#a020348ef27a849cfa010feeec342e3ab">Vertex</a>·&p_)</td></tr> |
90 | <tr·class="separator:a5932db102261d9fb7233d66f3b3e3b3a"><td·class="memSeparator"·colspan="2"> </td></tr> | 90 | <tr·class="separator:a5932db102261d9fb7233d66f3b3e3b3a"><td·class="memSeparator"·colspan="2"> </td></tr> |
91 | </table><table·class="memberdecls"> | 91 | </table><table·class="memberdecls"> |
92 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-attribs"·name="pub-attribs"></a> | 92 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-attribs"·name="pub-attribs"></a> |
Offset 170, 15 lines modified | Offset 170, 15 lines modified | ||
170 | ········</tr> | 170 | ········</tr> |
171 | ······</table> | 171 | ······</table> |
172 | </div><div·class="memdoc"> | 172 | </div><div·class="memdoc"> |
173 | </div> | 173 | </div> |
174 | </div> | 174 | </div> |
175 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 175 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
176 | <li><a·class="el"·href="a000 | 176 | <li><a·class="el"·href="a00062_source.html">extractor.hh</a></li> |
177 | </ul> | 177 | </ul> |
178 | </div><!--·contents·--> | 178 | </div><!--·contents·--> |
179 | <!--·start·footer·part·--> | 179 | <!--·start·footer·part·--> |
180 | <hr·class="footer"/><address·class="footer"><small> | 180 | <hr·class="footer"/><address·class="footer"><small> |
181 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 181 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
182 | </small></address> | 182 | </small></address> |
183 | </body> | 183 | </body> |
Offset 80, 15 lines modified | Offset 80, 15 lines modified | ||
80 | ··<div·class="headertitle"><div·class="title">Dune::GridGlue::Extractor<·GV,·cd·>::ElementInfo·Struct·Reference</div></div> | 80 | ··<div·class="headertitle"><div·class="title">Dune::GridGlue::Extractor<·GV,·cd·>::ElementInfo·Struct·Reference</div></div> |
81 | </div><!--header--> | 81 | </div><!--header--> |
82 | <div·class="contents"> | 82 | <div·class="contents"> |
83 | <p>simple·struct·holding·an·element·seed·and·an·index·· | 83 | <p>simple·struct·holding·an·element·seed·and·an·index·· |
84 | ·<a·href="a01054.html#details">More...</a></p> | 84 | ·<a·href="a01054.html#details">More...</a></p> |
85 | <p><code>#include·<<a·class="el"·href="a000 | 85 | <p><code>#include·<<a·class="el"·href="a00062_source.html">dune/grid-glue/extractors/extractor.hh</a>></code></p> |
86 | <table·class="memberdecls"> | 86 | <table·class="memberdecls"> |
87 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a> | 87 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a> |
88 | Public·Member·Functions</h2></td></tr> | 88 | Public·Member·Functions</h2></td></tr> |
89 | <tr·class="memitem:acf8db29446405385691d936f984225bf"·id="r_acf8db29446405385691d936f984225bf"><td·class="memItemLeft"·align="right"·valign="top"> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01054.html#acf8db29446405385691d936f984225bf">ElementInfo</a>·(unsigned·int·idx_,·const·<a·class="el"·href="a01038.html#a38e9d4e9023b159a785a2577f2367d94">Element</a>·&p_,·unsigned·int·f_)</td></tr> | 89 | <tr·class="memitem:acf8db29446405385691d936f984225bf"·id="r_acf8db29446405385691d936f984225bf"><td·class="memItemLeft"·align="right"·valign="top"> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01054.html#acf8db29446405385691d936f984225bf">ElementInfo</a>·(unsigned·int·idx_,·const·<a·class="el"·href="a01038.html#a38e9d4e9023b159a785a2577f2367d94">Element</a>·&p_,·unsigned·int·f_)</td></tr> |
90 | <tr·class="separator:acf8db29446405385691d936f984225bf"><td·class="memSeparator"·colspan="2"> </td></tr> | 90 | <tr·class="separator:acf8db29446405385691d936f984225bf"><td·class="memSeparator"·colspan="2"> </td></tr> |
91 | </table><table·class="memberdecls"> | 91 | </table><table·class="memberdecls"> |
92 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-attribs"·name="pub-attribs"></a> | 92 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-attribs"·name="pub-attribs"></a> |
Offset 203, 15 lines modified | Offset 203, 15 lines modified | ||
203 | </div><div·class="memdoc"> | 203 | </div><div·class="memdoc"> |
204 | <p>the·entity·seed·for·the·element·</p> | 204 | <p>the·entity·seed·for·the·element·</p> |
205 | </div> | 205 | </div> |
206 | </div> | 206 | </div> |
207 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 207 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
208 | <li><a·class="el"·href="a000 | 208 | <li><a·class="el"·href="a00062_source.html">extractor.hh</a></li> |
209 | </ul> | 209 | </ul> |
210 | </div><!--·contents·--> | 210 | </div><!--·contents·--> |
211 | <!--·start·footer·part·--> | 211 | <!--·start·footer·part·--> |
212 | <hr·class="footer"/><address·class="footer"><small> | 212 | <hr·class="footer"/><address·class="footer"><small> |
213 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 213 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
214 | </small></address> | 214 | </small></address> |
215 | </body> | 215 | </body> |
Offset 80, 15 lines modified | Offset 80, 15 lines modified | ||
80 | ··<div·class="headertitle"><div·class="title">Dune::GridGlue::Extractor<·GV,·cd·>::SubEntityInfo·Struct·Reference</div></div> | 80 | ··<div·class="headertitle"><div·class="title">Dune::GridGlue::Extractor<·GV,·cd·>::SubEntityInfo·Struct·Reference</div></div> |
81 | </div><!--header--> | 81 | </div><!--header--> |
82 | <div·class="contents"> | 82 | <div·class="contents"> |
83 | <p>Holds·some·information·about·an·element's·subentity·involved·in·a·coupling.·· | 83 | <p>Holds·some·information·about·an·element's·subentity·involved·in·a·coupling.·· |
84 | ·<a·href="a01058.html#details">More...</a></p> | 84 | ·<a·href="a01058.html#details">More...</a></p> |
85 | <p><code>#include·<<a·class="el"·href="a000 | 85 | <p><code>#include·<<a·class="el"·href="a00062_source.html">dune/grid-glue/extractors/extractor.hh</a>></code></p> |
86 | <table·class="memberdecls"> | 86 | <table·class="memberdecls"> |
87 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a> | 87 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a> |
88 | Public·Member·Functions</h2></td></tr> | 88 | Public·Member·Functions</h2></td></tr> |
89 | <tr·class="memitem:ac8b5c632a49c15163dc585688791480a"·id="r_ac8b5c632a49c15163dc585688791480a"><td·class="memItemLeft"·align="right"·valign="top"> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01058.html#ac8b5c632a49c15163dc585688791480a">SubEntityInfo</a>·()</td></tr> | 89 | <tr·class="memitem:ac8b5c632a49c15163dc585688791480a"·id="r_ac8b5c632a49c15163dc585688791480a"><td·class="memItemLeft"·align="right"·valign="top"> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01058.html#ac8b5c632a49c15163dc585688791480a">SubEntityInfo</a>·()</td></tr> |
90 | <tr·class="separator:ac8b5c632a49c15163dc585688791480a"><td·class="memSeparator"·colspan="2"> </td></tr> | 90 | <tr·class="separator:ac8b5c632a49c15163dc585688791480a"><td·class="memSeparator"·colspan="2"> </td></tr> |
91 | <tr·class="memitem:a446bf736e9a759c5e306195b494bc9bf"·id="r_a446bf736e9a759c5e306195b494bc9bf"><td·class="memItemLeft"·align="right"·valign="top"> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01058.html#a446bf736e9a759c5e306195b494bc9bf">SubEntityInfo</a>·(<a·class="el"·href="a01038.html#a2b9a14410a511802e1292adbdd69667e">IndexType</a>·parent_,·unsigned·int·num_in_parent_,·const·Dune::GeometryType·&geometryType)</td></tr> | 91 | <tr·class="memitem:a446bf736e9a759c5e306195b494bc9bf"·id="r_a446bf736e9a759c5e306195b494bc9bf"><td·class="memItemLeft"·align="right"·valign="top"> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01058.html#a446bf736e9a759c5e306195b494bc9bf">SubEntityInfo</a>·(<a·class="el"·href="a01038.html#a2b9a14410a511802e1292adbdd69667e">IndexType</a>·parent_,·unsigned·int·num_in_parent_,·const·Dune::GeometryType·&geometryType)</td></tr> |
92 | <tr·class="separator:a446bf736e9a759c5e306195b494bc9bf"><td·class="memSeparator"·colspan="2"> </td></tr> | 92 | <tr·class="separator:a446bf736e9a759c5e306195b494bc9bf"><td·class="memSeparator"·colspan="2"> </td></tr> |
Offset 284, 15 lines modified | Offset 284, 15 lines modified | ||
284 | </div><div·class="memdoc"> | 284 | </div><div·class="memdoc"> |
285 | <p>the·index·of·the·parent·element·(from·index·set)·</p> | 285 | <p>the·index·of·the·parent·element·(from·index·set)·</p> |
286 | </div> | 286 | </div> |
287 | </div> | 287 | </div> |
288 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 288 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
289 | <li><a·class="el"·href="a000 | 289 | <li><a·class="el"·href="a00062_source.html">extractor.hh</a></li> |
290 | </ul> | 290 | </ul> |
291 | </div><!--·contents·--> | 291 | </div><!--·contents·--> |
292 | <!--·start·footer·part·--> | 292 | <!--·start·footer·part·--> |
293 | <hr·class="footer"/><address·class="footer"><small> | 293 | <hr·class="footer"/><address·class="footer"><small> |
294 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 294 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
295 | </small></address> | 295 | </small></address> |
296 | </body> | 296 | </body> |
Offset 77, 15 lines modified | Offset 77, 15 lines modified | ||
77 | <a·href="#pub-methods">Public·Member·Functions</a>·| | 77 | <a·href="#pub-methods">Public·Member·Functions</a>·| |
78 | <a·href="#pro-methods">Protected·Member·Functions</a>·| | 78 | <a·href="#pro-methods">Protected·Member·Functions</a>·| |
79 | <a·href="a01059.html">List·of·all·members</a>··</div> | 79 | <a·href="a01059.html">List·of·all·members</a>··</div> |
80 | ··<div·class="headertitle"><div·class="title">Dune::GridGlue::VtkSurfaceWriter·Class·Reference</div></div> | 80 | ··<div·class="headertitle"><div·class="title">Dune::GridGlue::VtkSurfaceWriter·Class·Reference</div></div> |
81 | </div><!--header--> | 81 | </div><!--header--> |
82 | <div·class="contents"> | 82 | <div·class="contents"> |
83 | <p><code>#include·<<a·class="el"·href="a0005 | 83 | <p><code>#include·<<a·class="el"·href="a00059_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="a00059_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="a00071_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="a00071_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="a00071_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="a00071_source.html">computeintersection.hh</a></li> |
255 | <li><a·class="el"·href="a0009 | 255 | <li><a·class="el"·href="a00098_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="a00092_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="a00092_source.html">conformingmerge.hh</a></li> |
1154 | </ul> | 1154 | </ul> |
1155 | </div><!--·contents·--> | 1155 | </div><!--·contents·--> |
1156 | <!--·start·footer·part·--> | 1156 | <!--·start·footer·part·--> |
1157 | <hr·class="footer"/><address·class="footer"><small> | 1157 | <hr·class="footer"/><address·class="footer"><small> |
1158 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 1158 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
1159 | </small></address> | 1159 | </small></address> |
1160 | </body> | 1160 | </body> |
Offset 84, 15 lines modified | Offset 84, 15 lines modified | ||
84 | ··<div·class="headertitle"><div·class="title">Dune::GridGlue::ContactMerge<·dimworld,·T·>·Class·Template·Reference<span·class="mlabels"><span·class="mlabel">abstract</span></span></div></div> | 84 | ··<div·class="headertitle"><div·class="title">Dune::GridGlue::ContactMerge<·dimworld,·T·>·Class·Template·Reference<span·class="mlabels"><span·class="mlabel">abstract</span></span></div></div> |
85 | </div><!--header--> | 85 | </div><!--header--> |
86 | <div·class="contents"> | 86 | <div·class="contents"> |
87 | <p>Merge·two·codimension-1·surfaces·that·may·be·a·positive·distance·apart.·· | 87 | <p>Merge·two·codimension-1·surfaces·that·may·be·a·positive·distance·apart.·· |
88 | ·<a·href="a01078.html#details">More...</a></p> | 88 | ·<a·href="a01078.html#details">More...</a></p> |
89 | <p><code>#include·<<a·class="el"·href="a000 | 89 | <p><code>#include·<<a·class="el"·href="a00068_source.html">dune/grid-glue/merging/contactmerge.hh</a>></code></p> |
90 | <div·class="dynheader"> | 90 | <div·class="dynheader"> |
91 | Inheritance·diagram·for·Dune::GridGlue::ContactMerge<·dimworld,·T·>:</div> | 91 | Inheritance·diagram·for·Dune::GridGlue::ContactMerge<·dimworld,·T·>:</div> |
92 | <div·class="dyncontent"> | 92 | <div·class="dyncontent"> |
93 | <div·class="center"><img·src="a01077.png"·border="0"·usemap="#a_dune_1_1_grid_glue_1_1_contact_merge_3_01dimworld_00_01_t_01_4_inherit__map"·alt="Inheritance·graph"/></div> | 93 | <div·class="center"><img·src="a01077.png"·border="0"·usemap="#a_dune_1_1_grid_glue_1_1_contact_merge_3_01dimworld_00_01_t_01_4_inherit__map"·alt="Inheritance·graph"/></div> |
94 | <map·name="a_dune_1_1_grid_glue_1_1_contact_merge_3_01dimworld_00_01_t_01_4_inherit__map"·id="a_dune_1_1_grid_glue_1_1_contact_merge_3_01dimworld_00_01_t_01_4_inherit__map"> | 94 | <map·name="a_dune_1_1_grid_glue_1_1_contact_merge_3_01dimworld_00_01_t_01_4_inherit__map"·id="a_dune_1_1_grid_glue_1_1_contact_merge_3_01dimworld_00_01_t_01_4_inherit__map"> |
95 | <area·shape="rect"·title="Merge·two·codimension-1·surfaces·that·may·be·a·positive·distance·apart."·alt=""·coords="9,345,229,385"/> | 95 | <area·shape="rect"·title="Merge·two·codimension-1·surfaces·that·may·be·a·positive·distance·apart."·alt=""·coords="9,345,229,385"/> |
96 | <area·shape="rect"·href="a01162.html"·title="Common·base·class·for·many·merger·implementations:·produce·pairs·of·entities·that·may·intersect."·alt=""·coords="5,241,232,296"/> | 96 | <area·shape="rect"·href="a01162.html"·title="Common·base·class·for·many·merger·implementations:·produce·pairs·of·entities·that·may·intersect."·alt=""·coords="5,241,232,296"/> |
Offset 1636, 16 lines modified | Offset 1636, 16 lines modified | ||
1636 | ··</tr> | 1636 | ··</tr> |
1637 | </table> | 1637 | </table> |
1638 | </div><div·class="memdoc"> | 1638 | </div><div·class="memdoc"> |
1639 | </div> | 1639 | </div> |
1640 | </div> | 1640 | </div> |
1641 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul> | 1641 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul> |
1642 | <li><a·class="el"·href="a000 | 1642 | <li><a·class="el"·href="a00068_source.html">contactmerge.hh</a></li> |
1643 | <li><a·class="el"·href="a000 | 1643 | <li><a·class="el"·href="a00086_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="a0009 | 83 | <p><code>#include·<<a·class="el"·href="a00095_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="a0009 | 495 | <li><a·class="el"·href="a00095_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="a0009 | 83 | <p><code>#include·<<a·class="el"·href="a00095_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="a0009 | 367 | <li><a·class="el"·href="a00095_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="a0009 | 84 | <p><code>#include·<<a·class="el"·href="a00095_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="a0009 | 638 | <li><a·class="el"·href="a00095_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="a0009 | 84 | <p><code>#include·<<a·class="el"·href="a00095_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="a0009 | 269 | <li><a·class="el"·href="a00095_source.html">intersectionlist.hh</a></li> |
270 | </ul> | 270 | </ul> |
271 | </div><!--·contents·--> | 271 | </div><!--·contents·--> |
272 | <!--·start·footer·part·--> | 272 | <!--·start·footer·part·--> |
273 | <hr·class="footer"/><address·class="footer"><small> | 273 | <hr·class="footer"/><address·class="footer"><small> |
274 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 274 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
275 | </small></address> | 275 | </small></address> |
276 | </body> | 276 | </body> |
Offset 81, 15 lines modified | Offset 81, 15 lines modified | ||
81 | ··<div·class="headertitle"><div·class="title">Dune::GridGlue::Merger<·ctype,·grid1Dim,·grid2Dim,·dimworld·>·Class·Template·Reference<span·class="mlabels"><span·class="mlabel">abstract</span></span></div></div> | 81 | ··<div·class="headertitle"><div·class="title">Dune::GridGlue::Merger<·ctype,·grid1Dim,·grid2Dim,·dimworld·>·Class·Template·Reference<span·class="mlabels"><span·class="mlabel">abstract</span></span></div></div> |
82 | </div><!--header--> | 82 | </div><!--header--> |
83 | <div·class="contents"> | 83 | <div·class="contents"> |
84 | <p>Abstract·base·for·all·classes·that·take·extracted·grids·and·build·sets·of·intersections.·· | 84 | <p>Abstract·base·for·all·classes·that·take·extracted·grids·and·build·sets·of·intersections.·· |
85 | ·<a·href="a01110.html#details">More...</a></p> | 85 | ·<a·href="a01110.html#details">More...</a></p> |
86 | <p><code>#include·<<a·class="el"·href="a000 | 86 | <p><code>#include·<<a·class="el"·href="a00080_source.html">dune/grid-glue/merging/merger.hh</a>></code></p> |
87 | <div·class="dynheader"> | 87 | <div·class="dynheader"> |
88 | Inheritance·diagram·for·Dune::GridGlue::Merger<·ctype,·grid1Dim,·grid2Dim,·dimworld·>:</div> | 88 | Inheritance·diagram·for·Dune::GridGlue::Merger<·ctype,·grid1Dim,·grid2Dim,·dimworld·>:</div> |
89 | <div·class="dyncontent"> | 89 | <div·class="dyncontent"> |
90 | <div·class="center"><img·src="a01109.png"·border="0"·usemap="#a_dune_1_1_grid_glue_1_1_merger_3_01ctype_00_01grid1_dim_00_01grid2_dim_00_01dimworld_01_4_inherit__map"·alt="Inheritance·graph"/></div> | 90 | <div·class="center"><img·src="a01109.png"·border="0"·usemap="#a_dune_1_1_grid_glue_1_1_merger_3_01ctype_00_01grid1_dim_00_01grid2_dim_00_01dimworld_01_4_inherit__map"·alt="Inheritance·graph"/></div> |
91 | <map·name="a_dune_1_1_grid_glue_1_1_merger_3_01ctype_00_01grid1_dim_00_01grid2_dim_00_01dimworld_01_4_inherit__map"·id="a_dune_1_1_grid_glue_1_1_merger_3_01ctype_00_01grid1_dim_00_01grid2_dim_00_01dimworld_01_4_inherit__map"> | 91 | <map·name="a_dune_1_1_grid_glue_1_1_merger_3_01ctype_00_01grid1_dim_00_01grid2_dim_00_01dimworld_01_4_inherit__map"·id="a_dune_1_1_grid_glue_1_1_merger_3_01ctype_00_01grid1_dim_00_01grid2_dim_00_01dimworld_01_4_inherit__map"> |
92 | <area·shape="rect"·title="Abstract·base·for·all·classes·that·take·extracted·grids·and·build·sets·of·intersections."·alt=""·coords="5,139,219,193"/> | 92 | <area·shape="rect"·title="Abstract·base·for·all·classes·that·take·extracted·grids·and·build·sets·of·intersections."·alt=""·coords="5,139,219,193"/> |
93 | <area·shape="rect"·href="a01162.html"·title="·"·alt=""·coords="1190,5,1382,60"/> | 93 | <area·shape="rect"·href="a01162.html"·title="·"·alt=""·coords="1190,5,1382,60"/> |
Offset 576, 15 lines modified | Offset 576, 15 lines modified | ||
576 | <p>Counts·the·number·of·times·the·computeIntersection·method·has·been·called.·</p> | 576 | <p>Counts·the·number·of·times·the·computeIntersection·method·has·been·called.·</p> |
577 | <p>Used·temporarily·to·speed·up·the·implementation·</p> | 577 | <p>Used·temporarily·to·speed·up·the·implementation·</p> |
578 | </div> | 578 | </div> |
579 | </div> | 579 | </div> |
580 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 580 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
581 | <li><a·class="el"·href="a000 | 581 | <li><a·class="el"·href="a00080_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="a00083_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="a00083_source.html">overlappingmerge.hh</a></li> |
1227 | <li><a·class="el"·href="a000 | 1227 | <li><a·class="el"·href="a00074_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="a00077_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="a00077_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="a00077_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="a00077_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="a00077_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="a00077_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="a00077_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="a00077_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="a00077_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="a00077_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="a00077_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="a00089_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="a00089_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="a00020.html">gridglue.cc</a></td><td·class="dirtab"><a·class="el"·href="a00041.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="a00059.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="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="a00056.html">codim1extractor.hh</a></td><td·class="dirtab"><a·class="el"·href="a00032.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="a00020.html">gridglue.cc</a></td></tr><tr·class="dirtab"><td·class="dirtab"><a·class="el"·href="a00002.html">gridglue.hh</a></td><td·class="dirtab"><a·class="el"·href="a00017.html">gridgluecommunicate.hh</a></td></tr><tr·class="dirtab"><td·class="dirtab"><a·cl[·...·truncated·by·diffoscope;·len:·898,·SHA:·b6c224099e85cf58595e4b3f8a5624bb3775fb7cf083e5e78d73b47601682b08·...·].html">gridgluevtkwriter.hh</a></td></tr></table></div><!--·contents·--> |
76 | <!--·start·footer·part·--> | 76 | <!--·start·footer·part·--> |
77 | <hr·class="footer"/><address·class="footer"><small> | 77 | <hr·class="footer"/><address·class="footer"><small> |
78 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 78 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
79 | </small></address> | 79 | </small></address> |
80 | </body> | 80 | </body> |
81 | </html> | 81 | </html> |
Offset 69, 14 lines modified | Offset 69, 14 lines modified | ||
69 | <div·id="nav-path"·class="navpath"> | 69 | <div·id="nav-path"·class="navpath"> |
70 | ··<ul> | 70 | ··<ul> |
71 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li>··</ul> | 71 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_68eff8a27dcb1cd0ff0ecf490070d3de.html">grid-glue</a></li>··</ul> |
72 | </div> | 72 | </div> |
73 | </div><!--·top·--> | 73 | </div><!--·top·--> |
74 | <div·class="contents"> | 74 | <div·class="contents"> |
75 | <h3>grid-glue·→·merging·Relation</h3><table·class="dirtab"><tr·class="dirtab"><th·class="dirtab">File·in·dune/grid-glue</th><th·class="dirtab">Includes·file·in·dune/grid-glue/merging</th></tr><tr·class="dirtab"><td·class="dirtab"><a·class="el"·href="a00002.html">gridglue.hh</a></td><td·class="dirtab"><a·class="el"·href="a000 | 75 | <h3>grid-glue·→·merging·Relation</h3><table·class="dirtab"><tr·class="dirtab"><th·class="dirtab">File·in·dune/grid-glue</th><th·class="dirtab">Includes·file·in·dune/grid-glue/merging</th></tr><tr·class="dirtab"><td·class="dirtab"><a·class="el"·href="a00002.html">gridglue.hh</a></td><td·class="dirtab"><a·class="el"·href="a00080.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="a00086.html">contactmerge.cc</a></td><td·class="dirtab"><a·class="el"·href="a00032.html">crossproduct.hh</a></td></tr><tr·class="dirtab"><td·class="dirtab"><a·class="el"·href="a00086.html">contactmerge.cc</a></td><td·class="dirtab"><a·class="el"·href="a00050.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="a0009 | 94 | <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">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="a00071_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00071.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="a00092_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00092.html">conformingmerge.hh</a></td></tr> |
99 | <tr·class="memdesc:a000 | 99 | <tr·class="memdesc:a00092"><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="a00086_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00086.html">contactmerge.cc</a></td></tr> |
102 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 102 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
103 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a000 | 103 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00068_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00068.html">contactmerge.hh</a></td></tr> |
104 | <tr·class="memdesc:a000 | 104 | <tr·class="memdesc:a00068"><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="a0009 | 106 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00095_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00095.html">intersectionlist.hh</a></td></tr> |
107 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 107 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
108 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a000 | 108 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00080_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00080.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="a00074_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00074.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="a00083_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00083.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="a00077_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00077.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="a00065.html">standardmerge.cc</a></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="a00065.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="a00089_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00089.html">standardmerge.hh</a></td></tr> |
119 | <tr·class="memdesc:a000 | 119 | <tr·class="memdesc:a00089"><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, 29 lines modified | Offset 87, 29 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="a00020_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00020.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="a00026_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00026.html">gridglueamirawriter.hh</a></td></tr> | 98 | <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">gridglueamirawriter.hh</a></td></tr> |
99 | <tr·class="memdesc:a00026"><td·class="mdescLeft"> </td><td·class="mdescRight">Write·all·remote·intersections·to·a·AmiraMesh·file.·<br·/></td></tr> | 99 | <tr·class="memdesc:a00026"><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="a00017_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00017.html">gridgluecommunicate.hh</a></td></tr> | 101 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00017_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00017.html">gridgluecommunicate.hh</a></td></tr> |
102 | <tr·class="memdesc:a00017"><td·class="mdescLeft"> </td><td·class="mdescRight">Describes·the·parallel·communication·interface·class·for·<a·class="el"·href="a00104.html">Dune::GridGlue</a>.·<br·/></td></tr> | 102 | <tr·class="memdesc:a00017"><td·class="mdescLeft"> </td><td·class="mdescRight">Describes·the·parallel·communication·interface·class·for·<a·class="el"·href="a00104.html">Dune::GridGlue</a>.·<br·/></td></tr> |
103 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 103 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
104 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a000 | 104 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00014_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00014.html">gridgluevtkwriter.hh</a></td></tr> |
105 | <tr·class="memdesc:a000 | 105 | <tr·class="memdesc:a00014"><td·class="mdescLeft"> </td><td·class="mdescRight">Write·all·remote·intersections·to·a·vtk·file·for·debugging.·<br·/></td></tr> |
106 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 106 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
107 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a000 | 107 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00008_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00008.html">intersection.hh</a></td></tr> |
108 | <tr·class="memdesc:a000 | 108 | <tr·class="memdesc:a00008"><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="a00023_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00023.html">intersectionindexset.hh</a></td></tr> | 110 | <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">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="a00011_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00011.html">intersectioniterator.hh</a></td></tr> | 112 | <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">intersectioniterator.hh</a></td></tr> |
113 | <tr·class="memdesc:a00011"><td·class="mdescLeft"> </td><td·class="mdescRight">Implement·iterators·over·GridGlue·intersections.·<br·/></td></tr> | 113 | <tr·class="memdesc:a00011"><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="a00005_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00005.html">rangegenerators.hh</a></td></tr> | 115 | <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">rangegenerators.hh</a></td></tr> |
Offset 86, 27 lines modified | Offset 86, 27 lines modified | ||
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="a00029_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00029.html">areawriter.hh</a></td></tr> | 91 | <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">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="a00047_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00047.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="a00032_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00032.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="a00050_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00050.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="a00035_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00035.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="a0003 | 101 | <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">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="a00044_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00044.html">projectionwriter_impl.hh</a></td></tr> | 103 | <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_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="a00041_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00041.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="a00053_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00053.html">codim0extractor.hh</a></td></tr> |
98 | <tr·class="memdesc:a0005 | 98 | <tr·class="memdesc:a00053"><td·class="mdescLeft"> </td><td·class="mdescRight">Mesh·grid·extractor·base·class.·<br·/></td></tr> |
99 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 99 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
100 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a000 | 100 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00056_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00056.html">codim1extractor.hh</a></td></tr> |
101 | <tr·class="memdesc:a000 | 101 | <tr·class="memdesc:a00056"><td·class="mdescLeft"> </td><td·class="mdescRight">Grid·extractor·class·for·codim·1·subgrids.·<br·/></td></tr> |
102 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 102 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
103 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a000 | 103 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00062_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00062.html">extractor.hh</a></td></tr> |
104 | <tr·class="memdesc:a000 | 104 | <tr·class="memdesc:a00062"><td·class="mdescLeft"> </td><td·class="mdescRight">extractor·base·class·<br·/></td></tr> |
105 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 105 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
106 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a0005 | 106 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00059_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00059.html">vtksurfacewriter.hh</a></td></tr> |
107 | <tr·class="memdesc:a0005 | 107 | <tr·class="memdesc:a00059"><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, 16 lines modified | Offset 1, 16 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>a00020.html</filename> |
7 | ····<includes·id="a000 | 7 | ····<includes·id="a00008"·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="a00041"·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>a00026.html</filename> | 16 | ····<filename>a00026.html</filename> |
Offset 30, 44 lines modified | Offset 30, 44 lines modified | ||
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>a000 | 37 | ····<filename>a00014.html</filename> |
38 | ····<includes·id="a00002"·name="gridglue.hh"·local="no"·import="no"·module="no"·objc="no">dune/grid-glue/gridglue.hh</includes> | 38 | ····<includes·id="a00002"·name="gridglue.hh"·local="no"·import="no"·module="no"·objc="no">dune/grid-glue/gridglue.hh</includes> |
39 | ····<class·kind="class">Dune::GridGlue::GridGlueVtkWriter</class> | 39 | ····<class·kind="class">Dune::GridGlue::GridGlueVtkWriter</class> |
40 | ····<namespace>Dune</namespace> | 40 | ····<namespace>Dune</namespace> |
41 | ····<namespace>Dune::GridGlue</namespace> | 41 | ····<namespace>Dune::GridGlue</namespace> |
42 | ··</compound> | 42 | ··</compound> |
43 | ··<compound·kind="file"> | 43 | ··<compound·kind="file"> |
44 | ····<name>intersection.hh</name> | 44 | ····<name>intersection.hh</name> |
45 | ····<path>/build/reproducible-path/dune-grid-glue-2.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>a00008.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>a00008.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>a00023.html</filename> | 64 | ····<filename>a00023.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="a00008"·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> |
Offset 85, 57 lines modified | Offset 85, 57 lines modified | ||
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>a00029.html</filename> | 91 | ····<filename>a00029.html</filename> |
92 | ····<includes·id="a000 | 92 | ····<includes·id="a00047"·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>a00047.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>a00032.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>a00050.html</filename> |
116 | ····<includes·id="a000 | 116 | ····<includes·id="a00035"·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>a00035.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> |
129 | ··</compound> | 129 | ··</compound> |
130 | ··<compound·kind="file"> | 130 | ··<compound·kind="file"> |
131 | ····<name>projectionwriter.hh</name> | 131 | ····<name>projectionwriter.hh</name> |
132 | ····<path>/build/reproducible-path/dune-grid-glue-2.10.0/dune/grid-glue/common/</path> | 132 | ····<path>/build/reproducible-path/dune-grid-glue-2.10.0/dune/grid-glue/common/</path> |
133 | ····<filename>a0003 | 133 | ····<filename>a00038.html</filename> |
134 | ····<includes·id="a000 | 134 | ····<includes·id="a00050"·name="projection.hh"·local="no"·import="no"·module="no"·objc="no">dune/grid-glue/common/projection.hh</includes> |
135 | ····<includes·id="a00044"·name="projectionwriter_impl.hh"·local="yes"·import="no"·module="no"·objc="no">projectionwriter_impl.hh</includes> | 135 | ····<includes·id="a00044"·name="projectionwriter_impl.hh"·local="yes"·import="no"·module="no"·objc="no">projectionwriter_impl.hh</includes> |
136 | ····<namespace>Dune</namespace> | 136 | ····<namespace>Dune</namespace> |
137 | ····<namespace>Dune::GridGlue</namespace> | 137 | ····<namespace>Dune::GridGlue</namespace> |
138 | ··</compound> | 138 | ··</compound> |
139 | ··<compound·kind="file"> | 139 | ··<compound·kind="file"> |
140 | ····<name>projectionwriter_impl.hh</name> | 140 | ····<name>projectionwriter_impl.hh</name> |
141 | ····<path>/build/reproducible-path/dune-grid-glue-2.10.0/dune/grid-glue/common/</path> | 141 | ····<path>/build/reproducible-path/dune-grid-glue-2.10.0/dune/grid-glue/common/</path> |
Offset 143, 62 lines modified | Offset 143, 62 lines modified | ||
143 | ····<namespace>Dune</namespace> | 143 | ····<namespace>Dune</namespace> |
144 | ····<namespace>Dune::GridGlue</namespace> | 144 | ····<namespace>Dune::GridGlue</namespace> |
145 | ····<namespace>Dune::GridGlue::ProjectionWriterImplementation</namespace> | 145 | ····<namespace>Dune::GridGlue::ProjectionWriterImplementation</namespace> |
146 | ··</compound> | 146 | ··</compound> |
147 | ··<compound·kind="file"> | 147 | ··<compound·kind="file"> |
148 | ····<name>ringcomm.hh</name> | 148 | ····<name>ringcomm.hh</name> |
149 | ····<path>/build/reproducible-path/dune-grid-glue-2.10.0/dune/grid-glue/common/</path> | 149 | ····<path>/build/reproducible-path/dune-grid-glue-2.10.0/dune/grid-glue/common/</path> |
Max diff block lines reached; 16167/23860 bytes (67.76%) 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="a00020_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00020.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="a00026_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00026.html"·target="_self">gridglueamirawriter.hh</a></td><td·class="desc">Write·all·remote·intersections·to·a·AmiraMesh·file·</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="a00026_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00026.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="a00017_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00017.html"·target="_self">gridgluecommunicate.hh</a></td><td·class="desc">Describes·the·parallel·communication·interface·class·for·<a·class="el"·href="a00104.html">Dune::GridGlue</a>·</td></tr> | 83 | <tr·id="row_0_0_0_3_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00017_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00017.html"·target="_self">gridgluecommunicate.hh</a></td><td·class="desc">Describes·the·parallel·communication·interface·class·for·<a·class="el"·href="a00104.html">Dune::GridGlue</a>·</td></tr> |
84 | <tr·id="row_0_0_0_4_"·class="odd"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a000 | 84 | <tr·id="row_0_0_0_4_"·class="odd"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="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="a00008_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00008.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="a00023_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00023.html"·target="_self">intersectionindexset.hh</a></td><td·class="desc"></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="a00023_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00023.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="a00011_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00011.html"·target="_self">intersectioniterator.hh</a></td><td·class="desc">Implement·iterators·over·GridGlue·intersections·</td></tr> | 87 | <tr·id="row_0_0_0_7_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00011_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00011.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="a00005_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00005.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="a00005_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00005.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="a00029_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00029.html"·target="_self">areawriter.hh</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="a00029_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00029.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="a00047_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00047.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="a00032_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00032.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="a00050_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00050.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="a00035_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00035.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="a0003 | 95 | <tr·id="row_0_0_1_5_"·class="even"><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">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="a00044_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00044.html"·target="_self">projectionwriter_impl.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="a00044_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00044.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="a00041_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00041.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="a00053_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00053.html"·target="_self">codim0extractor.hh</a></td><td·class="desc">Mesh·grid·extractor·base·class·</td></tr> |
100 | <tr·id="row_0_0_2_1_"·class="odd"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a000 | 100 | <tr·id="row_0_0_2_1_"·class="odd"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00056_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00056.html"·target="_self">codim1extractor.hh</a></td><td·class="desc">Grid·extractor·class·for·codim·1·subgrids·</td></tr> |
101 | <tr·id="row_0_0_2_2_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a000 | 101 | <tr·id="row_0_0_2_2_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00062_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00062.html"·target="_self">extractor.hh</a></td><td·class="desc">Extractor·base·class·</td></tr> |
102 | <tr·id="row_0_0_2_3_"·class="odd"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a0005 | 102 | <tr·id="row_0_0_2_3_"·class="odd"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00059_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00059.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="a0009 | 104 | <tr·id="row_0_0_3_0_"·class="odd"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00098_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00098.html"·target="_self">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="a00071_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00071.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="a00092_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00092.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="a00086_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00086.html"·target="_self">contactmerge.cc</a></td><td·class="desc"></td></tr> |
108 | <tr·id="row_0_0_3_4_"·class="odd"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a000 | 108 | <tr·id="row_0_0_3_4_"·class="odd"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00068_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00068.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="a0009 | 109 | <tr·id="row_0_0_3_5_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00095_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00095.html"·target="_self">intersectionlist.hh</a></td><td·class="desc"></td></tr> |
110 | <tr·id="row_0_0_3_6_"·class="odd"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a000 | 110 | <tr·id="row_0_0_3_6_"·class="odd"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00080_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00080.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="a00074_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00074.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="a00083_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00083.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="a00077_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00077.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="a00065.html"·target="_self">standardmerge.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="a00065.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="a00089_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00089.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="a00041.html#a1a95f4074572a7a9e13bcb072afef070">ringcomm.hh</a></li> |
73 | <li>DECL : <a·class="el"·href="a00065.html#ad5c7ca0181fea7823b37d06d5f61e9cd">standardmerge.cc</a>,·<a·class="el"·href="a000 | 73 | <li>DECL : <a·class="el"·href="a00065.html#ad5c7ca0181fea7823b37d06d5f61e9cd">standardmerge.cc</a>,·<a·class="el"·href="a00089.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="a00074.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="a00008.html#aac752eae6e9ad7d1e576f1fe3f7c8a6b">intersection.hh</a></li> |
76 | <li>STANDARD_MERGE_INSTANTIATE : <a·class="el"·href="a00065.html#a4a2b0f7fb92723749fc6d5cca82a4297">standardmerge.cc</a>,·<a·class="el"·href="a000 | 76 | <li>STANDARD_MERGE_INSTANTIATE : <a·class="el"·href="a00065.html#a4a2b0f7fb92723749fc6d5cca82a4297">standardmerge.cc</a>,·<a·class="el"·href="a00089.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="a00041.html#a1a95f4074572a7a9e13bcb072afef070">ringcomm.hh</a></li> |
73 | <li>DECL : <a·class="el"·href="a00065.html#ad5c7ca0181fea7823b37d06d5f61e9cd">standardmerge.cc</a>,·<a·class="el"·href="a000 | 73 | <li>DECL : <a·class="el"·href="a00065.html#ad5c7ca0181fea7823b37d06d5f61e9cd">standardmerge.cc</a>,·<a·class="el"·href="a00089.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="a00074.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="a00008.html#aac752eae6e9ad7d1e576f1fe3f7c8a6b">intersection.hh</a></li> |
76 | <li>STANDARD_MERGE_INSTANTIATE : <a·class="el"·href="a00065.html#a4a2b0f7fb92723749fc6d5cca82a4297">standardmerge.cc</a>,·<a·class="el"·href="a000 | 76 | <li>STANDARD_MERGE_INSTANTIATE : <a·class="el"·href="a00065.html#a4a2b0f7fb92723749fc6d5cca82a4297">standardmerge.cc</a>,·<a·class="el"·href="a00089.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> |