Commit f9c263cd authored by Giovanni La Mura's avatar Giovanni La Mura
Browse files

Add comment rows to mark nested loop boundaries in random_aggregate()

parent 1b502270
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -715,6 +715,8 @@ def random_aggregate(scatterer, geometry, seed, max_rad, max_attempts=100):
            placed_spheres += 1
            vec_types.append(sph_type_index + 1)
            attempts = 0
        # end while loop
    # end for i loop
    scatterer['vec_types'] = vec_types
    sph_index = 0
    for sphere in sorted(vec_spheres, key=lambda item: item['itype']):