Révision 39df9c43
b/modules/screening.py | ||
---|---|---|
923 | 923 |
sites = inp_vars['sites'] |
924 | 924 |
angles = inp_vars['set_angles'] |
925 | 925 |
num_pts = inp_vars['sample_points_per_angle'] |
926 |
norm_vect = inp_vars['surf_norm_vect'] |
|
926 |
inp_norm_vect = inp_vars['surf_norm_vect']
|
|
927 | 927 |
min_coll_height = inp_vars['min_coll_height'] |
928 | 928 |
coll_coeff = inp_vars['collision_threshold'] |
929 | 929 |
h_donor = inp_vars['h_donor'] |
... | ... | |
951 | 951 |
else: |
952 | 952 |
molec_nghbs = 0 |
953 | 953 |
for s, site in enumerate(sites_coords): |
954 |
if norm_vect == 'auto': |
|
954 |
if inp_norm_vect == 'auto':
|
|
955 | 955 |
norm_vect = compute_norm_vect(surf, sites[s], |
956 | 956 |
inp_vars['pbc_cell']) |
957 |
else: |
|
958 |
norm_vect = inp_norm_vect |
|
957 | 959 |
for c, ctr in enumerate(molec_ctr_coords): |
958 | 960 |
if angles == 'euler': |
959 | 961 |
surf_ads_list.extend(ads_euler(conf, surf, ctr, site, |
Formats disponibles : Unified diff