p4est 2.8.7.456-de8c6
p4est is a software library for parallel adaptive mesh refinement.
Loading...
Searching...
No Matches
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_COORDINATES_IS_VALID P8EST_COORDINATES_IS_VALID
67#define P4EST_TNODES_SIMPLEX_CORNERS P8EST_TNODES_SIMPLEX_CORNERS
68#define P4EST_TNODES_CUBE_SIMPLICES P8EST_TNODES_CUBE_SIMPLICES
69
70#ifdef P4EST_ENABLE_FILE_DEPRECATED
71
72#define P4EST_FILE_MAGIC_NUMBER P8EST_FILE_MAGIC_NUMBER
73#define P4EST_FILE_METADATA_BYTES P8EST_FILE_METADATA_BYTES
74#define P4EST_FILE_MAGIC_BYTES P8EST_FILE_MAGIC_BYTES
75#define P4EST_FILE_VERSION_STR_BYTES P8EST_FILE_VERSION_STR_BYTES
76#define P4EST_FILE_ARRAY_METADATA_BYTES P8EST_FILE_ARRAY_METADATA_BYTES
77#define P4EST_FILE_ARRAY_METADATA_CHARS P8EST_FILE_ARRAY_METADATA_CHARS
78#define P4EST_FILE_BYTE_DIV P8EST_FILE_BYTE_DIV
79#define P4EST_FILE_MAX_NUM_PAD_BYTES P8EST_FILE_MAX_NUM_PAD_BYTES
80#define P4EST_FILE_USER_STRING_BYTES P8EST_FILE_USER_STRING_BYTES
81#define P4EST_FILE_FIELD_HEADER_BYTES P8EST_FILE_FIELD_HEADER_BYTES
82#define P4EST_FILE_MAX_GLOBAL_QUAD P8EST_FILE_MAX_GLOBAL_QUAD
83#define P4EST_FILE_MAX_BLOCK_SIZE P8EST_FILE_MAX_BLOCK_SIZE
84#define P4EST_FILE_MAX_FIELD_ENTRY_SIZE P8EST_FILE_MAX_FIELD_ENTRY_SIZE
85
86#endif /* P4EST_ENABLE_FILE_DEPRECATED */
87
88/* redefine enums */
89#define P4EST_CONNECT_SELF P8EST_CONNECT_SELF
90#define P4EST_CONNECT_FACE P8EST_CONNECT_FACE
91#define P4EST_CONNECT_ALMOST P8EST_CONNECT_ALMOST
92#define P4EST_CONNECT_CORNER P8EST_CONNECT_CORNER
93#define P4EST_CONNECT_FULL P8EST_CONNECT_FULL
94#define P4EST_CONN_ENCODE_NONE P8EST_CONN_ENCODE_NONE
95#define P4EST_TRANSFER_COMM_SRC P8EST_TRANSFER_COMM_SRC
96#define P4EST_TRANSFER_COMM_DEST P8EST_TRANSFER_COMM_DEST
97#define P4EST_TRANSFER_COMM_SRC_DUP P8EST_TRANSFER_COMM_SRC_DUP
98#define P4EST_TRANSFER_COMM_DEST_DUP P8EST_TRANSFER_COMM_DEST_DUP
99#define P4EST_TRANSFER_COMM_EXTERNAL P8EST_TRANSFER_COMM_EXTERNAL
100#define P4EST_TNODES_FLAGS_NONE P8EST_TNODES_FLAGS_NONE
101#define P4EST_TNODES_COORDS_SEPARATE P8EST_TNODES_COORDS_SEPARATE
102#define P4EST_TNODES_ELEMENT_LEVEL P8EST_TNODES_ELEMENT_LEVEL
103#define P4EST_TNODES_SIMPLEX_LEVEL P8EST_TNODES_SIMPLEX_LEVEL
104#define P4EST_TNODES_STORE_LEVELS P8EST_TNODES_STORE_LEVELS
105#define P4EST_TNODES_FLAGS_ALL P8EST_TNODES_FLAGS_ALL
106#define P4EST_WRAP_NONE P8EST_WRAP_NONE
107#define P4EST_WRAP_REFINE P8EST_WRAP_REFINE
108#define P4EST_WRAP_COARSEN P8EST_WRAP_COARSEN
109
110#ifdef P4EST_ENABLE_FILE_DEPRECATED
111
112#define P4EST_FILE_ERR_SUCCESS P8EST_FILE_ERR_SUCCESS
113#define P4EST_FILE_ERR_FILE P8EST_FILE_ERR_FILE
114#define P4EST_FILE_ERR_NOT_SAME P8EST_FILE_ERR_NOT_SAME
115#define P4EST_FILE_ERR_AMODE P8EST_FILE_ERR_AMODE
116#define P4EST_FILE_ERR_NO_SUCH_FILE P8EST_FILE_ERR_NO_SUCH_FILE
117#define P4EST_FILE_ERR_FILE_EXIST P8EST_FILE_ERR_FILE_EXIST
118#define P4EST_FILE_ERR_BAD_FILE P8EST_FILE_ERR_BAD_FILE
119#define P4EST_FILE_ERR_ACCESS P8EST_FILE_ERR_ACCESS
120#define P4EST_FILE_ERR_NO_SPACE P8EST_FILE_ERR_NO_SPACE
121#define P4EST_FILE_ERR_QUOTA P8EST_FILE_ERR_QUOTA
122#define P4EST_FILE_ERR_READ_ONLY P8EST_FILE_ERR_READ_ONLY
123#define P4EST_FILE_ERR_IN_USE P8EST_FILE_ERR_IN_USE
124#define P4EST_FILE_ERR_IO P8EST_FILE_ERR_IO
125#define P4EST_FILE_ERR_FORMAT P8EST_FILE_ERR_FORMAT
126#define P4EST_FILE_ERR_SECTION_TYPE P8EST_FILE_ERR_SECTION_TYPE
127#define P4EST_FILE_ERR_CONN P8EST_FILE_ERR_CONN
128#define P4EST_FILE_ERR_P4EST P8EST_FILE_ERR_P8EST
129#define P4EST_FILE_ERR_IN_DATA P8EST_FILE_ERR_IN_DATA
130#define P4EST_FILE_ERR_COUNT P8EST_FILE_ERR_COUNT
131#define P4EST_FILE_ERR_UNKNOWN P8EST_FILE_ERR_UNKNOWN
132#define P4EST_FILE_ERR_LASTCODE P8EST_FILE_ERR_LASTCODE
133
134#endif
135
136/* redefine types */
137#ifdef P4EST_BACKWARD_DEALII
138#define p4est_balance_type_t p8est_balance_type_t
139#endif
140#define p4est_connect_type_t p8est_connect_type_t
141#define p4est_connectivity_encode_t p8est_connectivity_encode_t
142#define p4est_connectivity_t p8est_connectivity_t
143#define p4est_connectivity_shared_t p8est_connectivity_shared_t
144#define p4est_corner_transform_t p8est_corner_transform_t
145#define p4est_corner_info_t p8est_corner_info_t
146#define p4est_neighbor_transform_t p8est_neighbor_transform_t
147#define p4est_geometry_t p8est_geometry_t
148#define p4est_geometry_destroy_t p8est_geometry_destroy_t
149#define p4est_t p8est_t
150#define p4est_tree_t p8est_tree_t
151#define p4est_quadrant_t p8est_quadrant_t
152#define p4est_inspect_t p8est_inspect_t
153#define p4est_position_t p8est_position_t
154#define p4est_init_t p8est_init_t
155#define p4est_refine_t p8est_refine_t
156#define p4est_coarsen_t p8est_coarsen_t
157#define p4est_weight_t p8est_weight_t
158#define p4est_ghost_t p8est_ghost_t
159#define p4est_ghost_exchange_t p8est_ghost_exchange_t
160#define p4est_indep_t p8est_indep_t
161#define p4est_nodes_t p8est_nodes_t
162#define p4est_lid_t p8est_lid_t
163#define p4est_lnodes_t p8est_lnodes_t
164#define p4est_lnodes_code_t p8est_lnodes_code_t
165#define p4est_lnodes_rank_t p8est_lnodes_rank_t
166#define p4est_lnodes_buffer_t p8est_lnodes_buffer_t
167#define p4est_iter_volume_t p8est_iter_volume_t
168#define p4est_iter_volume_info_t p8est_iter_volume_info_t
169#define p4est_iter_face_side_full_t p8est_iter_face_side_full_t
170#define p4est_iter_face_side_hanging_t p8est_iter_face_side_hanging_t
171#define p4est_iter_face_t p8est_iter_face_t
172#define p4est_iter_face_info_t p8est_iter_face_info_t
173#define p4est_iter_face_side_t p8est_iter_face_side_t
174#define p4est_iter_corner_t p8est_iter_corner_t
175#define p4est_iter_corner_side_t p8est_iter_corner_side_t
176#define p4est_iter_corner_info_t p8est_iter_corner_info_t
177#define p4est_mesh_params_t p8est_mesh_params_t
178#define p4est_search_query_t p8est_search_query_t
179#define p4est_search_local_t p8est_search_local_t
180#define p4est_search_reorder_t p8est_search_reorder_t
181#define p4est_search_partition_t p8est_search_partition_t
182#define p4est_search_all_t p8est_search_all_t
183#define p4est_tnodes_t p8est_tnodes_t
184#define p4est_build p8est_build
185#define p4est_build_t p8est_build_t
186#define p4est_transfer_comm_t p8est_transfer_comm_t
187#define p4est_transfer_context_t p8est_transfer_context_t
188#define p4est_mesh_t p8est_mesh_t
189#define p4est_mesh_face_neighbor_t p8est_mesh_face_neighbor_t
190#define p4est_wrap_t p8est_wrap_t
191#define p4est_wrap_leaf_t p8est_wrap_leaf_t
192#define p4est_wrap_flags_t p8est_wrap_flags_t
193#define p4est_wrap_params_t p8est_wrap_params_t
194#define p4est_vtk_context_t p8est_vtk_context_t
195#define p4est_file_context_t p8est_file_context_t
196#define p4est_file_section_metadata_t p8est_file_section_metadata_t
197
198/* redefine external variables */
199#define p4est_volume_point p8est_volume_point
200#define p4est_face_corners p8est_face_corners
201#define p4est_face_points p8est_face_points
202#define p4est_face_dual p8est_face_dual
203#define p4est_corner_faces p8est_corner_faces
204#define p4est_corner_face_corners p8est_corner_face_corners
205#define p4est_corner_points p8est_corner_points
206#define p4est_child_corner_faces p8est_child_corner_faces
207#define p4est_lnodes_corner_hanging p8est_lnodes_corner_hanging
208#define P4EST_DATA_UNINITIALIZED P8EST_DATA_UNINITIALIZED
209
210/* functions in p4est_connectivity */
211#define p4est_connectivity_face_neighbor_face_corner \
212 p8est_connectivity_face_neighbor_face_corner
213#define p4est_connectivity_face_neighbor_corner \
214 p8est_connectivity_face_neighbor_corner
215#define p4est_connectivity_memory_used p8est_connectivity_memory_used
216#define p4est_connectivity_new p8est_connectivity_new
217#define p4est_connectivity_new_brick p8est_connectivity_new_brick
218#define p4est_connectivity_new_periodic p8est_connectivity_new_periodic
219#define p4est_connectivity_new_twotrees p8est_connectivity_new_twotrees
220#define p4est_connectivity_new_byname p8est_connectivity_new_byname
221#define p4est_connectivity_new_copy p8est_connectivity_new_copy
222#define p4est_connectivity_copy p8est_connectivity_copy
223#define p4est_connectivity_bcast p8est_connectivity_bcast
224#define p4est_connectivity_share p8est_connectivity_share
225#define p4est_connectivity_mission p8est_connectivity_mission
226#define p4est_connectivity_destroy p8est_connectivity_destroy
227#define p4est_connectivity_shared_destroy \
228 p8est_connectivity_shared_destroy
229#define p4est_connectivity_set_attr p8est_connectivity_set_attr
230#define p4est_connectivity_is_valid p8est_connectivity_is_valid
231#define p4est_connectivity_is_equal p8est_connectivity_is_equal
232#define p4est_connectivity_sink p8est_connectivity_sink
233#define p4est_connectivity_deflate p8est_connectivity_deflate
234#define p4est_connectivity_save p8est_connectivity_save
235#define p4est_connectivity_source p8est_connectivity_source
236#define p4est_connectivity_inflate p8est_connectivity_inflate
237#define p4est_connectivity_load p8est_connectivity_load
238#define p4est_connectivity_complete p8est_connectivity_complete
239#define p4est_connectivity_reduce p8est_connectivity_reduce
240#define p4est_expand_face_transform p8est_expand_face_transform
241#define p4est_find_face_transform p8est_find_face_transform
242#define p4est_find_corner_transform p8est_find_corner_transform
243#define p4est_neighbor_transform_coordinates \
244 p8est_neighbor_transform_coordinates
245#define p4est_neighbor_transform_coordinates_reverse \
246 p8est_neighbor_transform_coordinates_reverse
247#define p4est_connectivity_get_neighbor_transforms \
248 p8est_connectivity_get_neighbor_transforms
249#define p4est_connectivity_coordinates_canonicalize \
250 p8est_connectivity_coordinates_canonicalize
251#define p4est_corner_array_index p8est_corner_array_index
252#define p4est_connectivity_reorder p8est_connectivity_reorder
253#define p4est_connectivity_reorder_newid \
254 p8est_connectivity_reorder_newid
255#define p4est_connectivity_permute p8est_connectivity_permute
256#define p4est_connectivity_join_faces p8est_connectivity_join_faces
257#define p4est_connectivity_is_equivalent p8est_connectivity_is_equivalent
258#define p4est_connectivity_read_inp_stream p8est_connectivity_read_inp_stream
259#define p4est_connectivity_read_inp p8est_connectivity_read_inp
260
261/* functions in p4est */
262#define p4est_qcoord_to_vertex p8est_qcoord_to_vertex
263#define p4est_memory_used p8est_memory_used
264#define p4est_revision p8est_revision
265#define p4est_new p8est_new
266#define p4est_destroy p8est_destroy
267#define p4est_copy p8est_copy
268#define p4est_reset_data p8est_reset_data
269#define p4est_refine p8est_refine
270#define p4est_coarsen p8est_coarsen
271#define p4est_balance p8est_balance
272#define p4est_partition p8est_partition
273#define p4est_checksum p8est_checksum
274#define p4est_checksum_partition p8est_checksum_partition
275#define p4est_save p8est_save
276#define p4est_load p8est_load
277#define p4est_connect_type_int p8est_connect_type_int
278#define p4est_connect_type_string p8est_connect_type_string
279#define p4est_tree_array_index p8est_tree_array_index
280#define p4est_quadrant_array_index p8est_quadrant_array_index
281#define p4est_quadrant_array_push_copy p8est_quadrant_array_push_copy
282#define p4est_quadrant_array_push p8est_quadrant_array_push
283#define p4est_quadrant_mempool_alloc p8est_quadrant_mempool_alloc
284#define p4est_quadrant_list_pop p8est_quadrant_list_pop
285
286/* functions in p4est_extended */
287#define p4est_replace_t p8est_replace_t
288#define p4est_lid_compare p8est_lid_compare
289#define p4est_lid_is_equal p8est_lid_is_equal
290#define p4est_lid_init p8est_lid_init
291#define p4est_lid_set_zero p8est_lid_set_zero
292#define p4est_lid_set_one p8est_lid_set_one
293#define p4est_lid_set_uint64 p8est_lid_set_uint64
294#define p4est_lid_chk_bit p8est_lid_chk_bit
295#define p4est_lid_set_bit p8est_lid_set_bit
296#define p4est_lid_copy p8est_lid_copy
297#define p4est_lid_add p8est_lid_add
298#define p4est_lid_sub p8est_lid_sub
299#define p4est_lid_bitwise_neg p8est_lid_bitwise_neg
300#define p4est_lid_bitwise_or p8est_lid_bitwise_or
301#define p4est_lid_bitwise_and p8est_lid_bitwise_and
302#define p4est_lid_shift_right p8est_lid_shift_right
303#define p4est_lid_shift_left p8est_lid_shift_left
304#define p4est_lid_add_inplace p8est_lid_add_inplace
305#define p4est_lid_sub_inplace p8est_lid_sub_inplace
306#define p4est_lid_bitwise_or_inplace p8est_lid_bitwise_or_inplace
307#define p4est_lid_bitwise_and_inplace p8est_lid_bitwise_and_inplace
308#define p4est_quadrant_linear_id_ext128 p8est_quadrant_linear_id_ext128
309#define p4est_quadrant_set_morton_ext128 p8est_quadrant_set_morton_ext128
310#define p4est_new_ext p8est_new_ext
311#define p4est_mesh_new_ext p8est_mesh_new_ext
312#define p4est_mesh_new_params p8est_mesh_new_params
313#define p4est_mesh_params_init p8est_mesh_params_init
314#define p4est_copy_ext p8est_copy_ext
315#define p4est_refine_ext p8est_refine_ext
316#define p4est_coarsen_ext p8est_coarsen_ext
317#define p4est_balance_ext p8est_balance_ext
318#define p4est_balance_subtree_ext p8est_balance_subtree_ext
319#define p4est_partition_ext p8est_partition_ext
320#define p4est_partition_for_coarsening p8est_partition_for_coarsening
321#define p4est_save_ext p8est_save_ext
322#define p4est_load_ext p8est_load_ext
323#define p4est_source_ext p8est_source_ext
324
325#ifdef P4EST_ENABLE_FILE_DEPRECATED
326
327#define p4est_file_open_read_ext p8est_file_open_read_ext
328#define p4est_file_read_field_ext p8est_file_read_field_ext
329
330#endif
331
332/* functions in p4est_iterate */
333#define p4est_iterate p8est_iterate
334#define p4est_iterate_ext p8est_iterate_ext
335#define p4est_iter_fside_array_index p8est_iter_fside_array_index
336#define p4est_iter_fside_array_index_int p8est_iter_fside_array_index_int
337#define p4est_iter_cside_array_index p8est_iter_cside_array_index
338#define p4est_iter_cside_array_index_int p8est_iter_cside_array_index_int
339
340/* functions in p4est_points */
341#define p4est_new_points p8est_new_points
342
343/* functions in p4est_bits */
344#define p4est_quadrant_pad p8est_quadrant_pad
345#define p4est_quadrant_print p8est_quadrant_print
346#define p4est_quadrant_is_equal p8est_quadrant_is_equal
347#define p4est_quadrant_overlaps p8est_quadrant_overlaps
348#define p4est_quadrant_is_equal_piggy p8est_quadrant_is_equal_piggy
349#define p4est_quadrant_hash_piggy p8est_quadrant_hash_piggy
350#define p4est_quadrant_compare p8est_quadrant_compare
351#define p4est_coordinates_compare p8est_coordinates_compare
352#define p4est_quadrant_disjoint p8est_quadrant_disjoint
353#define p4est_quadrant_compare_piggy p8est_quadrant_compare_piggy
354#define p4est_quadrant_compare_local_num p8est_quadrant_compare_local_num
355#define p4est_quadrant_equal_fn p8est_quadrant_equal_fn
356#define p4est_quadrant_hash_fn p8est_quadrant_hash_fn
357#define p4est_node_equal_piggy_fn p8est_node_equal_piggy_fn
358#define p4est_node_hash_piggy_fn p8est_node_hash_piggy_fn
359#define p4est_node_clamp_inside p8est_node_clamp_inside
360#define p4est_node_unclamp p8est_node_unclamp
361#define p4est_node_to_quadrant p8est_node_to_quadrant
362#define p4est_quadrant_contains_node p8est_quadrant_contains_node
363#define p4est_quadrant_ancestor_id p8est_quadrant_ancestor_id
364#define p4est_quadrant_child_id p8est_quadrant_child_id
365#define p4est_coordinates_is_inside_root p8est_coordinates_is_inside_root
366#define p4est_quadrant_is_inside_root p8est_quadrant_is_inside_root
367#define p4est_quadrant_is_inside_3x3 p8est_quadrant_is_inside_3x3
368#define p4est_quadrant_is_outside_face p8est_quadrant_is_outside_face
369#define p4est_quadrant_is_outside_corner p8est_quadrant_is_outside_corner
370#define p4est_quadrant_is_node p8est_quadrant_is_node
371#define p4est_coordinates_is_valid p8est_coordinates_is_valid
372#define p4est_quadrant_is_valid p8est_quadrant_is_valid
373#define p4est_quadrant_is_extended p8est_quadrant_is_extended
374#define p4est_quadrant_is_sibling p8est_quadrant_is_sibling
375#define p4est_quadrant_is_sibling_D p8est_quadrant_is_sibling_D
376#define p4est_quadrant_is_family p8est_quadrant_is_family
377#define p4est_quadrant_is_familyv p8est_quadrant_is_familyv
378#define p4est_quadrant_is_familypv p8est_quadrant_is_familypv
379#define p4est_quadrant_is_parent p8est_quadrant_is_parent
380#define p4est_quadrant_is_parent_D p8est_quadrant_is_parent_D
381#define p4est_quadrant_is_ancestor p8est_quadrant_is_ancestor
382#define p4est_quadrant_is_ancestor_D p8est_quadrant_is_ancestor_D
383#define p4est_quadrant_is_next p8est_quadrant_is_next
384#define p4est_quadrant_is_next_D p8est_quadrant_is_next_D
385#define p4est_quadrant_overlaps_tree p8est_quadrant_overlaps_tree
386#define p4est_quadrant_is_inside_tree p8est_quadrant_is_inside_tree
387#define p4est_quadrant_is_first_last p8est_quadrant_is_first_last
388#define p4est_quadrant_enlarge_first p8est_quadrant_enlarge_first
389#define p4est_quadrant_enlarge_last p8est_quadrant_enlarge_last
390#define p4est_quadrant_root p8est_quadrant_root
391#define p4est_quadrant_ancestor p8est_quadrant_ancestor
392#define p4est_quadrant_parent p8est_quadrant_parent
393#define p4est_quadrant_sibling p8est_quadrant_sibling
394#define p4est_quadrant_child p8est_quadrant_child
395#define p4est_quadrant_volume_coordinates \
396 p8est_quadrant_volume_coordinates
397#define p4est_quadrant_face_neighbor p8est_quadrant_face_neighbor
398#define p4est_quadrant_face_neighbor_extra p8est_quadrant_face_neighbor_extra
399#define p4est_quadrant_half_face_neighbors p8est_quadrant_half_face_neighbors
400#define p4est_quadrant_all_face_neighbors p8est_quadrant_all_face_neighbors
401#define p4est_quadrant_face_coordinates p8est_quadrant_face_coordinates
402#define p4est_quadrant_corner_neighbor p8est_quadrant_corner_neighbor
403#define p4est_quadrant_corner_neighbor_extra \
404 p8est_quadrant_corner_neighbor_extra
405#define p4est_quadrant_half_corner_neighbor \
406 p8est_quadrant_half_corner_neighbor
407#define p4est_quadrant_corner_node p8est_quadrant_corner_node
408#define p4est_quadrant_corner_coordinates \
409 p8est_quadrant_corner_coordinates
410#define p4est_quadrant_children p8est_quadrant_children
411#define p4est_quadrant_childrenv p8est_quadrant_childrenv
412#define p4est_quadrant_childrenpv p8est_quadrant_childrenpv
413#define p4est_quadrant_first_descendant p8est_quadrant_first_descendant
414#define p4est_quadrant_last_descendant p8est_quadrant_last_descendant
415#define p4est_quadrant_corner_descendant p8est_quadrant_corner_descendant
416#define p4est_nearest_common_ancestor p8est_nearest_common_ancestor
417#define p4est_nearest_common_ancestor_D p8est_nearest_common_ancestor_D
418#define p4est_coordinates_transform_face \
419 p8est_coordinates_transform_face
420#define p4est_quadrant_transform_face p8est_quadrant_transform_face
421#define p4est_quadrant_touches_corner p8est_quadrant_touches_corner
422#define p4est_coordinates_transform_corner \
423 p8est_coordinates_transform_corner
424#define p4est_quadrant_transform_corner p8est_quadrant_transform_corner
425#define p4est_quadrant_shift_corner p8est_quadrant_shift_corner
426#define p4est_quadrant_linear_id p8est_quadrant_linear_id
427#define p4est_quadrant_set_morton p8est_quadrant_set_morton
428#define p4est_quadrant_successor p8est_quadrant_successor
429#define p4est_quadrant_predecessor p8est_quadrant_predecessor
430#define p4est_quadrant_srand p8est_quadrant_srand
431#define p4est_neighbor_transform_quadrant \
432 p8est_neighbor_transform_quadrant
433#define p4est_neighbor_transform_quadrant_reverse \
434 p8est_neighbor_transform_quadrant_reverse
435#define p4est_quadrant_is_ancestor_face \
436 p8est_quadrant_is_ancestor_face
437#define p4est_quadrant_is_ancestor_corner \
438 p8est_quadrant_is_ancestor_corner
439
440/* functions in p4est_search */
441#define p4est_find_partition p8est_find_partition
442#define p4est_find_lower_bound p8est_find_lower_bound
443#define p4est_find_higher_bound p8est_find_higher_bound
444#define p4est_find_quadrant_cumulative p8est_find_quadrant_cumulative
445#define p4est_split_array p8est_split_array
446#define p4est_find_range_boundaries p8est_find_range_boundaries
447#define p4est_search p8est_search
448#define p4est_search_local p8est_search_local
449#define p4est_search_reorder p8est_search_reorder
450#define p4est_search_partition p8est_search_partition
451#define p4est_search_partition_gfx p8est_search_partition_gfx
452#define p4est_search_partition_gfp p8est_search_partition_gfp
453#define p4est_search_all p8est_search_all
454#define p4est_build_new p8est_build_new
455#define p4est_build_init_add p8est_build_init_add
456#define p4est_build_add p8est_build_add
457#define p4est_build_complete p8est_build_complete
458
459/* functions in p4est_algorithms */
460#define p4est_quadrant_mempool_new p8est_quadrant_mempool_new
461#define p4est_quadrant_init_data p8est_quadrant_init_data
462#define p4est_quadrant_free_data p8est_quadrant_free_data
463#define p4est_quadrant_checksum p8est_quadrant_checksum
464#define p4est_quadrant_in_range p8est_quadrant_in_range
465#define p4est_tree_is_sorted p8est_tree_is_sorted
466#define p4est_tree_is_linear p8est_tree_is_linear
467#define p4est_tree_is_almost_sorted p8est_tree_is_almost_sorted
468#define p4est_tree_is_complete p8est_tree_is_complete
469#define p4est_tree_print p8est_tree_print
470#define p4est_is_equal p8est_is_equal
471#define p4est_quadrant_copy p8est_quadrant_copy
472#define p4est_is_valid p8est_is_valid
473#define p4est_tree_compute_overlap p8est_tree_compute_overlap
474#define p4est_tree_uniqify_overlap p8est_tree_uniqify_overlap
475#define p4est_tree_remove_nonowned p8est_tree_remove_nonowned
476#define p4est_complete_region p8est_complete_region
477#define p4est_complete_subtree p8est_complete_subtree
478#define p4est_balance_subtree p8est_balance_subtree
479#define p4est_balance_border p8est_balance_border
480#define p4est_linearize_tree p8est_linearize_tree
481#define p4est_next_nonempty_process p8est_next_nonempty_process
482#define p4est_partition_correction p8est_partition_correction
483#define p4est_partition_for_coarsening p8est_partition_for_coarsening
484#define p4est_partition_given p8est_partition_given
485#define p4est_quadrant_on_face_boundary p8est_quadrant_on_face_boundary
486
487/* functions in p4est_communication */
488#define p4est_comm_parallel_env_assign p8est_comm_parallel_env_assign
489#define p4est_comm_parallel_env_duplicate p8est_comm_parallel_env_duplicate
490#define p4est_comm_parallel_env_release p8est_comm_parallel_env_release
491#define p4est_comm_parallel_env_replace p8est_comm_parallel_env_replace
492#define p4est_comm_parallel_env_get_info p8est_comm_parallel_env_get_info
493#define p4est_comm_parallel_env_is_null p8est_comm_parallel_env_is_null
494#define p4est_comm_parallel_env_reduce p8est_comm_parallel_env_reduce
495#define p4est_comm_parallel_env_reduce_ext p8est_comm_parallel_env_reduce_ext
496#define p4est_comm_count_quadrants p8est_comm_count_quadrants
497#define p4est_comm_global_partition p8est_comm_global_partition
498#define p4est_comm_global_first_quadrant p8est_comm_global_first_quadrant
499#define p4est_comm_count_pertree p8est_comm_count_pertree
500#define p4est_comm_is_empty p8est_comm_is_empty
501#define p4est_comm_is_empty_gfq p8est_comm_is_empty_gfq
502#define p4est_comm_is_empty_gfp p8est_comm_is_empty_gfp
503#define p4est_comm_is_contained p8est_comm_is_contained
504#define p4est_comm_is_owner p8est_comm_is_owner
505#define p4est_comm_is_owner_gfp p8est_comm_is_owner_gfp
506#define p4est_comm_find_owner p8est_comm_find_owner
507#define p4est_comm_tree_info p8est_comm_tree_info
508#define p4est_comm_is_boundary p8est_comm_is_boundary
509#define p4est_comm_sync_flag p8est_comm_sync_flag
510#define p4est_comm_checksum p8est_comm_checksum
511#define p4est_transfer_fixed p8est_transfer_fixed
512#define p4est_bsearch_partition p8est_bsearch_partition
513#define p4est_transfer_fixed_begin p8est_transfer_fixed_begin
514#define p4est_transfer_fixed_end p8est_transfer_fixed_end
515#define p4est_transfer_custom p8est_transfer_custom
516#define p4est_transfer_custom_begin p8est_transfer_custom_begin
517#define p4est_transfer_custom_end p8est_transfer_custom_end
518#define p4est_transfer_items p8est_transfer_items
519#define p4est_transfer_items_begin p8est_transfer_items_begin
520#define p4est_transfer_items_end p8est_transfer_items_end
521#define p4est_transfer_end p8est_transfer_end
522
523/* functions in p4est_io */
524#define p4est_deflate_quadrants p8est_deflate_quadrants
525#define p4est_inflate p8est_inflate
526#define p4est_inflate_null p8est_inflate_null
527
528#ifdef P4EST_ENABLE_FILE_DEPRECATED
529
530#define p4est_file_open_create p8est_file_open_create
531#define p4est_file_open_append p8est_file_open_append
532#define p4est_file_open_read p8est_file_open_read
533#define p4est_file_write_block p8est_file_write_block
534#define p4est_file_read_block p8est_file_read_block
535#define p4est_file_write_field p8est_file_write_field
536#define p4est_file_read_field p8est_file_read_field
537#define p4est_file_info p8est_file_info
538#define p4est_file_error_string p8est_file_error_string
539#define p4est_file_write_p4est p8est_file_write_p8est
540#define p4est_file_read_p4est p8est_file_read_p8est
541#define p4est_file_write_connectivity p8est_file_write_connectivity
542#define p4est_file_read_connectivity p8est_file_read_connectivity
543#define p4est_file_close p8est_file_close
544
545#endif /* P4EST_ENABLE_FILE_DEPRECATED */
546
547/* functions in p4est_geometry */
548#define p4est_geometry_transform_coordinates \
549 p8est_geometry_transform_coordinates
550#define p4est_geometry_destroy p8est_geometry_destroy
551#define p4est_geometry_new_connectivity p8est_geometry_new_connectivity
552#define p4est_geometry_connectivity_X p8est_geometry_connectivity_X
553#define p4est_geometry_coordinates_lnodes p8est_geometry_coordinates_lnodes
554
555/* functions in p4est_vtk */
556#define p4est_vtk_context_new p8est_vtk_context_new
557#define p4est_vtk_context_destroy p8est_vtk_context_destroy
558#define p4est_vtk_context_set_geom p8est_vtk_context_set_geom
559#define p4est_vtk_context_set_lnodes p8est_vtk_context_set_lnodes
560#define p4est_vtk_context_set_scale p8est_vtk_context_set_scale
561#define p4est_vtk_context_set_continuous p8est_vtk_context_set_continuous
562#define p4est_vtk_write_file p8est_vtk_write_file
563#define p4est_vtk_write_header p8est_vtk_write_header
564#define p4est_vtk_write_header_ho p8est_vtk_write_header_ho
565#define p4est_vtk_write_cell_dataf p8est_vtk_write_cell_dataf
566#define p4est_vtk_write_cell_datav p8est_vtk_write_cell_datav
567#define p4est_vtk_write_cell_data p8est_vtk_write_cell_data
568#define p4est_vtk_write_point_dataf p8est_vtk_write_point_dataf
569#define p4est_vtk_write_point_data p8est_vtk_write_point_data
570#define p4est_vtk_write_footer p8est_vtk_write_footer
571#define p4est_vtk_write_header_tnodes p8est_vtk_write_header_tnodes
572
573/* functions in p4est_ghost */
574#define p4est_quadrant_find_owner p8est_quadrant_find_owner
575#define p4est_ghost_memory_used p8est_ghost_memory_used
576#define p4est_ghost_new p8est_ghost_new
577#define p4est_ghost_new_local p8est_ghost_new_local
578#define p4est_ghost_destroy p8est_ghost_destroy
579#define p4est_ghost_exchange_data p8est_ghost_exchange_data
580#define p4est_ghost_exchange_data_begin p8est_ghost_exchange_data_begin
581#define p4est_ghost_exchange_data_end p8est_ghost_exchange_data_end
582#define p4est_ghost_exchange_custom p8est_ghost_exchange_custom
583#define p4est_ghost_exchange_custom_begin p8est_ghost_exchange_custom_begin
584#define p4est_ghost_exchange_custom_end p8est_ghost_exchange_custom_end
585#define p4est_ghost_exchange_custom_levels p8est_ghost_exchange_custom_levels
586#define p4est_ghost_exchange_custom_levels_begin \
587 p8est_ghost_exchange_custom_levels_begin
588#define p4est_ghost_exchange_custom_levels_end \
589 p8est_ghost_exchange_custom_levels_end
590#define p4est_ghost_bsearch p8est_ghost_bsearch
591#define p4est_ghost_contains p8est_ghost_contains
592#define p4est_ghost_is_valid p8est_ghost_is_valid
593#define p4est_face_quadrant_exists p8est_face_quadrant_exists
594#define p4est_quadrant_exists p8est_quadrant_exists
595#define p4est_is_balanced p8est_is_balanced
596#define p4est_ghost_checksum p8est_ghost_checksum
597#define p4est_ghost_expand p8est_ghost_expand
598
599/* functions in p4est_nodes */
600#define p4est_nodes_new p8est_nodes_new
601#define p4est_nodes_destroy p8est_nodes_destroy
602#define p4est_nodes_is_valid p8est_nodes_is_valid
603
604/* functions in p4est_lnodes */
605#define p4est_lnodes_new p8est_lnodes_new
606#define p4est_lnodes_memory_used p8est_lnodes_memory_used
607#define p4est_lnodes_destroy p8est_lnodes_destroy
608#define p4est_ghost_support_lnodes p8est_ghost_support_lnodes
609#define p4est_ghost_expand_by_lnodes p8est_ghost_expand_by_lnodes
610#define p4est_partition_lnodes p8est_partition_lnodes
611#define p4est_partition_lnodes_detailed p8est_partition_lnodes_detailed
612#define p4est_lnodes_decode p8est_lnodes_decode
613#define p4est_lnodes_derive_child_codes p8est_lnodes_derive_child_codes
614#define p4est_lnodes_share_owned_begin p8est_lnodes_share_owned_begin
615#define p4est_lnodes_share_owned_end p8est_lnodes_share_owned_end
616#define p4est_lnodes_share_owned p8est_lnodes_share_owned
617#define p4est_lnodes_share_all_begin p8est_lnodes_share_all_begin
618#define p4est_lnodes_share_all_end p8est_lnodes_share_all_end
619#define p4est_lnodes_share_all p8est_lnodes_share_all
620#define p4est_lnodes_buffer_destroy p8est_lnodes_buffer_destroy
621#define p4est_lnodes_rank_array_index p8est_lnodes_rank_array_index
622#define p4est_lnodes_rank_array_index_int \
623 p8est_lnodes_rank_array_index_int
624#define p4est_lnodes_global_index p8est_lnodes_global_index
625
626/* functions in p4est_mesh */
627#define p4est_mesh_memory_used p8est_mesh_memory_used
628#define p4est_mesh_new p8est_mesh_new
629#define p4est_mesh_destroy p8est_mesh_destroy
630#define p4est_mesh_get_quadrant p8est_mesh_get_quadrant
631#define p4est_mesh_get_neighbors p8est_mesh_get_neighbors
632#define p4est_mesh_quadrant_cumulative p8est_mesh_quadrant_cumulative
633#define p4est_mesh_face_neighbor_init p8est_mesh_face_neighbor_init
634#define p4est_mesh_face_neighbor_init2 p8est_mesh_face_neighbor_init2
635#define p4est_mesh_face_neighbor_next p8est_mesh_face_neighbor_next
636#define p4est_mesh_face_neighbor_data p8est_mesh_face_neighbor_data
637
638/* functions in p4est_balance */
639#define p4est_balance_seeds_face p8est_balance_seeds_face
640#define p4est_balance_seeds_corner p8est_balance_seeds_corner
641#define p4est_balance_seeds p8est_balance_seeds
642
643/* functions in p4est_tnodes */
644#define p4est_tnodes_simplex_reverse p8est_tnodes_simplex_reverse
645#define p4est_tnodes_simplex_parent p8est_tnodes_simplex_parent
646#define p4est_tnodes_simplex_parent_is_valid \
647 p8est_tnodes_simplex_parent_is_valid
648#define p4est_tnodes_quadrant_Q1_simplices \
649 p8est_tnodes_quadrant_Q1_simplices
650#define p4est_tnodes_quadrant_Q2_simplices \
651 p8est_tnodes_quadrant_Q2_simplices
652#define p4est_tnodes_new_Q1_P1 p8est_tnodes_new_Q1_P1
653#define p4est_tnodes_new_Q2_P1 p8est_tnodes_new_Q2_P1
654#define p4est_tnodes_new_Q2_P1_ind p8est_tnodes_new_Q2_P1_ind
655#define p4est_tnodes_memory_used p8est_tnodes_memory_used
656#define p4est_tnodes_destroy p8est_tnodes_destroy
657
658/* functions in p4est_wrap */
659#define p4est_wrap_params_init p8est_wrap_params_init
660#define p4est_wrap_new_conn p8est_wrap_new_conn
661#define p4est_wrap_new_p4est p8est_wrap_new_p8est
662#define p4est_wrap_new_p4est_params p8est_wrap_new_p8est_params
663#define p4est_wrap_new_brick p8est_wrap_new_brick
664#define p4est_wrap_new_world p8est_wrap_new_world
665#define p4est_wrap_new_ext p8est_wrap_new_ext
666#define p4est_wrap_new_params p8est_wrap_new_params
667#define p4est_wrap_new_copy p8est_wrap_new_copy
668#define p4est_wrap_destroy p8est_wrap_destroy
669#define p4est_wrap_set_hollow p8est_wrap_set_hollow
670#define p4est_wrap_set_coarsen_delay p8est_wrap_set_coarsen_delay
671#define p4est_wrap_set_partitioning p8est_wrap_set_partitioning
672#define p4est_wrap_get_ghost p8est_wrap_get_ghost
673#define p4est_wrap_get_mesh p8est_wrap_get_mesh
674#define p4est_wrap_mark_refine p8est_wrap_mark_refine
675#define p4est_wrap_mark_coarsen p8est_wrap_mark_coarsen
676#define p4est_wrap_adapt p8est_wrap_adapt
677#define p4est_wrap_partition p8est_wrap_partition
678#define p4est_wrap_complete p8est_wrap_complete
679#define p4est_wrap_leaf_next p8est_wrap_leaf_next
680#define p4est_wrap_leaf_first p8est_wrap_leaf_first
681
682/* functions in p4est_plex */
683#define p4est_get_plex_data p8est_get_plex_data
684#define p4est_get_plex_data_ext p8est_get_plex_data_ext
685
686/* functions and types in p4est_dune */
687#define p4est_dune_numbers_t p8est_dune_numbers_t
688#define p4est_dune_numbers_params_t p8est_dune_numbers_params_t
689#define p4est_dune_numbers_params_init p8est_dune_numbers_params_init
690#define p4est_dune_numbers_new p8est_dune_numbers_new
691#define p4est_dune_numbers_destroy p8est_dune_numbers_destroy
692#define p4est_dune_iterate_balanced p8est_dune_iterate_balanced
693#define p4est_dune_iterate p8est_dune_iterate
694
695/* functions in p4est_connrefine */
696#define p4est_connectivity_refine p8est_connectivity_refine
697
698#endif /* !P4EST_TO_P8EST_H */
General support types and functions.