ForceBalance API
1.3
Automated optimization of force fields and empirical potentials
|
Functions | |
def | LookupByMass (mass) |
def | BondStrengthByLength (A, B, length, artol=0.33, bias=0.0) |
Variables | |
BondEnergies = defaultdict(lambda:defaultdict(dict)) | |
list | Radii |
Covalent radii from Cordero et al. More... | |
PeriodicTable | |
list | Elements |
list | BondChars = ['-','=','3'] |
string | data_from_web |
line = line.expandtabs() | |
BE = float(line.split()[1]) | |
float | L = float(line.split()[2]) * 0.01 |
atoms = re.split('[-=3]', line.split()[0]) | |
A = atoms[0] | |
B = atoms[1] | |
list | bo = BondChars.index(re.findall('[-=3]', line.split()[0])[0]) + 1 |
def src.chemistry.BondStrengthByLength | ( | A, | |
B, | |||
length, | |||
artol = 0.33 , |
|||
bias = 0.0 |
|||
) |
Definition at line 169 of file chemistry.py.
def src.chemistry.LookupByMass | ( | mass | ) |
Definition at line 160 of file chemistry.py.
src.chemistry.A = atoms[0] |
Definition at line 154 of file chemistry.py.
src.chemistry.atoms = re.split('[-=3]', line.split()[0]) |
Definition at line 153 of file chemistry.py.
src.chemistry.B = atoms[1] |
Definition at line 155 of file chemistry.py.
src.chemistry.BE = float(line.split()[1]) |
Definition at line 151 of file chemistry.py.
list src.chemistry.bo = BondChars.index(re.findall('[-=3]', line.split()[0])[0]) + 1 |
Definition at line 156 of file chemistry.py.
list src.chemistry.BondChars = ['-','=','3'] |
Definition at line 51 of file chemistry.py.
src.chemistry.BondEnergies = defaultdict(lambda:defaultdict(dict)) |
Definition at line 8 of file chemistry.py.
string src.chemistry.data_from_web |
Definition at line 56 of file chemistry.py.
list src.chemistry.Elements |
Definition at line 42 of file chemistry.py.
float src.chemistry.L = float(line.split()[2]) * 0.01 |
Definition at line 152 of file chemistry.py.
src.chemistry.line = line.expandtabs() |
Definition at line 150 of file chemistry.py.
src.chemistry.PeriodicTable |
Definition at line 27 of file chemistry.py.
list src.chemistry.Radii |
Covalent radii from Cordero et al.
'Covalent radii revisited' Dalton Transactions 2008, 2832-2838. Sodium replaced 1.66 -> 1.0. I think ionic radii are more appropriate.
Definition at line 12 of file chemistry.py.