SCOTCH_compute_partition

dolfin.cpp.mesh.SCOTCH_compute_partition(mpi_comm, cell_partition, ghost_procs, mesh_data)

Compute cell partition from local mesh data. The vector cell_partition contains the desired destination process numbers for each cell. Cells shared on multiple processes have an entry in ghost_procs pointing to the set of sharing process numbers.