On 2/14/25 00:07, Junxiang Wang wrote:

Will the distribution process change the data? or there is anything I need to take care of ?

The code also includes solution data interpolation and history data transfer to the new refined mesh.

My general strategy for cases such as your is to make the program as simple as possible. Save the current state of the program somewhere (ideally in a version control system). Then throw out everything that is not necessary to demonstrate the problem. I imagine that you don't need the solution data interpolation and history data transfer, for example. Pretty much every problem of this sort I've ever run into could be demonstrated with a 200-line code, and often substantially less.


If you could further give me any advice to tackle this issue, I deeply appreciate it.

I don't really have any further suggestions on how to debug this, other than stating that we have been using adaptive mesh refinement in parallel for ~15 years now and do not observe these sorts of issues. I am pretty sure that you can find similar cases to yours when you run step-40, for example.

The only thing I could suggest is to show us how you initialize the AffineConstraints object. It needs to know both the locally owned and the locally relevant DoFs -- you may want to take a look at step-40 as an example.

Best
 W.

--
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.
To view this discussion visit 
https://groups.google.com/d/msgid/dealii/c194537a-0b46-49c0-991d-889766eec0c8%40colostate.edu.

Reply via email to