That's a very good question Abbas, I am actually not sure.
If I understand correctly, you made a distributed parallel triangulation, 
then distorted it then you refined it is that it? Or did you distort it 
after refining it?

I'll look at the code you provided and try to identify what's going on :)


On Tuesday, February 25, 2025 at 8:41:29 a.m. UTC-5 abbas.b...@gmail.com 
wrote:

> Hello, 
>
> Taking step 40 and using the GridTools::distort_random function, the mesh 
> seems to look "broken" after a couple of AMRs when running with more than 1 
> mpi process (see attached screenshot ran with mpi 4). Is this normal ? This 
> doesn't look like this is an expected behaviour after looking at the docs.
> The only change I made was to add the GridTools::distort_random function 
> after the  grid generation. (step-40.cc file is attached bellow)  
>
> Using shared::tria doesn't seem to suffer from the same issue but it 
> breaks saying: 
>     "A parallel::shared::Triangulation needs to be refined in the same way
>     on all processors, but the participating processors don't agree on the
>     number of active cells."
>  
> Best,
> Abbas
>

-- 
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/bfff9e21-e7e8-46f6-aeb1-a1cd4c4dcdc1n%40googlegroups.com.

Reply via email to