18 Oct
2011
18 Oct
'11
8:36 a.m.
Hi,
I solved by creating the dictionary:
> pidx[pname] = pindex
when the particle is added to the container.
Davide
On Oct 18, 2011, at 4:55 PM, Davide Baù wrote:
> Hi, > > I've searched about this but did not find an answer. I'd like to know if it's possible to get a particle (from, e.g., a ListSingletonContainer) using its name instead of its index. > > Thanks, > Davide