[Dune] Global refine longest edge

Agnese, Marco m.agnese13 at imperial.ac.uk
Mon Mar 3 19:16:48 CET 2014


Hello DUNEers,
when I have a 2D grid created manually with the grid factory, how can I set to refine by splitting the longest edge? 
If the grid manager is ALUGrid everything works fine (I suppose that ALUGrid automatically performs some check to choose the longest edge ) but if the grid manager is ALBERTA the splitting is "random" (the edge to split is chosen accordingly to the insertion order of the vertices in the connectivity vector pass to the grid factory).
Thank you very much,
best regards,
Marco Agnese.


More information about the Dune mailing list