p4est  2.8.643-dbc7-dirty
p4est is a software library for parallel adaptive mesh refinement.
p4est_to_p8est.h
1 /*
2  This file is part of p4est.
3  p4est is a C library to manage a collection (a forest) of multiple
4  connected adaptive quadtrees or octrees in parallel.
5 
6  Copyright (C) 2010 The University of Texas System
7  Additional copyright (C) 2011 individual authors
8  Written by Carsten Burstedde, Lucas C. Wilcox, and Tobin Isaac
9 
10  p4est is free software; you can redistribute it and/or modify
11  it under the terms of the GNU General Public License as published by
12  the Free Software Foundation; either version 2 of the License, or
13  (at your option) any later version.
14 
15  p4est is distributed in the hope that it will be useful,
16  but WITHOUT ANY WARRANTY; without even the implied warranty of
17  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18  GNU General Public License for more details.
19 
20  You should have received a copy of the GNU General Public License
21  along with p4est; if not, write to the Free Software Foundation, Inc.,
22  51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
23 */
24 
34 #ifndef P4EST_TO_P8EST_H
35 #define P4EST_TO_P8EST_H
36 
37 #ifdef P4EST_H
38 #error "The include files p4est.h and p4est_to_p8est.h cannot be combined"
39 #endif
40 #define P4_TO_P8
41 
42 #include <p4est_base.h>
43 
44 /* redefine macros */
45 #define P4EST_ONDISK_FORMAT P8EST_ONDISK_FORMAT
46 #define P4EST_DIM P8EST_DIM
47 #define P4EST_DIM_POW P8EST_DIM_POW
48 #define P4EST_FACES P8EST_FACES
49 #define P4EST_CHILDREN P8EST_CHILDREN
50 #define P4EST_HALF P8EST_HALF
51 #define P4EST_FTRANSFORM P8EST_FTRANSFORM
52 #define P4EST_INSUL P8EST_INSUL
53 #define P4EST_ONLY_P8_LAND P8EST_ONLY_P8_LAND
54 #define P4EST_ONLY_P8_COMMA P8EST_ONLY_P8_COMMA
55 #define P4EST_STRING P8EST_STRING
56 #define P4EST_MAXLEVEL P8EST_MAXLEVEL
57 #define P4EST_QMAXLEVEL P8EST_QMAXLEVEL
58 #define P4EST_OLD_MAXLEVEL P8EST_OLD_MAXLEVEL
59 #define P4EST_OLD_QMAXLEVEL P8EST_OLD_QMAXLEVEL
60 #define P4EST_ROOT_LEN P8EST_ROOT_LEN
61 #define P4EST_QUADRANT_LEN P8EST_QUADRANT_LEN
62 #define P4EST_QUADRANT_MASK P8EST_QUADRANT_MASK
63 #define P4EST_LAST_OFFSET P8EST_LAST_OFFSET
64 #define P4EST_QUADRANT_INIT P8EST_QUADRANT_INIT
65 #define P4EST_LEAF_IS_FIRST_IN_TREE P8EST_LEAF_IS_FIRST_IN_TREE
66 #define P4EST_FILE_MAGIC_NUMBER P8EST_FILE_MAGIC_NUMBER
67 #define P4EST_FILE_METADATA_BYTES P8EST_FILE_METADATA_BYTES
68 #define P4EST_FILE_MAGIC_BYTES P8EST_FILE_MAGIC_BYTES
69 #define P4EST_FILE_VERSION_STR_BYTES P8EST_FILE_VERSION_STR_BYTES
70 #define P4EST_FILE_ARRAY_METADATA_BYTES P8EST_FILE_ARRAY_METADATA_BYTES
71 #define P4EST_FILE_ARRAY_METADATA_CHARS P8EST_FILE_ARRAY_METADATA_CHARS
72 #define P4EST_FILE_BYTE_DIV P8EST_FILE_BYTE_DIV
73 #define P4EST_FILE_MAX_NUM_PAD_BYTES P8EST_FILE_MAX_NUM_PAD_BYTES
74 #define P4EST_FILE_USER_STRING_BYTES P8EST_FILE_USER_STRING_BYTES
75 #define P4EST_FILE_FIELD_HEADER_BYTES P8EST_FILE_FIELD_HEADER_BYTES
76 #define P4EST_FILE_MAX_GLOBAL_QUAD P8EST_FILE_MAX_GLOBAL_QUAD
77 #define P4EST_FILE_MAX_BLOCK_SIZE P8EST_FILE_MAX_BLOCK_SIZE
78 #define P4EST_FILE_MAX_FIELD_ENTRY_SIZE P8EST_FILE_MAX_FIELD_ENTRY_SIZE
79 
80 /* redefine enums */
81 #define P4EST_CONNECT_SELF P8EST_CONNECT_SELF
82 #define P4EST_CONNECT_FACE P8EST_CONNECT_FACE
83 #define P4EST_CONNECT_CORNER P8EST_CONNECT_CORNER
84 #define P4EST_CONNECT_FULL P8EST_CONNECT_FULL
85 #define P4EST_CONN_ENCODE_NONE P8EST_CONN_ENCODE_NONE
86 #define P4EST_TRANSFER_COMM_SRC P8EST_TRANSFER_COMM_SRC
87 #define P4EST_TRANSFER_COMM_DEST P8EST_TRANSFER_COMM_DEST
88 #define P4EST_TRANSFER_COMM_SRC_DUP P8EST_TRANSFER_COMM_SRC_DUP
89 #define P4EST_TRANSFER_COMM_DEST_DUP P8EST_TRANSFER_COMM_DEST_DUP
90 #define P4EST_TRANSFER_COMM_EXTERNAL P8EST_TRANSFER_COMM_EXTERNAL
91 #define P4EST_WRAP_NONE P8EST_WRAP_NONE
92 #define P4EST_WRAP_REFINE P8EST_WRAP_REFINE
93 #define P4EST_WRAP_COARSEN P8EST_WRAP_COARSEN
94 #define P4EST_FILE_ERR_SUCCESS P8EST_FILE_ERR_SUCCESS
95 #define P4EST_FILE_ERR_FILE P8EST_FILE_ERR_FILE
96 #define P4EST_FILE_ERR_NOT_SAME P8EST_FILE_ERR_NOT_SAME
97 #define P4EST_FILE_ERR_AMODE P8EST_FILE_ERR_AMODE
98 #define P4EST_FILE_ERR_NO_SUCH_FILE P8EST_FILE_ERR_NO_SUCH_FILE
99 #define P4EST_FILE_ERR_FILE_EXIST P8EST_FILE_ERR_FILE_EXIST
100 #define P4EST_FILE_ERR_BAD_FILE P8EST_FILE_ERR_BAD_FILE
101 #define P4EST_FILE_ERR_ACCESS P8EST_FILE_ERR_ACCESS
102 #define P4EST_FILE_ERR_NO_SPACE P8EST_FILE_ERR_NO_SPACE
103 #define P4EST_FILE_ERR_QUOTA P8EST_FILE_ERR_QUOTA
104 #define P4EST_FILE_ERR_READ_ONLY P8EST_FILE_ERR_READ_ONLY
105 #define P4EST_FILE_ERR_IN_USE P8EST_FILE_ERR_IN_USE
106 #define P4EST_FILE_ERR_IO P8EST_FILE_ERR_IO
107 #define P4EST_FILE_ERR_FORMAT P8EST_FILE_ERR_FORMAT
108 #define P4EST_FILE_ERR_SECTION_TYPE P8EST_FILE_ERR_SECTION_TYPE
109 #define P4EST_FILE_ERR_CONN P8EST_FILE_ERR_CONN
110 #define P4EST_FILE_ERR_P4EST P8EST_FILE_ERR_P8EST
111 #define P4EST_FILE_ERR_IN_DATA P8EST_FILE_ERR_IN_DATA
112 #define P4EST_FILE_ERR_COUNT P8EST_FILE_ERR_COUNT
113 #define P4EST_FILE_ERR_UNKNOWN P8EST_FILE_ERR_UNKNOWN
114 #define P4EST_FILE_ERR_LASTCODE P8EST_FILE_ERR_LASTCODE
115 
116 /* redefine types */
117 #ifdef P4EST_BACKWARD_DEALII
118 #define p4est_balance_type_t p8est_balance_type_t
119 #endif
120 #define p4est_connect_type_t p8est_connect_type_t
121 #define p4est_connectivity_encode_t p8est_connectivity_encode_t
122 #define p4est_connectivity_t p8est_connectivity_t
123 #define p4est_corner_transform_t p8est_corner_transform_t
124 #define p4est_corner_info_t p8est_corner_info_t
125 #define p4est_neighbor_transform_t p8est_neighbor_transform_t
126 #define p4est_geometry_t p8est_geometry_t
127 #define p4est_t p8est_t
128 #define p4est_tree_t p8est_tree_t
129 #define p4est_quadrant_t p8est_quadrant_t
130 #define p4est_inspect_t p8est_inspect_t
131 #define p4est_position_t p8est_position_t
132 #define p4est_init_t p8est_init_t
133 #define p4est_refine_t p8est_refine_t
134 #define p4est_coarsen_t p8est_coarsen_t
135 #define p4est_weight_t p8est_weight_t
136 #define p4est_ghost_t p8est_ghost_t
137 #define p4est_ghost_exchange_t p8est_ghost_exchange_t
138 #define p4est_indep_t p8est_indep_t
139 #define p4est_nodes_t p8est_nodes_t
140 #define p4est_lid_t p8est_lid_t
141 #define p4est_lnodes_t p8est_lnodes_t
142 #define p4est_lnodes_code_t p8est_lnodes_code_t
143 #define p4est_lnodes_rank_t p8est_lnodes_rank_t
144 #define p4est_lnodes_buffer_t p8est_lnodes_buffer_t
145 #define p4est_iter_volume_t p8est_iter_volume_t
146 #define p4est_iter_volume_info_t p8est_iter_volume_info_t
147 #define p4est_iter_face_t p8est_iter_face_t
148 #define p4est_iter_face_info_t p8est_iter_face_info_t
149 #define p4est_iter_face_side_t p8est_iter_face_side_t
150 #define p4est_iter_corner_t p8est_iter_corner_t
151 #define p4est_iter_corner_side_t p8est_iter_corner_side_t
152 #define p4est_iter_corner_info_t p8est_iter_corner_info_t
153 #define p4est_search_query_t p8est_search_query_t
154 #define p4est_search_local_t p8est_search_local_t
155 #define p4est_search_reorder_t p8est_search_reorder_t
156 #define p4est_search_partition_t p8est_search_partition_t
157 #define p4est_search_all_t p8est_search_all_t
158 #define p4est_build p8est_build
159 #define p4est_build_t p8est_build_t
160 #define p4est_transfer_comm_t p8est_transfer_comm_t
161 #define p4est_transfer_context_t p8est_transfer_context_t
162 #define p4est_mesh_t p8est_mesh_t
163 #define p4est_mesh_face_neighbor_t p8est_mesh_face_neighbor_t
164 #define p4est_wrap_t p8est_wrap_t
165 #define p4est_wrap_leaf_t p8est_wrap_leaf_t
166 #define p4est_wrap_flags_t p8est_wrap_flags_t
167 #define p4est_vtk_context_t p8est_vtk_context_t
168 #define p4est_file_context_t p8est_file_context_t
169 #define p4est_file_section_metadata_t p8est_file_section_metadata_t
170 
171 /* redefine external variables */
172 #define p4est_face_corners p8est_face_corners
173 #define p4est_face_dual p8est_face_dual
174 #define p4est_corner_faces p8est_corner_faces
175 #define p4est_corner_face_corners p8est_corner_face_corners
176 #define p4est_child_corner_faces p8est_child_corner_faces
177 #define P4EST_DATA_UNINITIALIZED P8EST_DATA_UNINITIALIZED
178 
179 /* functions in p4est_connectivity */
180 #define p4est_connectivity_face_neighbor_face_corner \
181  p8est_connectivity_face_neighbor_face_corner
182 #define p4est_connectivity_face_neighbor_corner \
183  p8est_connectivity_face_neighbor_corner
184 #define p4est_connectivity_memory_used p8est_connectivity_memory_used
185 #define p4est_connectivity_new p8est_connectivity_new
186 #define p4est_connectivity_new_brick p8est_connectivity_new_brick
187 #define p4est_connectivity_new_periodic p8est_connectivity_new_periodic
188 #define p4est_connectivity_new_twotrees p8est_connectivity_new_twotrees
189 #define p4est_connectivity_new_byname p8est_connectivity_new_byname
190 #define p4est_connectivity_new_copy p8est_connectivity_new_copy
191 #define p4est_connectivity_bcast p8est_connectivity_bcast
192 #define p4est_connectivity_destroy p8est_connectivity_destroy
193 #define p4est_connectivity_set_attr p8est_connectivity_set_attr
194 #define p4est_connectivity_is_valid p8est_connectivity_is_valid
195 #define p4est_connectivity_is_equal p8est_connectivity_is_equal
196 #define p4est_connectivity_sink p8est_connectivity_sink
197 #define p4est_connectivity_deflate p8est_connectivity_deflate
198 #define p4est_connectivity_save p8est_connectivity_save
199 #define p4est_connectivity_source p8est_connectivity_source
200 #define p4est_connectivity_inflate p8est_connectivity_inflate
201 #define p4est_connectivity_load p8est_connectivity_load
202 #define p4est_connectivity_complete p8est_connectivity_complete
203 #define p4est_connectivity_reduce p8est_connectivity_reduce
204 #define p4est_expand_face_transform p8est_expand_face_transform
205 #define p4est_find_face_transform p8est_find_face_transform
206 #define p4est_find_corner_transform p8est_find_corner_transform
207 #define p4est_neighbor_transform_coordinates \
208  p8est_neighbor_transform_coordinates
209 #define p4est_neighbor_transform_coordinates_reverse \
210  p8est_neighbor_transform_coordinates_reverse
211 #define p4est_connectivity_get_neighbor_transforms \
212  p8est_connectivity_get_neighbor_transforms
213 #define p4est_corner_array_index p8est_corner_array_index
214 #define p4est_connectivity_reorder p8est_connectivity_reorder
215 #define p4est_connectivity_reorder_newid \
216  p8est_connectivity_reorder_newid
217 #define p4est_connectivity_permute p8est_connectivity_permute
218 #define p4est_connectivity_join_faces p8est_connectivity_join_faces
219 #define p4est_connectivity_is_equivalent p8est_connectivity_is_equivalent
220 #define p4est_connectivity_read_inp_stream p8est_connectivity_read_inp_stream
221 #define p4est_connectivity_read_inp p8est_connectivity_read_inp
222 
223 /* functions in p4est */
224 #define p4est_qcoord_to_vertex p8est_qcoord_to_vertex
225 #define p4est_memory_used p8est_memory_used
226 #define p4est_revision p8est_revision
227 #define p4est_new p8est_new
228 #define p4est_destroy p8est_destroy
229 #define p4est_copy p8est_copy
230 #define p4est_reset_data p8est_reset_data
231 #define p4est_refine p8est_refine
232 #define p4est_coarsen p8est_coarsen
233 #define p4est_balance p8est_balance
234 #define p4est_partition p8est_partition
235 #define p4est_checksum p8est_checksum
236 #define p4est_checksum_partition p8est_checksum_partition
237 #define p4est_save p8est_save
238 #define p4est_load p8est_load
239 #define p4est_connect_type_int p8est_connect_type_int
240 #define p4est_connect_type_string p8est_connect_type_string
241 #define p4est_tree_array_index p8est_tree_array_index
242 #define p4est_quadrant_array_index p8est_quadrant_array_index
243 #define p4est_quadrant_array_push p8est_quadrant_array_push
244 #define p4est_quadrant_mempool_alloc p8est_quadrant_mempool_alloc
245 #define p4est_quadrant_list_pop p8est_quadrant_list_pop
246 
247 /* functions in p4est_extended */
248 #define p4est_replace_t p8est_replace_t
249 #define p4est_lid_compare p8est_lid_compare
250 #define p4est_lid_is_equal p8est_lid_is_equal
251 #define p4est_lid_init p8est_lid_init
252 #define p4est_lid_set_zero p8est_lid_set_zero
253 #define p4est_lid_set_one p8est_lid_set_one
254 #define p4est_lid_set_uint64 p8est_lid_set_uint64
255 #define p4est_lid_chk_bit p8est_lid_chk_bit
256 #define p4est_lid_set_bit p8est_lid_set_bit
257 #define p4est_lid_copy p8est_lid_copy
258 #define p4est_lid_add p8est_lid_add
259 #define p4est_lid_sub p8est_lid_sub
260 #define p4est_lid_bitwise_neg p8est_lid_bitwise_neg
261 #define p4est_lid_bitwise_or p8est_lid_bitwise_or
262 #define p4est_lid_bitwise_and p8est_lid_bitwise_and
263 #define p4est_lid_shift_right p8est_lid_shift_right
264 #define p4est_lid_shift_left p8est_lid_shift_left
265 #define p4est_lid_add_inplace p8est_lid_add_inplace
266 #define p4est_lid_sub_inplace p8est_lid_sub_inplace
267 #define p4est_lid_bitwise_or_inplace p8est_lid_bitwise_or_inplace
268 #define p4est_lid_bitwise_and_inplace p8est_lid_bitwise_and_inplace
269 #define p4est_quadrant_linear_id_ext128 p8est_quadrant_linear_id_ext128
270 #define p4est_quadrant_set_morton_ext128 p8est_quadrant_set_morton_ext128
271 #define p4est_new_ext p8est_new_ext
272 #define p4est_mesh_new_ext p8est_mesh_new_ext
273 #define p4est_copy_ext p8est_copy_ext
274 #define p4est_refine_ext p8est_refine_ext
275 #define p4est_coarsen_ext p8est_coarsen_ext
276 #define p4est_balance_ext p8est_balance_ext
277 #define p4est_balance_subtree_ext p8est_balance_subtree_ext
278 #define p4est_partition_ext p8est_partition_ext
279 #define p4est_partition_for_coarsening p8est_partition_for_coarsening
280 #define p4est_save_ext p8est_save_ext
281 #define p4est_load_ext p8est_load_ext
282 #define p4est_source_ext p8est_source_ext
283 #define p4est_file_open_read_ext p8est_file_open_read_ext
284 #define p4est_file_read_field_ext p8est_file_read_field_ext
285 
286 /* functions in p4est_iterate */
287 #define p4est_iterate p8est_iterate
288 #define p4est_iterate_ext p8est_iterate_ext
289 #define p4est_iter_fside_array_index p8est_iter_fside_array_index
290 #define p4est_iter_fside_array_index_int p8est_iter_fside_array_index_int
291 #define p4est_iter_cside_array_index p8est_iter_cside_array_index
292 #define p4est_iter_cside_array_index_int p8est_iter_cside_array_index_int
293 
294 /* functions in p4est_points */
295 #define p4est_new_points p8est_new_points
296 
297 /* functions in p4est_bits */
298 #define p4est_quadrant_pad p8est_quadrant_pad
299 #define p4est_quadrant_print p8est_quadrant_print
300 #define p4est_quadrant_is_equal p8est_quadrant_is_equal
301 #define p4est_quadrant_overlaps p8est_quadrant_overlaps
302 #define p4est_quadrant_is_equal_piggy p8est_quadrant_is_equal_piggy
303 #define p4est_quadrant_compare p8est_quadrant_compare
304 #define p4est_coordinates_compare p8est_coordinates_compare
305 #define p4est_quadrant_disjoint p8est_quadrant_disjoint
306 #define p4est_quadrant_compare_piggy p8est_quadrant_compare_piggy
307 #define p4est_quadrant_compare_local_num p8est_quadrant_compare_local_num
308 #define p4est_quadrant_equal_fn p8est_quadrant_equal_fn
309 #define p4est_quadrant_hash_fn p8est_quadrant_hash_fn
310 #define p4est_node_equal_piggy_fn p8est_node_equal_piggy_fn
311 #define p4est_node_hash_piggy_fn p8est_node_hash_piggy_fn
312 #define p4est_node_clamp_inside p8est_node_clamp_inside
313 #define p4est_node_unclamp p8est_node_unclamp
314 #define p4est_node_to_quadrant p8est_node_to_quadrant
315 #define p4est_quadrant_contains_node p8est_quadrant_contains_node
316 #define p4est_quadrant_ancestor_id p8est_quadrant_ancestor_id
317 #define p4est_quadrant_child_id p8est_quadrant_child_id
318 #define p4est_coordinates_is_inside_root p8est_coordinates_is_inside_root
319 #define p4est_quadrant_is_inside_root p8est_quadrant_is_inside_root
320 #define p4est_quadrant_is_inside_3x3 p8est_quadrant_is_inside_3x3
321 #define p4est_quadrant_is_outside_face p8est_quadrant_is_outside_face
322 #define p4est_quadrant_is_outside_corner p8est_quadrant_is_outside_corner
323 #define p4est_quadrant_is_node p8est_quadrant_is_node
324 #define p4est_coordinates_is_valid p8est_coordinates_is_valid
325 #define p4est_quadrant_is_valid p8est_quadrant_is_valid
326 #define p4est_quadrant_is_extended p8est_quadrant_is_extended
327 #define p4est_quadrant_is_sibling p8est_quadrant_is_sibling
328 #define p4est_quadrant_is_sibling_D p8est_quadrant_is_sibling_D
329 #define p4est_quadrant_is_family p8est_quadrant_is_family
330 #define p4est_quadrant_is_familyv p8est_quadrant_is_familyv
331 #define p4est_quadrant_is_familypv p8est_quadrant_is_familypv
332 #define p4est_quadrant_is_parent p8est_quadrant_is_parent
333 #define p4est_quadrant_is_parent_D p8est_quadrant_is_parent_D
334 #define p4est_quadrant_is_ancestor p8est_quadrant_is_ancestor
335 #define p4est_quadrant_is_ancestor_D p8est_quadrant_is_ancestor_D
336 #define p4est_quadrant_is_next p8est_quadrant_is_next
337 #define p4est_quadrant_is_next_D p8est_quadrant_is_next_D
338 #define p4est_quadrant_overlaps_tree p8est_quadrant_overlaps_tree
339 #define p4est_quadrant_is_inside_tree p8est_quadrant_is_inside_tree
340 #define p4est_quadrant_is_first_last p8est_quadrant_is_first_last
341 #define p4est_quadrant_enlarge_first p8est_quadrant_enlarge_first
342 #define p4est_quadrant_enlarge_last p8est_quadrant_enlarge_last
343 #define p4est_quadrant_ancestor p8est_quadrant_ancestor
344 #define p4est_quadrant_parent p8est_quadrant_parent
345 #define p4est_quadrant_sibling p8est_quadrant_sibling
346 #define p4est_quadrant_child p8est_quadrant_child
347 #define p4est_quadrant_face_neighbor p8est_quadrant_face_neighbor
348 #define p4est_quadrant_face_neighbor_extra p8est_quadrant_face_neighbor_extra
349 #define p4est_quadrant_half_face_neighbors p8est_quadrant_half_face_neighbors
350 #define p4est_quadrant_all_face_neighbors p8est_quadrant_all_face_neighbors
351 #define p4est_quadrant_corner_neighbor p8est_quadrant_corner_neighbor
352 #define p4est_quadrant_corner_neighbor_extra \
353  p8est_quadrant_corner_neighbor_extra
354 #define p4est_quadrant_half_corner_neighbor \
355  p8est_quadrant_half_corner_neighbor
356 #define p4est_quadrant_corner_node p8est_quadrant_corner_node
357 #define p4est_quadrant_children p8est_quadrant_children
358 #define p4est_quadrant_childrenv p8est_quadrant_childrenv
359 #define p4est_quadrant_childrenpv p8est_quadrant_childrenpv
360 #define p4est_quadrant_first_descendant p8est_quadrant_first_descendant
361 #define p4est_quadrant_last_descendant p8est_quadrant_last_descendant
362 #define p4est_quadrant_corner_descendant p8est_quadrant_corner_descendant
363 #define p4est_nearest_common_ancestor p8est_nearest_common_ancestor
364 #define p4est_nearest_common_ancestor_D p8est_nearest_common_ancestor_D
365 #define p4est_coordinates_transform_face \
366  p8est_coordinates_transform_face
367 #define p4est_quadrant_transform_face p8est_quadrant_transform_face
368 #define p4est_quadrant_touches_corner p8est_quadrant_touches_corner
369 #define p4est_quadrant_transform_corner p8est_quadrant_transform_corner
370 #define p4est_quadrant_shift_corner p8est_quadrant_shift_corner
371 #define p4est_quadrant_linear_id p8est_quadrant_linear_id
372 #define p4est_quadrant_set_morton p8est_quadrant_set_morton
373 #define p4est_quadrant_successor p8est_quadrant_successor
374 #define p4est_quadrant_predecessor p8est_quadrant_predecessor
375 #define p4est_quadrant_srand p8est_quadrant_srand
376 #define p4est_neighbor_transform_quadrant \
377  p8est_neighbor_transform_quadrant
378 #define p4est_neighbor_transform_quadrant_reverse \
379  p8est_neighbor_transform_quadrant_reverse
380 
381 /* functions in p4est_search */
382 #define p4est_find_partition p8est_find_partition
383 #define p4est_find_lower_bound p8est_find_lower_bound
384 #define p4est_find_higher_bound p8est_find_higher_bound
385 #define p4est_find_quadrant_cumulative p8est_find_quadrant_cumulative
386 #define p4est_split_array p8est_split_array
387 #define p4est_find_range_boundaries p8est_find_range_boundaries
388 #define p4est_search p8est_search
389 #define p4est_search_local p8est_search_local
390 #define p4est_search_reorder p8est_search_reorder
391 #define p4est_search_partition p8est_search_partition
392 #define p4est_search_all p8est_search_all
393 #define p4est_build_new p8est_build_new
394 #define p4est_build_init_add p8est_build_init_add
395 #define p4est_build_add p8est_build_add
396 #define p4est_build_complete p8est_build_complete
397 
398 /* functions in p4est_algorithms */
399 #define p4est_quadrant_init_data p8est_quadrant_init_data
400 #define p4est_quadrant_free_data p8est_quadrant_free_data
401 #define p4est_quadrant_checksum p8est_quadrant_checksum
402 #define p4est_quadrant_in_range p8est_quadrant_in_range
403 #define p4est_tree_is_sorted p8est_tree_is_sorted
404 #define p4est_tree_is_linear p8est_tree_is_linear
405 #define p4est_tree_is_almost_sorted p8est_tree_is_almost_sorted
406 #define p4est_tree_is_complete p8est_tree_is_complete
407 #define p4est_tree_print p8est_tree_print
408 #define p4est_is_equal p8est_is_equal
409 #define p4est_quadrant_copy p8est_quadrant_copy
410 #define p4est_is_valid p8est_is_valid
411 #define p4est_tree_compute_overlap p8est_tree_compute_overlap
412 #define p4est_tree_uniqify_overlap p8est_tree_uniqify_overlap
413 #define p4est_tree_remove_nonowned p8est_tree_remove_nonowned
414 #define p4est_complete_region p8est_complete_region
415 #define p4est_complete_subtree p8est_complete_subtree
416 #define p4est_balance_subtree p8est_balance_subtree
417 #define p4est_balance_border p8est_balance_border
418 #define p4est_linearize_tree p8est_linearize_tree
419 #define p4est_next_nonempty_process p8est_next_nonempty_process
420 #define p4est_partition_correction p8est_partition_correction
421 #define p4est_partition_for_coarsening p8est_partition_for_coarsening
422 #define p4est_partition_given p8est_partition_given
423 
424 /* functions in p4est_communication */
425 #define p4est_comm_parallel_env_assign p8est_comm_parallel_env_assign
426 #define p4est_comm_parallel_env_duplicate p8est_comm_parallel_env_duplicate
427 #define p4est_comm_parallel_env_release p8est_comm_parallel_env_release
428 #define p4est_comm_parallel_env_replace p8est_comm_parallel_env_replace
429 #define p4est_comm_parallel_env_get_info p8est_comm_parallel_env_get_info
430 #define p4est_comm_parallel_env_is_null p8est_comm_parallel_env_is_null
431 #define p4est_comm_parallel_env_reduce p8est_comm_parallel_env_reduce
432 #define p4est_comm_parallel_env_reduce_ext p8est_comm_parallel_env_reduce_ext
433 #define p4est_comm_count_quadrants p8est_comm_count_quadrants
434 #define p4est_comm_global_partition p8est_comm_global_partition
435 #define p4est_comm_global_first_quadrant p8est_comm_global_first_quadrant
436 #define p4est_comm_count_pertree p8est_comm_count_pertree
437 #define p4est_comm_is_empty p8est_comm_is_empty
438 #define p4est_comm_is_contained p8est_comm_is_contained
439 #define p4est_comm_is_owner p8est_comm_is_owner
440 #define p4est_comm_find_owner p8est_comm_find_owner
441 #define p4est_comm_tree_info p8est_comm_tree_info
442 #define p4est_comm_neighborhood_owned p8est_comm_neighborhood_owned
443 #define p4est_comm_sync_flag p8est_comm_sync_flag
444 #define p4est_comm_checksum p8est_comm_checksum
445 #define p4est_comm_checksum_partition p8est_comm_checksum_partition
446 #define p4est_transfer_fixed p8est_transfer_fixed
447 #define p4est_bsearch_partition p8est_bsearch_partition
448 #define p4est_transfer_fixed_begin p8est_transfer_fixed_begin
449 #define p4est_transfer_fixed_end p8est_transfer_fixed_end
450 #define p4est_transfer_custom p8est_transfer_custom
451 #define p4est_transfer_custom_begin p8est_transfer_custom_begin
452 #define p4est_transfer_custom_end p8est_transfer_custom_end
453 #define p4est_transfer_items p8est_transfer_items
454 #define p4est_transfer_items_begin p8est_transfer_items_begin
455 #define p4est_transfer_items_end p8est_transfer_items_end
456 #define p4est_transfer_end p8est_transfer_end
457 
458 /* functions in p4est_io */
459 #define p4est_deflate_quadrants p8est_deflate_quadrants
460 #define p4est_inflate p8est_inflate
461 #define p4est_inflate_null p8est_inflate_null
462 #define p4est_file_open_create p8est_file_open_create
463 #define p4est_file_open_append p8est_file_open_append
464 #define p4est_file_open_read p8est_file_open_read
465 #define p4est_file_write_block p8est_file_write_block
466 #define p4est_file_read_block p8est_file_read_block
467 #define p4est_file_write_field p8est_file_write_field
468 #define p4est_file_read_field p8est_file_read_field
469 #define p4est_file_info p8est_file_info
470 #define p4est_file_error_string p8est_file_error_string
471 #define p4est_file_write_p4est p8est_file_write_p8est
472 #define p4est_file_read_p4est p8est_file_read_p8est
473 #define p4est_file_write_connectivity p8est_file_write_connectivity
474 #define p4est_file_read_connectivity p8est_file_read_connectivity
475 #define p4est_file_close p8est_file_close
476 
477 /* functions in p4est_geometry */
478 #define p4est_geometry_destroy p8est_geometry_destroy
479 #define p4est_geometry_new_connectivity p8est_geometry_new_connectivity
480 
481 /* functions in p4est_vtk */
482 #define p4est_vtk_context_new p8est_vtk_context_new
483 #define p4est_vtk_context_destroy p8est_vtk_context_destroy
484 #define p4est_vtk_context_set_geom p8est_vtk_context_set_geom
485 #define p4est_vtk_context_set_scale p8est_vtk_context_set_scale
486 #define p4est_vtk_context_set_continuous p8est_vtk_context_set_continuous
487 #define p4est_vtk_write_file p8est_vtk_write_file
488 #define p4est_vtk_write_header p8est_vtk_write_header
489 #define p4est_vtk_write_header_ho p8est_vtk_write_header_ho
490 #define p4est_vtk_write_cell_dataf p8est_vtk_write_cell_dataf
491 #define p4est_vtk_write_cell_datav p8est_vtk_write_cell_datav
492 #define p4est_vtk_write_cell_data p8est_vtk_write_cell_data
493 #define p4est_vtk_write_point_dataf p8est_vtk_write_point_dataf
494 #define p4est_vtk_write_point_data p8est_vtk_write_point_data
495 #define p4est_vtk_write_footer p8est_vtk_write_footer
496 
497 /* functions in p4est_ghost */
498 #define p4est_quadrant_find_owner p8est_quadrant_find_owner
499 #define p4est_ghost_memory_used p8est_ghost_memory_used
500 #define p4est_ghost_new p8est_ghost_new
501 #define p4est_ghost_destroy p8est_ghost_destroy
502 #define p4est_ghost_exchange_data p8est_ghost_exchange_data
503 #define p4est_ghost_exchange_data_begin p8est_ghost_exchange_data_begin
504 #define p4est_ghost_exchange_data_end p8est_ghost_exchange_data_end
505 #define p4est_ghost_exchange_custom p8est_ghost_exchange_custom
506 #define p4est_ghost_exchange_custom_begin p8est_ghost_exchange_custom_begin
507 #define p4est_ghost_exchange_custom_end p8est_ghost_exchange_custom_end
508 #define p4est_ghost_exchange_custom_levels p8est_ghost_exchange_custom_levels
509 #define p4est_ghost_exchange_custom_levels_begin \
510  p8est_ghost_exchange_custom_levels_begin
511 #define p4est_ghost_exchange_custom_levels_end \
512  p8est_ghost_exchange_custom_levels_end
513 #define p4est_ghost_bsearch p8est_ghost_bsearch
514 #define p4est_ghost_contains p8est_ghost_contains
515 #define p4est_ghost_is_valid p8est_ghost_is_valid
516 #define p4est_face_quadrant_exists p8est_face_quadrant_exists
517 #define p4est_quadrant_exists p8est_quadrant_exists
518 #define p4est_is_balanced p8est_is_balanced
519 #define p4est_ghost_checksum p8est_ghost_checksum
520 #define p4est_ghost_expand p8est_ghost_expand
521 
522 /* functions in p4est_nodes */
523 #define p4est_nodes_new p8est_nodes_new
524 #define p4est_nodes_destroy p8est_nodes_destroy
525 #define p4est_nodes_is_valid p8est_nodes_is_valid
526 
527 /* functions in p4est_lnodes */
528 #define p4est_lnodes_new p8est_lnodes_new
529 #define p4est_lnodes_destroy p8est_lnodes_destroy
530 #define p4est_ghost_support_lnodes p8est_ghost_support_lnodes
531 #define p4est_ghost_expand_by_lnodes p8est_ghost_expand_by_lnodes
532 #define p4est_partition_lnodes p8est_partition_lnodes
533 #define p4est_partition_lnodes_detailed p8est_partition_lnodes_detailed
534 #define p4est_lnodes_decode p8est_lnodes_decode
535 #define p4est_lnodes_share_owned_begin p8est_lnodes_share_owned_begin
536 #define p4est_lnodes_share_owned_end p8est_lnodes_share_owned_end
537 #define p4est_lnodes_share_owned p8est_lnodes_share_owned
538 #define p4est_lnodes_share_all_begin p8est_lnodes_share_all_begin
539 #define p4est_lnodes_share_all_end p8est_lnodes_share_all_end
540 #define p4est_lnodes_share_all p8est_lnodes_share_all
541 #define p4est_lnodes_buffer_destroy p8est_lnodes_buffer_destroy
542 #define p4est_lnodes_rank_array_index p8est_lnodes_rank_array_index
543 #define p4est_lnodes_rank_array_index_int p8est_lnodes_rank_array_index_int
544 #define p4est_lnodes_global_index p8est_lnodes_global_index
545 
546 /* functions in p4est_mesh */
547 #define p4est_mesh_memory_used p8est_mesh_memory_used
548 #define p4est_mesh_new p8est_mesh_new
549 #define p4est_mesh_destroy p8est_mesh_destroy
550 #define p4est_mesh_get_quadrant p8est_mesh_get_quadrant
551 #define p4est_mesh_get_neighbors p8est_mesh_get_neighbors
552 #define p4est_mesh_quadrant_cumulative p8est_mesh_quadrant_cumulative
553 #define p4est_mesh_face_neighbor_init p8est_mesh_face_neighbor_init
554 #define p4est_mesh_face_neighbor_init2 p8est_mesh_face_neighbor_init2
555 #define p4est_mesh_face_neighbor_next p8est_mesh_face_neighbor_next
556 #define p4est_mesh_face_neighbor_data p8est_mesh_face_neighbor_data
557 
558 /* functions in p4est_balance */
559 #define p4est_balance_seeds_face p8est_balance_seeds_face
560 #define p4est_balance_seeds_corner p8est_balance_seeds_corner
561 #define p4est_balance_seeds p8est_balance_seeds
562 
563 /* functions in p4est_wrap */
564 #define p4est_wrap_new_conn p8est_wrap_new_conn
565 #define p4est_wrap_new_p4est p8est_wrap_new_p8est
566 #define p4est_wrap_new_brick p8est_wrap_new_brick
567 #define p4est_wrap_new_world p8est_wrap_new_world
568 #define p4est_wrap_new_ext p8est_wrap_new_ext
569 #define p4est_wrap_new_copy p8est_wrap_new_copy
570 #define p4est_wrap_destroy p8est_wrap_destroy
571 #define p4est_wrap_set_hollow p8est_wrap_set_hollow
572 #define p4est_wrap_set_coarsen_delay p8est_wrap_set_coarsen_delay
573 #define p4est_wrap_get_ghost p8est_wrap_get_ghost
574 #define p4est_wrap_get_mesh p8est_wrap_get_mesh
575 #define p4est_wrap_mark_refine p8est_wrap_mark_refine
576 #define p4est_wrap_mark_coarsen p8est_wrap_mark_coarsen
577 #define p4est_wrap_adapt p8est_wrap_adapt
578 #define p4est_wrap_partition p8est_wrap_partition
579 #define p4est_wrap_complete p8est_wrap_complete
580 #define p4est_wrap_leaf_next p8est_wrap_leaf_next
581 #define p4est_wrap_leaf_first p8est_wrap_leaf_first
582 
583 /* functions in p4est_plex */
584 #define p4est_get_plex_data p8est_get_plex_data
585 #define p4est_get_plex_data_ext p8est_get_plex_data_ext
586 
587 /* functions in p4est_connrefine */
588 #define p4est_connectivity_refine p8est_connectivity_refine
589 
590 #endif /* !P4EST_TO_P8EST_H */
General support types and functions.