3711
3711
# Extract hierarchy and particles corresponding to the
3712
3712
# different hierarchy levels from the model
3713
3713
particles, hierarchy = model.get_particles_hierarchy()
3715
3714
# Find legs corresponding to the different orders
3716
3715
# making sure we look at lowest hierarchy first for each leg
3718
3717
new_legs = copy.copy(self.get('legs'))
3719
3719
for parts, value in zip(particles, hierarchy):
3721
3721
while ileg < len(new_legs):