Difference between revisions of "Optimize"

From TurboGAP
Jump to navigation Jump to search
m
m
Line 25: Line 25:
 
  [[optimize]] = "gd" ! Do gradient descent minimization in this case
 
  [[optimize]] = "gd" ! Do gradient descent minimization in this case
 
  [[e_tol]] = 1.e-6 ! Energy threshold for convergence
 
  [[e_tol]] = 1.e-6 ! Energy threshold for convergence
  [[md_nsteps]] = 1000 ! Maximum number of iterations (it will break
+
  [[md_nsteps]] = 1000 ! Maximum number of iterations (it will break earlier if convergence to e_tol is reached)
 
  [[max_opt_step]] = 0.1 ! Angstrom
 
  [[max_opt_step]] = 0.1 ! Angstrom

Revision as of 07:54, 1 November 2021

optimize selects the method for propagating the atomic positions. Currently, the accepted options are:

  1. "vv" for Velocity Verlet molecular dynamics (this is the default if you don't choose anything)
  2. "gd" for gradient descent energy minimization

Summary

Summary for optimize keyword
Required/optional Type Accepted values Default See also
Optional String "vv" or "gd" "gd" max_opt_step

Example

optimize = "gd" ! Do gradient descent minimization in this case
e_tol = 1.e-6 ! Energy threshold for convergence
md_nsteps = 1000 ! Maximum number of iterations (it will break earlier if convergence to e_tol is reached)
max_opt_step = 0.1 ! Angstrom