[Dune] Partitioning and weights in dune-alugrid
Andreas Dedner
a.s.dedner at warwick.ac.uk
Thu Aug 6 20:24:19 CEST 2015
Hi
Have you taken a look at
http://arxiv.org/pdf/1407.6954v2.pdf
for example the explanation in the second half of page 20?
Furthermore dune-alugrid contains an example directory with a few
subdirectories, e.g., loadbalance
which contains example showing how to use the extended interface.
Greetings
Andreas
On 06/08/15 16:25, Alexander Kissinger wrote:
> Dear Dune,
>
> I am running parallel simulations using dumux together with
> dune-alugrid and Metis (METIS_PartGraphRecursive) for partitioning
> (only static load balancing is required).
> I noticed that the shape of the partitions has a strong impact on the
> convergence behavior of my linear solver. Since my problem has
> heterogeneous material parameters and everything works very well for
> the homogeneous case, I thought of passing weights for each element
> (for example permeability distribution) to the partitioning method.
> I had a look in dune-alugrid/dune/alugrid/3d/grid.hh and saw the method:
> bool loadBalance ( LBWeights &weights, CommDataHandleIF<
> DataHandleImpl, Data > &dataHandleIF )
> which seems to fit for that purpose.
>
> My questions are:
>
> - Are there any examples I could look at where weights are passed to
> this method?
> - Do Metis, ParMetis or the internal load balancing methods support
> these user assigned weights?
> - What does the type LBWeights look like, a vector with the size
> numElements?
>
> Thanks!
>
> Best regards
> Alex
>
More information about the Dune
mailing list