Dear Hamed,

However, I think it is not the producing of the final refined mesh that 
> hangs the code but the add_periodicity when repetition parameter is 
> relatively large(100 for instance). Since, it has been mentioned in the 
> documentation that refinement of the course mesh should be applied after 
> adding periodicity, I think the problem is that using repetition in 
> subdivided_hyper_rectangle, I am refining the course mesh before 
> add_periodicity.   
>  
>
>> Can you confirm that the code I've attached reaches the end, i.e. that 
>> you see this result:
>>
>> $ mpirun -np 2 ./distib_tria_periodicity
>>> Adding periodicity...  done.
>>> Refinement iteration: 1
>>> Refinement iteration: 2
>>> Refinement iteration: 3
>>> Finished.
>>
>>  
> The code reaches the end for small repetition parameter and hangs for 
> large ones.
>
For me your code needs like 4s for 30 iterations and 50s for 100 iterations.
In debug mode the code runs in 170s for 30 iterations.
Have you tried both debug and release mode?

Best,
Daniel

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