Skip to content

Commit

Permalink
rm comment lines
Browse files Browse the repository at this point in the history
  • Loading branch information
YuuuXie authored Jun 18, 2020
1 parent 8411d30 commit 62f98ea
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions flare/mgp/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,26 +125,6 @@ def get_triplets(ctype, etypes, bond_array, cross_bond_inds,
c12 = np.sum(c1*c2)
r12 = np.sqrt(r1**2 + r2**2 - 2*r1*r2*c12)

# triplet1 = array([r1, r2, r12])
# triplet2 = array([r2, r1, r12])
#
# if spc1 <= spc2:
# spcs = [ctype, spc1, spc2]
# else:
# spcs = [ctype, spc2, spc1]
#
# triplet = [triplet1, triplet2]
# coord = [c1, c2]
#
# if spcs not in exist_species:
# exist_species.append(spcs)
# tris += [triplet]
# tri_dir += [coord]
# else:
# k = exist_species.index(spcs)
# tris[k] += triplet
# tri_dir[k] += coord

spcs_list = [[ctype, spc1, spc2], [ctype, spc2, spc1]]
for i in range(2):
spcs = spcs_list[i]
Expand Down

0 comments on commit 62f98ea

Please sign in to comment.