Adaptivity
GridapDistributed.RedistributeGlue
— TypeRedistributeGlue
Glue linking two distributions of the same mesh.
new_parts
: Array with the new part IDs (and comms)old_parts
: Array with the old part IDs (and comms)parts_rcv
: Array with the part IDs from which each part receivesparts_snd
: Array with the part IDs to which each part sendslids_rcv
: Local IDs of the entries that are received from each partlids_snd
: Local IDs of the entries that are sent to each partold2new
: Mapping of local IDs from the old to the new meshnew2old
: Mapping of local IDs from the new to the old mesh
GridapDistributed.redistribute
— MethodRedistributes an DistributedDiscreteModel to optimally rebalance the loads between the processors. Returns the rebalanced model and a RedistributeGlue instance.