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