40#ifndef P4EST_EXTENDED_H
41#define P4EST_EXTENDED_H
73 size_t balance_A_count_in;
74 size_t balance_A_count_out;
75 size_t balance_comm_sent;
76 size_t balance_comm_nzpeers;
77 size_t balance_B_count_in;
78 size_t balance_B_count_out;
79 size_t balance_zero_sends[2], balance_zero_receives[2];
263 unsigned shift_count,
277 unsigned shift_count,
382 int min_level,
int fill_uniform,
383 size_t data_size, p4est_init_t init_fn,
402 int compute_tree_index,
403 int compute_level_lists,
422 int duplicate_mpicomm);
446 int refine_recursive,
int maxlevel,
447 p4est_refine_t refine_fn,
448 p4est_init_t init_fn,
473 int callback_orphans,
474 p4est_coarsen_t coarsen_fn,
475 p4est_init_t init_fn,
491 p4est_init_t init_fn,
497 p4est_init_t init_fn,
523 int partition_for_coarsening,
524 p4est_weight_t weight_fn);
534 num_quadrants_in_proc);
543 p4est_iter_volume_t iter_volume,
544 p4est_iter_face_t iter_face,
545 p4est_iter_corner_t iter_corner,
566 int save_data,
int save_partition);
589p4est_t *p4est_load_ext (
const char *filename, sc_MPI_Comm mpicomm,
590 size_t data_size,
int load_data,
591 int autopartition,
int broadcasthead,
598p4est_t *p4est_source_ext (sc_io_source_t * src,
599 sc_MPI_Comm mpicomm,
size_t data_size,
600 int load_data,
int autopartition,
601 int broadcasthead,
void *user_pointer,
604#ifdef P4EST_ENABLE_FILE_DEPRECATED
615p4est_file_context_t *p4est_file_open_read_ext (sc_MPI_Comm mpicomm,
616 const char *filename,
619 global_num_quadrants,
630p4est_file_context_t *p4est_file_read_field_ext (p4est_file_context_t * fc,
632 size_t quadrant_size,
633 sc_array_t * quadrant_data,
687 sc_array_t * out_points_per_dim,
688 sc_array_t * out_cone_sizes,
689 sc_array_t * out_cones,
691 out_cone_orientations,
692 sc_array_t * out_vertex_coords,
693 sc_array_t * out_children,
694 sc_array_t * out_parents,
695 sc_array_t * out_childids,
696 sc_array_t * out_leaves,
697 sc_array_t * out_remotes,
698 int custom_numbering);
int32_t p4est_topidx_t
Typedef for counting topological entities (trees, tree vertices).
Definition p4est_base.h:93
int32_t p4est_locidx_t
Typedef for processor-local indexing of quadrants and nodes.
Definition p4est_base.h:106
int64_t p4est_gloidx_t
Typedef for globally unique indexing of quadrants.
Definition p4est_base.h:118
p4est_connect_type_t
Characterize a type of adjacency.
Definition p4est_connectivity.h:113
void(* p4est_replace_t)(p4est_t *p4est, p4est_topidx_t which_tree, int num_outgoing, p4est_quadrant_t *outgoing[], int num_incoming, p4est_quadrant_t *incoming[])
Callback function prototype to replace one set of quadrants with another.
Definition p4est_extended.h:111
uint64_t p4est_lid_t
A datatype to handle the linear id in 2D.
Definition p4est_extended.h:51
Provide functions to serialize/deserialize a forest.
Iteration over mesh topology via callbacks.
Generate Lobatto node numbers for any degree.
Forest topology in a conventional mesh format.
This structure holds the 2D inter-tree connectivity information.
Definition p4est_connectivity.h:190
Quadrants that neighbor the local domain.
Definition p4est_ghost.h:46
Data pertaining to selecting, inspecting, and profiling algorithms.
Definition p4est_extended.h:62
double balance_notify
time spent in sc_notify
Definition p4est_extended.h:84
double balance_notify_allgather
time spent in sc_notify_allgather
Definition p4est_extended.h:86
int balance_max_ranges
If positive and smaller than p4est_num ranges, overrides it.
Definition p4est_extended.h:72
int use_balance_ranges_notify
If true, call both sc_ranges and sc_notify and verify consistency.
Definition p4est_extended.h:68
double balance_ranges
time spent in sc_ranges
Definition p4est_extended.h:83
int use_balance_ranges
Use sc_ranges to determine the asymmetric communication pattern.
Definition p4est_extended.h:65
int use_balance_verify
Verify sc_ranges and/or sc_notify as applicable.
Definition p4est_extended.h:70
Store a parallel numbering of Lobatto points of a given degree > 0.
Definition p4est_lnodes.h:145
This structure contains complete mesh information on a 2:1 balanced forest.
Definition p4est_mesh.h:130
The 2D quadrant datatype.
Definition p4est.h:76
The p4est forest datatype.
Definition p4est.h:150