Dear Shahab,
No, if you change a property of a particle on proc 0 and this particle is a 
ghost cell on proc 0, this property will not change on proc 1 (which would 
be its owner).
You would need to change the property on proc 1 and then I think the update 
on proc 0 will only be done when you call the exchange_ghost_particles 
function of the ParticleHandler class


On Sunday, 5 July 2020 23:58:16 UTC-4, Shahab Golshan wrote:
>
> Hello,
> I have a few questions on the parallelization aspects of a system 
> containing particles and I would appreciate it if someone could answer them.
> The first one is: Let's say I'm using 2 CPUs for a simulation. If I change 
> a property of a ghost particle (located in a ghost cell for CPU0), will the 
> property of the real particle on the other CPU change?
> Thanks in advance
> Shahab
>

-- 
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 on the web visit 
https://groups.google.com/d/msgid/dealii/ae17f8ab-560a-45b4-9fcc-0a1e5c0a0467o%40googlegroups.com.

Reply via email to