Difference between revisions of "Optimize"

From TurboGAP
Jump to navigation Jump to search
m
m
Line 23: Line 23:
 
=== Example ===
 
=== Example ===
  
  [[optimize]] = "gd"
+
  [[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
 
  [[max_opt_step]] = 0.1 ! Angstrom
 
  [[max_opt_step]] = 0.1 ! Angstrom

Revision as of 07:52, 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
max_opt_step = 0.1 ! Angstrom