version 0.6.0
mod_mpi_repartitioning Module Reference

Manage the partitioning of the domain. More...

Functions/Subroutines

subroutine, public repartitioning ()
 
subroutine create_partitions (n_mpi_proc_x, n_mpi_proc_y, n_mpi_proc_z, n_partitions, indices_partitions, n_partitioning, n_partitions_x, n_process_x_y_z, is_cycle)
 
subroutine remove_outside_partitions (n_partitions, list_indices_g, n_points, indices_partitions, label_partitions, i_min_intersection, i_max_intersection, j_min_intersection, j_max_intersection, k_min_intersection, k_max_intersection, n_maintained_partitions, n_partitioning, id_partitioning, is_initial_step_repartitioning)
 
subroutine slide_partitions (n_mpi_proc_x, n_mpi_proc_y, n_mpi_proc_z, indices_partitions, label_partitions, i_min_intersection, i_max_intersection, j_min_intersection, j_max_intersection, k_min_intersection, k_max_intersection, n_maintained_partitions, disp_indices_partitions, new_n_maintained_partitions)
 
integer function compute_global_boundary_size_process (indices_partitions, n_partitions)
 
pure subroutine allocate_index (list)
 

Variables

integer, dimension(:,:), allocatable, public disp_indices_partitions
 

Detailed Description

This routine achieves a new partitioning of the grid where most of unused cells are discarded for the linear resolution

Coordinates of each process are set again, as well as neighbor process numbers in the new partitioning.

Finally, the routine computes for each process the number of processes to exchange.