On 11/5/19 3:55 AM, [email protected] wrote:
> 
> Thanks for your kind suggestions. If I set the top fraction to 1.0 and the 
> bottom fraction 0.0, my grid is almost uniformly coarsed by one level (a few 
> cells are even coarsed by two levels). This is the case when I use a fine 
> grid 
> (8 cells per periodicity) before the refinement. If much coarser initial grid 
> is used instead, it works fine. Maybe the grid refinement scheme is not 
> applied for my case. Right?

I really can't tell without the code, but I do know that essentially every 
deal.II-based code uses these functions and it seems to work for everyone else 
-- in other words, it seems unlikely that the functions you mention are 
fundamentally flawed. In any case, each call to 
triangulation.execute_coarsening_and_refinement() only refines by one level, 
so when you say "a few cells are even coarsened by two levels" makes me think 
that something is not quite the way you describe it: Maybe you only look at 
the mesh you get after *several* refinement/coarsening cycles instead of one?

Best
  WB

-- 
------------------------------------------------------------------------
Wolfgang Bangerth          email:                 [email protected]
                            www: http://www.math.colostate.edu/~bangerth/

-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/31d6aef0-8675-822c-7ecd-2c027694d9c9%40colostate.edu.

Reply via email to