bug fix for enumerating Urey-Bradley bonds
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@ -14,14 +14,15 @@ improper_style amoeba
|
|||||||
# per-atom properties required by AMOEBA or HIPPO
|
# per-atom properties required by AMOEBA or HIPPO
|
||||||
|
|
||||||
fix amtype all property/atom i_amtype ghost yes
|
fix amtype all property/atom i_amtype ghost yes
|
||||||
fix pitorsion all pitorsion
|
#fix pitorsion all pitorsion
|
||||||
|
|
||||||
fix extra all property/atom &
|
fix extra all property/atom &
|
||||||
i_amgroup i_ired i_xaxis i_yaxis i_zaxis d_pval ghost yes
|
i_amgroup i_ired i_xaxis i_yaxis i_zaxis d_pval ghost yes
|
||||||
fix extra2 all property/atom i_polaxe
|
fix extra2 all property/atom i_polaxe
|
||||||
|
|
||||||
read_data data.ubiquitin fix amtype NULL "Tinker Types" &
|
read_data data.ubiquitin fix amtype NULL "Tinker Types"
|
||||||
fix pitorsion pitorsions PiTorsions
|
#read_data data.ubiquitin fix amtype NULL "Tinker Types" &
|
||||||
|
# fix pitorsion pitorsions PiTorsions
|
||||||
|
|
||||||
pair_style amoeba
|
pair_style amoeba
|
||||||
pair_coeff * * amoeba_ubiquitin.prm amoeba_ubiquitin.key
|
pair_coeff * * amoeba_ubiquitin.prm amoeba_ubiquitin.key
|
||||||
|
|||||||
@ -782,10 +782,10 @@ for atom1,atom2,atom3 in ublist:
|
|||||||
|
|
||||||
if (c1,c2,c3) in ubdict:
|
if (c1,c2,c3) in ubdict:
|
||||||
m,params = ubdict[(c1,c2,c3)]
|
m,params = ubdict[(c1,c2,c3)]
|
||||||
blist.append((c1,c3))
|
blist.append((atom1,atom3))
|
||||||
elif (c3,c2,c1) in ubdict:
|
elif (c3,c2,c1) in ubdict:
|
||||||
m,params = ubdict[(c3,c2,c1)]
|
m,params = ubdict[(c3,c2,c1)]
|
||||||
blist.append((c3,c1))
|
blist.append((atom3,atom1))
|
||||||
|
|
||||||
if not flags[m]:
|
if not flags[m]:
|
||||||
v1,v2,v3,v4 = params[3:]
|
v1,v2,v3,v4 = params[3:]
|
||||||
|
|||||||
Reference in New Issue
Block a user