Gets indices of all particles in the tree
List<int> getAllParticleIndices() { return _root.getAllParticles().map((p) => p.index).toList(); }