On 6/24/22 00:22, LY XXXiao wrote:

I have already a basic mesh with 120 cells, and I only want to refine one element among them, so I set a refine_flag for this element. But the refinement does not happen ?? Is there anything else that I missed? I learned step 1 and step 6 for meshing problem.


When you call the constructor of Triangulation, you provide "refinement flags" that determine how refinement should happen. If you only mark one cell, you would create an "island" of refined cells that has five additional degrees of freedom, four of which are hanging nodes. This isn't worth it, and some of the refinement flags will specifically avoid this kind of thing. You will want to choose flags that allow it.

Best
 W.

--
------------------------------------------------------------------------
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/b4779e48-7e15-a8f7-73fb-50d5b6a710d5%40colostate.edu.

Reply via email to