Hi Daniel, It works, thanks for your help and code contribution! For learning, I have one more question about `smoothing_on_refinement`. Since the MeshSmoothing <https://www.dealii.org/8.4.0/doxygen/deal.II/group__grid.html#ga0633dd17e535a59162b79f338c6ff5ae> document says it sums up all smoothing algorithms, actually I did not do some mesh smoothing algorithm before it. I try to understand it in this way: there are two neighbor meshes share one vertex, and I need one mesh have much higher refinement level than other one to achieve the minimal cell diameter I set, but the `smoothing_on_refinement` prevents having a big level difference between them. Is that correct?
Best, Qing On Sun, Mar 25, 2018 at 1:13 AM, Daniel Arndt < [email protected]> wrote: > Qing, > > MeshSmoothingyou are using Triangulation<dim>:: > MeshSmoothing(Triangulation<dim>::smoothing_on_refinement) which might > result in no cells being refined at all. > This is why you get an inifinite loop. Removing the mesh smoothing should > avoid this issue. > Another problem might be that GridTools::minimal_cell_diameter so far > considered all cells (including artificial ones). This is fixed in PR #6100 > (https://github.com/dealii/dealii/pull/6100). > > Best, > Daniel > > -- > The deal.II project is located at http://www.dealii.org/ > For mailing list/forum options, see https://groups.google.com/d/ > forum/dealii?hl=en > --- > You received this message because you are subscribed to a topic in the > Google Groups "deal.II User Group" group. > To unsubscribe from this topic, visit https://groups.google.com/d/ > topic/dealii/MvOII6BGUTw/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- The deal.II project is located at http://www.dealii.org/ For mailing list/forum options, see https://groups.google.com/d/forum/dealii?hl=en --- You received this message because you are subscribed to the Google Groups "deal.II User Group" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
