ForceBalance API
1.3
Automated optimization of force fields and empirical potentials
|
Public Member Functions | |
def | __init__ (self, engname, temperature, pressure, name=None) |
Enthalpy of vaporization. More... | |
def | extract (self, engines, FF, mvals, h, pgrad, AGrad=True) |
def | __str__ (self) |
def | extract (self, engines, FF, mvals, h, AGrad=True) |
Calculate and extract the quantity from MD results. More... | |
Public Attributes | |
name | |
engname | |
temperature | |
pressure | |
Definition at line 204 of file quantity.py.
def src.quantity.Quantity_H_vap.__init__ | ( | self, | |
engname, | |||
temperature, | |||
pressure, | |||
name = None |
|||
) |
Enthalpy of vaporization.
Definition at line 207 of file quantity.py.
|
inherited |
Definition at line 97 of file quantity.py.
|
inherited |
Calculate and extract the quantity from MD results.
How this is done depends on the quantity and the engine so this must be implemented in the subclass.
engines : list A list of Engine objects that are requred to calculate the quantity. FF : FF Force field object. mvals : list Mathematical parameter values. h : float Finite difference step size. AGrad : Boolean Switch that turns derivatives on or off; if off, return all zeros.
result : (float, float, np.array) The returned tuple is (Q, Qerr, Qgrad), where Q is the calculated quantity, Qerr is the calculated standard deviation of the quantity, and Qgrad is a M-array with the calculated gradients for the quantity, with M being the number of force field parameters that are being fitted.
Definition at line 128 of file quantity.py.
def src.quantity.Quantity_H_vap.extract | ( | self, | |
engines, | |||
FF, | |||
mvals, | |||
h, | |||
pgrad, | |||
AGrad = True |
|||
) |
Definition at line 212 of file quantity.py.
src.quantity.Quantity_H_vap.engname |
Definition at line 232 of file quantity.py.
src.quantity.Quantity_H_vap.name |
Definition at line 210 of file quantity.py.
|
inherited |
Definition at line 95 of file quantity.py.
|
inherited |
Definition at line 94 of file quantity.py.