[Dune] Partitioning and weights in dune-alugrid
Alexander Kissinger
alexander.kissinger at iws.uni-stuttgart.de
Thu Aug 6 17:25:06 CEST 2015
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
--
Alexander Kissinger
Institut für Wasser- und Umweltsystemmodellierung
Lehrstuhl für Hydromechanik und Hydrosystemmodellierung
Pfaffenwaldring 61
D-70569 Stuttgart
Telefon: +49 (0) 711 685-64729
E-Mail: alexander.kissinger at iws.uni-stuttgart.de
More information about the Dune
mailing list