Re: [deal.II] Clearing a particle properties without getting properties for each particle

2020-10-19 Thread Wolfgang Bangerth
On 10/19/20 9:03 AM, blais...@gmail.com wrote: I am not sur if I fully understand the memory structure of the Property Pool (or at least I am still confused by it). If I understand correctly, the properties of all the particles are stored in a single Handle array and the get_properties of a sing

Re: [deal.II] Clearing a particle properties without getting properties for each particle

2020-10-19 Thread blais...@gmail.com
I am not sur if I fully understand the memory structure of the Property Pool (or at least I am still confused by it). If I understand correctly, the properties of all the particles are stored in a single Handle array and the get_properties of a single particle returns an array view pointing to t

Re: [deal.II] Clearing a particle properties without getting properties for each particle

2020-10-19 Thread Wolfgang Bangerth
On 10/19/20 4:58 AM, blais...@gmail.com wrote: The issue is that this code is being called a lot (in our case every iteration, so 100k to 10M times) and each iteration is very fast (1k iteration is a second or so). Consequently, we've had some severe issue when timing in parallel. If nothing is

Re: [deal.II] Clearing a particle properties without getting properties for each particle

2020-10-19 Thread blais...@gmail.com
The issue is that this code is being called a lot (in our case every iteration, so 100k to 10M times) and each iteration is very fast (1k iteration is a second or so). Consequently, we've had some severe issue when timing in parallel. If nothing is wrong with the code I guess what I am seeing is