Package ffx.potential
Class FiniteDifferenceUtils
java.lang.Object
ffx.potential.FiniteDifferenceUtils
FiniteDifference
- Version:
- 1.0
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic double
computedEdL
(Potential potential, LambdaInterface lambdaInterface, ForceField forceField) Compute dE/dL using finite differences.
-
Constructor Details
-
FiniteDifferenceUtils
public FiniteDifferenceUtils()
-
-
Method Details
-
computedEdL
public static double computedEdL(Potential potential, LambdaInterface lambdaInterface, ForceField forceField) Compute dE/dL using finite differences.- Parameters:
potential
- The potential to compute the energy of.lambdaInterface
- The lambda interface to use.forceField
- The force field to use.- Returns:
- The computed dE/dL.
-