t8  1.2.0
t8code is a C library to manage a forest of adaptive space-trees of general element classes in parallel.
t8_dtet_connectivity.h
Go to the documentation of this file.
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 
27 #ifndef T8_DTET_CONNECTIVITY_H
28 #define T8_DTET_CONNECTIVITY_H
29 
30 #include <t8.h>
31 
32 T8_EXTERN_C_BEGIN ();
33 
35 #define T8_DTET_DIM (3)
36 
38 extern const int t8_dtet_cid_type_to_parenttype[8][6];
39 
42 extern const int t8_dtet_type_of_child[6][8];
43 
46 extern const int t8_dtet_type_of_child_morton[6][8];
47 
49 extern const int t8_dtet_index_to_bey_number[6][8];
50 
55 extern const int t8_dtet_beyid_to_vertex[8];
56 
58 extern const int t8_dtet_type_cid_to_beyid[6][8];
59 
61 extern const int t8_dtet_parenttype_beyid_to_Iloc[6][8];
62 
64 extern const int t8_dtet_type_cid_to_Iloc[6][8];
65 
67 extern const int t8_dtet_parenttype_Iloc_to_type[6][8];
68 
70 extern const int t8_dtet_parenttype_Iloc_to_cid[6][8];
71 
79 extern const int t8_dtet_type_face_to_boundary[6][4][2];
80 
87 extern const int t8_dtet_face_child_id_by_type[6][4][4];
88 
94 extern const int t8_dtet_face_corner[4][3];
95 
109 extern const int t8_dtet_parent_type_type_to_face[6][6];
110 T8_EXTERN_C_END ();
111 
112 #endif /* T8_DTET_CONNECTIVITY_H */
This is the administrative header file for t8code.
const int t8_dtet_parenttype_beyid_to_Iloc[6][8]
Store the local index for each (parenttype,Bey child number) combination.
Definition: t8_dtet_connectivity.c:85
const int t8_dtet_face_corner[4][3]
Store the indices of the corner of each face of a tetrahedron.
Definition: t8_dtet_connectivity.c:140
const int t8_dtet_type_cid_to_Iloc[6][8]
Store the local index for each (type,cube-id) combination.
Definition: t8_dtet_connectivity.c:94
const int t8_dtet_parenttype_Iloc_to_cid[6][8]
Store the cube-id for each (parenttype,local Index) combination.
Definition: t8_dtet_connectivity.c:112
const int t8_dtet_cid_type_to_parenttype[8][6]
Store the type of parent for each (cube-id,type) combination.
Definition: t8_dtet_connectivity.c:26
const int t8_dtet_beyid_to_vertex[8]
The anchor node of a child of a tetrahedron T is the convex combination of T's anchor node x_0 and an...
Definition: t8_dtet_connectivity.c:70
const int t8_dtet_type_face_to_boundary[6][4][2]
Store for each (type, face_index) the combination (category, type) of the respective boundary triangl...
Definition: t8_dtet_connectivity.c:121
const int t8_dtet_type_of_child_morton[6][8]
Store the type of child for each (type,child number) combination, where child number is the number in...
Definition: t8_dtet_connectivity.c:50
const int t8_dtet_index_to_bey_number[6][8]
Store the Bey child number for each (Parent type,Morton child number) combination.
Definition: t8_dtet_connectivity.c:61
const int t8_dtet_face_child_id_by_type[6][4][4]
Store for each (type, face_index) the child_ids of the children of a tet of the given type that share...
Definition: t8_dtet_connectivity.c:130
const int t8_dtet_type_cid_to_beyid[6][8]
Store the Bey child number for each (type,cube-id) combination.
Definition: t8_dtet_connectivity.c:74
const int t8_dtet_type_of_child[6][8]
Store the type of child for each (type,child number) combination, where child number is the number in...
Definition: t8_dtet_connectivity.c:39
const int t8_dtet_parenttype_Iloc_to_type[6][8]
Store the type for each (parenttype,local Index) combination.
Definition: t8_dtet_connectivity.c:103
const int t8_dtet_parent_type_type_to_face[6][6]
For each combination parent_type, type with parent_type != type, provide the face number of the face ...
Definition: t8_dtet_connectivity.c:147