t8
1.2.0
t8code is a C library to manage a forest of adaptive space-trees of general element classes in parallel.
src
t8_schemes
t8_default
t8_default_tet
t8_dtri_to_dtet.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
26
#ifndef T8_DTRI_TO_DTET_H
27
#define T8_DTRI_TO_DTET_H
28
29
#include <
t8.h
>
30
31
T8_EXTERN_C_BEGIN ();
32
33
#define T8_DTRI_TO_DTET
34
35
/* redefine macros */
36
#define T8_DTRI_MAXLEVEL T8_DTET_MAXLEVEL
37
#define T8_DTRI_ROOT_LEN T8_DTET_ROOT_LEN
38
#define T8_DTRI_LEN T8_DTET_LEN
39
#define T8_DTRI_FACES T8_DTET_FACES
40
#define T8_DTRI_DIM T8_DTET_DIM
41
#define T8_DTRI_CHILDREN T8_DTET_CHILDREN
42
#define T8_DTRI_FACES T8_DTET_FACES
43
#define T8_DTRI_FACE_CHILDREN T8_DTET_FACE_CHILDREN
44
#define T8_DTRI_CORNERS T8_DTET_CORNERS
45
#define T8_DTRI_NUM_TYPES T8_DTET_NUM_TYPES
46
47
/* redefine types */
48
#define t8_dtri_coord_t t8_dtet_coord_t
49
#define t8_dtri_type_t t8_dtet_type_t
50
#define t8_dtri_t t8_dtet_t
51
#define t8_dtri_cube_id_t t8_dtet_cube_id_t
52
53
/* external variables */
54
#define t8_dtri_cid_type_to_parenttype t8_dtet_cid_type_to_parenttype
55
#define t8_dtri_type_of_child t8_dtet_type_of_child
56
#define t8_dtri_type_of_child_morton t8_dtet_type_of_child_morton
57
#define t8_dtri_index_to_bey_number t8_dtet_index_to_bey_number
58
#define t8_dtri_beyid_to_vertex t8_dtet_beyid_to_vertex
59
#define t8_dtri_type_cid_to_beyid t8_dtet_type_cid_to_beyid
60
#define t8_dtri_type_beyid_to_Iloc t8_dtet_type_beyid_to_Iloc
61
#define t8_dtri_parenttype_cid_to_Iloc t8_dtet_parenttype_cid_to_Iloc
62
#define t8_dtri_parenttype_Iloc_to_type t8_dtet_parenttype_Iloc_to_type
63
#define t8_dtri_parenttype_Iloc_to_cid t8_dtet_parenttype_Iloc_to_cid
64
#define t8_dtri_type_cid_to_Iloc t8_dtet_type_cid_to_Iloc
65
#define t8_dtri_face_corner t8_dtet_face_corner
66
67
/* functions in d8_dtri_bits.h */
68
#define t8_dtri_is_equal t8_dtet_is_equal
69
#define t8_dtri_copy t8_dtet_copy
70
#define t8_dtri_compare t8_dtet_compare
71
#define t8_dtri_parent t8_dtet_parent
72
#define t8_dtri_ancestor t8_dtet_ancestor
73
#define t8_dtri_compute_all_coords t8_dtet_compute_all_coords
74
#define t8_dtri_compute_coords t8_dtet_compute_coords
75
#define t8_dtri_compute_vertex_ref_coords t8_dtet_compute_vertex_ref_coords
76
#define t8_dtri_child t8_dtet_child
77
#define t8_dtri_childrenpv t8_dtet_childrenpv
78
#define t8_dtri_is_familypv t8_dtet_is_familypv
79
#define t8_dtri_sibling t8_dtet_sibling
80
#define t8_dtri_face_neighbour t8_dtet_face_neighbour
81
#define t8_dtri_nearest_common_ancestor t8_dtet_nearest_common_ancestor
82
#define t8_dtri_children_at_face t8_dtet_children_at_face
83
#define t8_dtri_face_child_face t8_dtet_face_child_face
84
#define t8_dtri_face_parent_face t8_dtet_face_parent_face
85
#define t8_dtri_tree_face t8_dtet_tree_face
86
#define t8_dtri_root_face_to_face t8_dtet_root_face_to_face
87
#define t8_dtri_is_inside_root t8_dtet_is_inside_root
88
#define t8_dtri_is_root_boundary t8_dtet_is_root_boundary
89
#define t8_dtri_is_sibling t8_dtet_is_sibling
90
#define t8_dtri_is_parent t8_dtet_is_parent
91
#define t8_dtri_is_ancestor t8_dtet_is_ancestor
92
#define t8_dtri_linear_id t8_dtet_linear_id
93
#define t8_dtri_linear_id_corner_desc t8_dtet_linear_id_corner_desc
94
#define t8_dtri_init_linear_id t8_dtet_init_linear_id
95
#define t8_dtri_init_root t8_dtet_init_root
96
#define t8_dtri_successor t8_dtet_successor
97
#define t8_dtri_first_descendant t8_dtet_first_descendant
98
#define t8_dtri_last_descendant t8_dtet_last_descendant
99
#define t8_dtri_corner_descendant t8_dtet_corner_descendant
100
#define t8_dtri_predecessor t8_dtet_predecessor
101
#define t8_dtri_ancestor_id t8_dtet_ancestor_id
102
#define t8_dtri_child_id t8_dtet_child_id
103
#define t8_dtri_get_level t8_dtet_get_level
104
#define t8_dtri_is_valid t8_dtet_is_valid
105
#define t8_dtri_init t8_dtet_init
106
#define t8_dtri_init_linear_id_with_level t8_dtet_init_linear_id_with_level
107
#define t8_dtri_linear_id_with_level t8_dtet_linear_id_with_level
108
#define t8_dtri_debug_print t8_dtet_debug_print
109
110
T8_EXTERN_C_END ();
111
112
#endif
/* T8_DTET_TO_DTRI_H */
t8.h
This is the administrative header file for t8code.