2006-09-22 00:22:34 +08:00
|
|
|
"LAMMPS WWW Page"_lws - "LAMMPS Documentation"_ld - "LAMMPS Commands"_lc :c
|
|
|
|
|
|
|
|
:link(lws,http://lammps.sandia.gov)
|
|
|
|
:link(ld,Manual.html)
|
|
|
|
:link(lc,Chapter_commands.html#comm)
|
|
|
|
:line
|
|
|
|
|
|
|
|
min_style command :h3
|
|
|
|
|
|
|
|
[Syntax:]
|
|
|
|
|
|
|
|
min_style style :pre
|
|
|
|
|
2008-04-15 05:37:10 +08:00
|
|
|
style = {cg} or {sd} :ul
|
2006-09-22 00:22:34 +08:00
|
|
|
|
|
|
|
[Examples:]
|
|
|
|
|
|
|
|
min_style cg
|
|
|
|
min_style sd :pre
|
|
|
|
|
|
|
|
[Description:]
|
|
|
|
|
|
|
|
Choose a minimization algorithm to use when a "minimize"_minimize.html
|
|
|
|
command is performed.
|
|
|
|
|
2008-04-15 05:37:10 +08:00
|
|
|
Style {cg} is the Polak-Ribiere version of the conjugate gradient (CG)
|
|
|
|
algorithm. At each iteration the force gradient is combined with the
|
|
|
|
previous iteration information to compute a new search direction
|
|
|
|
perpendicular (conjugate) to the previous search direction. The PR
|
2006-09-22 00:22:34 +08:00
|
|
|
variant affects how the direction is chosen and how the CG method is
|
|
|
|
restarted when it ceases to make progress. The PR variant is thought
|
|
|
|
to be the most effective CG choice.
|
|
|
|
|
|
|
|
Style {sd} is a steepest descent algorithm. At each iteration, the
|
2008-04-15 05:37:10 +08:00
|
|
|
search direction is set to the downhill direction corresponding to the
|
|
|
|
force vector (negative gradient of energy). Typically, steepest
|
|
|
|
descent will not converge as quickly as CG, but may be more robust in
|
|
|
|
some situations.
|
2006-09-22 00:22:34 +08:00
|
|
|
|
|
|
|
[Restrictions:] none
|
|
|
|
|
|
|
|
[Related commands:]
|
|
|
|
|
|
|
|
"min_modify"_min_modify.html, "minimize"_minimize.html
|
|
|
|
|
|
|
|
[Default:]
|
|
|
|
|
|
|
|
min_style cg :pre
|