Hi HOOMD Users,
I need to change the particle positions in the middle of the simulation. But, it shows an Index Error when I perform,
On printing, I get an Index error.
Following the above issue, I have two queries:-
1. "system.particles[addtaginsim.tag]" --- Are particle positions accessed according to their tags or by index here?
2. If it is accessed by the index, then how can we edit the position of particles depending on their tags? As we know, the particle tags are static, so I need to change the particle positions depending on their tags.
I am new to HOOMD, so facing this minor problem. Kindly guide me in understanding this concept.
Thanks and Regards,