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, energyList, grad, molecularAssembly, n, nSteps, potential, scaling, status, terminate, time, x -
Constructor Summary
ConstructorsConstructorDescriptionCrystalMinimize(MolecularAssembly molecularAssembly, XtalEnergy xtalEnergy, AlgorithmListener algorithmListener) Constructor for CrystalMinimize. -
Method Summary
Modifier and TypeMethodDescriptionvoidcomputeElasticityTensor(boolean verbose) computeStressTensor.minimize(int m, double eps, int maxIterations) minimizevoidPrint 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, getEnergyList, getIterations, getRMSGradient, getStatus, minimize, minimize, minimize, minimizeFactory, optimizationUpdate, terminate, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface ffx.numerics.optimization.OptimizationListener
optimizationUpdateMethods inherited from interface ffx.algorithms.Terminatable
terminate
-
Constructor Details
-
CrystalMinimize
public CrystalMinimize(MolecularAssembly molecularAssembly, XtalEnergy xtalEnergy, AlgorithmListener algorithmListener) Constructor for CrystalMinimize.- Parameters:
molecularAssembly- aMolecularAssemblyobject.xtalEnergy- aXtalEnergyobject.algorithmListener- aAlgorithmListenerobject.
-
-
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.
-