2017-09-18 10:32 GMT-04:00 Lucas Campos <rmk...@gmail.com>:

> Also, here is the new program, with the added if and
> prepare_coarsening_and_refinement(). You will find the interesting part
> between lines 85 and 104.
>
> You want to use prepare_coarsening_and_refinement after you have set the
flags not before.

On Monday, 18 September 2017 16:29:09 UTC+2, Lucas Campos wrote:
>>
>> Dear Bruno,
>>
>> You will find attached the resulting grids. While I originally expected
>> to find new divisions only along the x-direction, your previous answer
>> tells me it actually cuts in some local coordinate (whatever that might
>> be). In this case, what is the best way to refine the cylinder in a single
>> direction? I tried adding an if(cell->boundary_id() == 0) before setting
>> the flag, but it did not really help. The mesh is still being refined in
>> all directions.
>>
> Have you looked at step-30?

Best,

Bruno

-- 
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