-
Tristan Bereau authoredTristan Bereau authored
constants.py 3.34 KiB
#!/usr/bin/env python
#
# List of global parameters and constants.
#
# Tristan Bereau (2015)
# Atomic units to kcal/mol
au2kcalmol = 627.5095
# angstrom to bohr
a2b = 1.8897268
# Bohr to Angstrom
b2a = 0.529177
# Multipole conversion: Hartree and bohr to kcal/mol (332.064)
hbohr2kcalmol = 332.063595
# Some mathematical constants
sqrt_3 = 1.732050808
# Degrees to radian
deg2rad = 0.017453292519943295
# au to debye
au2debye = 2.541746231
debye2au = 0.393430307
atomic_number = {
'H' : 1,
'C' : 6,
'N' : 7,
'O' : 8,
'F' : 9,
'P' :15,
'S' :16,
'Cl' :17,
'Br' :35,
'I' :53,
}
Z_val = {
'H' : 1,
'C' : 4,
'N' : 5,
'O' : 6,
'F' : 7,
'P' : 5,
'S' : 6,
'Cl': 7,
'Br': 7,
'I' : 7,
}
atom_row = {
'H' : 0,
'C' : 1,
'N' : 1,
'O' : 1,
'F' : 1,
'P' : 2,
'S' : 2,
'Cl': 2,
'Br': 3,
'I' : 4,
}
pol_free = {
'H' : 4.50,
'He': 1.38,
'C' : 12.00,
'N' : 7.40,
'O' : 5.40,
'F' : 3.80,
'Ne': 2.67,
'Si': 37.00,
'P' : 25.00,
'S' : 19.60,
'Cl': 15.00,
'Ar': 11.10,
'Br': 20.00,
'Kr': 16.80,
'I' : 35.00,
}
csix_free = {
'H' : 6.50,
'He': 1.46,
'C' : 46.60,
'N' : 24.20,
'O' : 15.60,
'F' : 9.52,
'Ne': 6.38,
'Si': 305.0,
'P' : 185.0,
'S' : 134.0,
'Cl': 94.60,
'Ar': 64.30,
'Br': 162.0,
'Kr': 130.0,
'I' : 385.0,
}
rad_free = {
'H' : 3.10,
'He': 2.65,
'C' : 3.59,
'N' : 3.34,
'O' : 3.19,
'F' : 3.04,
'Ne': 2.91,
'Si': 4.20,
'P' : 4.01,
'S' : 3.86,
'Cl': 3.71,
'Ar': 3.55,
'Br': 3.93,
'Kr': 3.82,
'I' : 4.39,
}
atomic_weight = {
'H' : 1.008,
'C' : 12.01,
'N' : 14.01,
'O' : 16.00,
'F' : 19.00,
'P' : 31.00,
'S' : 32.06,
'Cl' : 35.45,
'Br' : 79.90,
'I' : 126.90,
}
# Covalent radii
cov_rad = {
'H' : 0.31,
'C' : 0.70,
'N' : 0.71,
'O' : 0.66,
'F' : 0.57,
'P' : 1.07,
'S' : 1.05,
'Cl': 1.02,
'Br': 1.20,
'I' : 1.39,
}
# Hbond interaction: Strength k_hbnd (according to Grimme)
k_hbnd = {
'N' : 0.8,
'O' : 0.3,
'F' : 0.1,
'P' : 2.0,
'S' : 2.0,
'Cl': 2.0,
'Br': 2.0,
'I' : 2.0,
}
# Map multipole coefficient to index
map_mtp_coeff = {
'Q10' : 2,
'Q11c' : 0,
'Q11s' : 1,
'Q20' : 0,
'Q21c' : 1,
'Q21s' : 2,
'Q22c' : 3,
'Q22s' : 4,
}
# Atoms for bag of bonds (correctly ordered)
bob_atoms = ['C','H','O','S','N','Br','Cl','F','I','P']
# Charge penetration
# Follows Wang et al. JCTC (2015) DOI: 10.1021/acs.jctc.5b00267
# effective core charge
cp_Z = {
'H' : 1,
'C' : 4,
'N' : 5,
'O' : 6,
'F' : 7,
'P' : 5,
'S' : 6,
'Cl' : 7,
'Br' : 7,
}
# valence-alpha set [Ang^-1]
cp_alpha = {
'H' : 2.0,
'C' : 4.0,
'N' : 5.0,
'O' : 6.0,
'F' : 7.0,
'P' : 5.0,
'S' : 6.0,
'Cl' : 7.0,
'Br' : 7.0,
}
# Free-atom valence widths [Bohr^-1]
val_width_free = {
'H': 0.5094,
'C': 0.5242,
'N': 0.4415,
'O': 0.3882,
}
# Free-atom valence charges
val_charge_free = {
'H': -1.00000061,
'C': -4.31910903,
'N': -5.35306426,
'O': -6.36289409,
}
ml_metric = {
'gaussian': 'euclidean',
'laplacian': 'cityblock'
}
ml_prefactor = {
'gaussian': 2.0,
'laplacian': 1.0
}
ml_power = {
'gaussian': 2,
'laplacian': 1
}
ml_chg_correct_error = {
'H': 1.,
'C': 2.,
'N': 1.5,
'O': 1.2,
}