Package ffx.algorithms.optimize
Class CrystalMinimize
java.lang.Object
ffx.algorithms.optimize.Minimize
ffx.algorithms.optimize.CrystalMinimize
- All Implemented Interfaces:
Terminatable
,OptimizationListener
Minimize the energy of a system to an RMS gradient per atom convergence criteria.
- Since:
- 1.0
- Author:
- Michael J. Schnieders
-
Nested Class Summary
Nested classes/interfaces inherited from class ffx.algorithms.optimize.Minimize
Minimize.MinimizationEngine
-
Field Summary
Fields inherited from class ffx.algorithms.optimize.Minimize
algorithmListener, DEFAULT_LBFGS_VECTORS, done, energy, grad, molecularAssembly, n, nSteps, potential, scaling, status, terminate, time, x
-
Constructor Summary
ConstructorDescriptionCrystalMinimize
(MolecularAssembly molecularAssembly, XtalEnergy xtalEnergy, AlgorithmListener algorithmListener) Constructor for CrystalMinimize. -
Method Summary
Modifier and TypeMethodDescriptionvoid
computeElasticityTensor
(boolean verbose) computeStressTensor.minimize
(int m, double eps, int maxIterations) minimizevoid
Print out the partial derivatives of the Energy with respect to components of the 3 vectors that define the primitive cell.Methods inherited from class ffx.algorithms.optimize.Minimize
defaultEngine, getEnergy, getIterations, getRMSGradient, getStatus, minimize, minimize, minimize, minimizeFactory, optimizationUpdate, terminate
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface ffx.numerics.optimization.OptimizationListener
optimizationUpdate
Methods inherited from interface ffx.algorithms.Terminatable
terminate
-
Constructor Details
-
CrystalMinimize
public CrystalMinimize(MolecularAssembly molecularAssembly, XtalEnergy xtalEnergy, AlgorithmListener algorithmListener) Constructor for CrystalMinimize.- Parameters:
molecularAssembly
- aMolecularAssembly
object.xtalEnergy
- aXtalEnergy
object.algorithmListener
- aAlgorithmListener
object.
-
-
Method Details
-
computeElasticityTensor
public void computeElasticityTensor(boolean verbose) computeStressTensor.- Parameters:
verbose
- a boolean.
-
minimize
minimize -
printTensor
public void printTensor()Print out the partial derivatives of the Energy with respect to components of the 3 vectors that define the primitive cell.
-