Thanks for the reply.
I want to iterate through all the particles in each iteration of my solver 
and update some of the properties. The problem is iterating through 
particles using particle_handler() is rather computationally expensive. I 
am looking for a way to update the properties without iterating through the 
particle_handler.
Best regards,
Shahab

On Thursday, December 3, 2020 at 4:46:33 PM UTC-5 Wolfgang Bangerth wrote:

> On 12/3/20 1:19 PM, [email protected] wrote:
> > Can you please write an example of accessing memory pool handles, 
> iterating 
> > them and converting the handles to particle properties?
>
> The way we think about it is that the MemoryPool stores the data in some 
> way 
> that should not be of any concern to you. You access these properties 
> through 
> the particles they are attached to. As a user you don't have contact with 
> the 
> PropertyPool at all.
>
> At least that was the original idea. Can you explain what you're trying to 
> do?
>
> Best
> W.
>
> -- 
> ------------------------------------------------------------------------
> Wolfgang Bangerth email: [email protected]
> www: http://www.math.colostate.edu/~bangerth/
>
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/55ace764-efa4-45dc-abb1-233a9c5e5b4en%40googlegroups.com.

Reply via email to