[Dune] gridfactory for rank > 0

Dedner, Andreas A.S.Dedner at warwick.ac.uk
Thu Aug 16 19:31:39 CEST 2012


Hi.

What is the expected behaviour for a GridFactory created on a process with rank>0?
1) You are not allowed to call things like insertVertex (ALU throws an exception)
2) insertVertex can be called but createGrid still returns an empty grid

In the docu for UG we have
   If you're working on a parallel machine, and you want to set up a
   parallel grid, proceed as described only on the rank-0 process.
   Call <tt>loadBalance()</tt> to actually distribute the grid
so the ALU behaviour seems the correct one?

The problem is with the GmshReader which seems to ignore the rank and call insertVertex on all
processors,  causing ALU to throw an exception (at least it did that for me in the gmshtest).

Best
Andreas


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.dune-project.org/pipermail/dune/attachments/20120816/477428ad/attachment.htm>


More information about the Dune mailing list