[Dune] Global refine longest edge
Asbjørn Nilsen Riseth
anriseth at gmail.com
Mon Mar 3 19:23:24 CET 2014
Hi Marco,
have you tried to call Dune::GridFactory< AlbertaGrid<dim, dimworld>
>::markLongestEdge() ?
In .dgf files, this can be done by inserting
#
GridParameter
refinementedge longest
#
Asbjørn
On 3 March 2014 18:16, Agnese, Marco <m.agnese13 at imperial.ac.uk> wrote:
> 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.
> _______________________________________________
> Dune mailing list
> Dune at dune-project.org
> http://lists.dune-project.org/mailman/listinfo/dune
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.dune-project.org/pipermail/dune/attachments/20140303/713dca55/attachment.htm>
More information about the Dune
mailing list