t8  1.2.0
t8code is a C library to manage a forest of adaptive space-trees of general element classes in parallel.
t8_dpyramid_connectivity.h
1 /*
2  This file is part of t8code.
3  t8code is a C library to manage a collection (a forest) of multiple
4  connected adaptive space-trees of general element classes in parallel.
5 
6  Copyright (C) 2015 the developers
7 
8  t8code is free software; you can redistribute it and/or modify
9  it under the terms of the GNU General Public License as published by
10  the Free Software Foundation; either version 2 of the License, or
11  (at your option) any later version.
12 
13  t8code is distributed in the hope that it will be useful,
14  but WITHOUT ANY WARRANTY; without even the implied warranty of
15  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16  GNU General Public License for more details.
17 
18  You should have received a copy of the GNU General Public License
19  along with t8code; if not, write to the Free Software Foundation, Inc.,
20  51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
21 */
22 
23 #ifndef T8_DPYRAMID_CONNECTIVITY_H
24 #define T8_DPYRAMID_CONNECTIVITY_H
25 
26 #include <t8.h>
27 
31 extern const int t8_dpyramid_parenttype_Iloc_to_type[8][10];
32 
36 extern const int t8_dpyramid_parenttype_Iloc_to_cid[8][10];
37 
41 extern const int t8_dpyramid_type_cid_to_Iloc[8][8];
42 
46 extern const int t8_dpyramid_cid_type_to_parenttype[8][8];
47 
52 extern const int t8_dpyramid_type_Iloc_to_parenttype[2][10];
53 
58 extern const int t8_dpyramid_type_cid_to_parenttype[2][8];
59 
65 extern const int t8_dpyramid_parenttype_iloc_pyra_w_lower_id[2][10];
66 
71 extern const int t8_dpyramid_type_face_to_nface[2][5];
72 
73 /*TODO: Documentation*/
74 extern const int t8_dpyramid_face_childid_to_is_inside[4][8];
75 
80 extern const int t8_dpyramid_type_face_to_children_at_face[2][5][4];
81 
86 extern const int t8_dpyramid_type_face_to_child_face[2][5][4];
87 
92 extern const int t8_dpyramid_tritype_rootface_to_pyratype[2][4];
93 
98 extern const int t8_dpyramid_tritype_rootface_to_tettype[2][4];
99 
104 extern const int t8_dpyramid_tritype_rootface_to_face[2][4];
105 
111 extern const int t8_dtet_type_cid_to_pyramid_parenttype[6][8];
112 
116 extern const int t8_dpyramid_face_corner[5][4];
117 
118 #endif // T8_DPYRAMID_CONNECTIVITY_H
This is the administrative header file for t8code.