make Force::special_lj and Force::special_coul accessible through the library interface

This commit is contained in:
Axel Kohlmeyer
2023-03-15 18:39:32 -04:00
parent 88c8781396
commit fa9062a87e
4 changed files with 41 additions and 1 deletions

View File

@ -814,7 +814,8 @@ class lammps(object):
# set length of vector for items that are not a scalar
vec_dict = { 'boxlo':3, 'boxhi':3, 'sublo':3, 'subhi':3,
'sublo_lambda':3, 'subhi_lambda':3, 'periodicity':3 }
'sublo_lambda':3, 'subhi_lambda':3, 'periodicity':3,
'special_lj':4, 'special_coul':4 }
if name in vec_dict:
veclen = vec_dict[name]
elif name == 'respa_dt':