![]() |
ForceBalance API
1.3
Automated optimization of force fields and empirical potentials
|
Subclass of Target for general least squares fitting. More...
Public Member Functions | |
| def | __init__ (self, options, tgt_opts, forcefield) |
| def | indicate (self) |
| def | get (self, mvals, AGrad=False, AHess=False) |
| LPW 05-30-2012. More... | |
Public Attributes | |
| MAQ | |
| Dictionary for derivative terms. More... | |
| D | |
| objective | |
Subclass of Target for general least squares fitting.
Definition at line 36 of file leastsq.py.
| def src.leastsq.LeastSquares.__init__ | ( | self, | |
| options, | |||
| tgt_opts, | |||
| forcefield | |||
| ) |
Definition at line 39 of file leastsq.py.
| def src.leastsq.LeastSquares.get | ( | self, | |
| mvals, | |||
AGrad = False, |
|||
AHess = False |
|||
| ) |
LPW 05-30-2012.
This subroutine builds the objective function (and optionally its derivatives) from a general software.
This subroutine interfaces with simulation software 'drivers'. The driver is expected to give exact values, fitting values, and weights.
| [in] | mvals | Mathematical parameter values |
| [in] | AGrad | Switch to turn on analytic gradient |
| [in] | AHess | Switch to turn on analytic Hessian |
Definition at line 63 of file leastsq.py.
| def src.leastsq.LeastSquares.indicate | ( | self | ) |
Definition at line 42 of file leastsq.py.
| src.leastsq.LeastSquares.D |
Definition at line 127 of file leastsq.py.
| src.leastsq.LeastSquares.MAQ |
Dictionary for derivative terms.
Definition at line 89 of file leastsq.py.
| src.leastsq.LeastSquares.objective |
Definition at line 128 of file leastsq.py.
1.8.13