Perfect! Thank you!

On Monday, 19 February 2018 13:37:38 UTC+1, Luca Heltai wrote:
>
> After you have created your coarse mesh, you could 
> GridTools::flatten_triangulation it. This will create a brand new coarse 
> triangulation, containing only all your active cells. 
>
> L. 
>
> > On 19 Feb 2018, at 13:35, Lucas Campos <rmk...@gmail.com <javascript:>> 
> wrote: 
> > 
> > Dear all, 
> > 
> > I am creating a mesh using GridGenerator::hyper_shell. In this mesh, I 
> want to divide the mesh into 
> > two distinct subdomains, radially. In order to do that, I need to refine 
> the mesh at least once. Each 
> > of these cells carries an internal state that depends on its kind. 
> > 
> > The issue I have is that, while improbable, in theory it is possible for 
> > GridRefinement::refine_and_coarsen_fixed_number to merge these cells 
> back, which 
> > would be a mistake. Is there a way either configure the triangulation to 
> consider the once refined 
> > state the coarsest possible? 
> > 
> > The other solution I see is to "manually" input the once-refined mesh 
> and then use 
> > create_triangulation, but that sounds cumbersome and error-prone. 
> > 
> > Bests, 
> > Lucas Campos 
> > 
> > -- 
> > 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 dealii+un...@googlegroups.com <javascript:>. 
> > 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 dealii+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to