25#ifndef P6EST_COMMUNICATION_H
26#define P6EST_COMMUNICATION_H
109 int add_to_beginning,
110 int **ranks_subcomm);
A hybrid 2D+1D AMR extension.
int p6est_comm_parallel_env_reduce_ext(p6est_t **p6est_supercomm, sc_MPI_Group group_add, int add_to_beginning, int **ranks_subcomm)
Reduce MPI communicator to non-empty ranks and add a group of ranks that will remain in the reduced c...
void p6est_comm_parallel_env_replace(p6est_t *p6est, sc_MPI_Comm mpicomm)
Replace the current MPI communicator by the one provided as input.
void p6est_comm_parallel_env_release(p6est_t *p6est)
Release MPI communicator if it is owned by p6est.
void p6est_comm_parallel_env_get_info(p6est_t *p6est)
Retrieve parallel environment information.
int p6est_comm_parallel_env_is_null(p6est_t *p6est)
Check if the MPI communicator is valid.
void p6est_comm_parallel_env_assign(p6est_t *p6est, sc_MPI_Comm mpicomm)
Assign an MPI communicator to p6est; retrieve parallel environment.
void p6est_comm_parallel_env_duplicate(p6est_t *p6est)
Duplicate MPI communicator and replace the current one by the duplicate.
int p6est_comm_parallel_env_reduce(p6est_t **p6est_supercomm)
Reduce MPI communicator to non-empty ranks (i.e., nonzero quadrant counts).
The p6est forest datatype.
Definition: p6est.h:165