2006-09-22 00:22:34 +08:00
|
|
|
<HTML>
|
|
|
|
<CENTER><A HREF = "http://lammps.sandia.gov">LAMMPS WWW Site</A> - <A HREF = "Manual.html">LAMMPS Documentation</A> - <A HREF = "Section_commands.html#comm">LAMMPS Commands</A>
|
|
|
|
</CENTER>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<HR>
|
|
|
|
|
|
|
|
<H3>min_modify command
|
|
|
|
</H3>
|
|
|
|
<P><B>Syntax:</B>
|
|
|
|
</P>
|
|
|
|
<PRE>min_modify keyword values ...
|
|
|
|
</PRE>
|
|
|
|
<UL><LI>one or more keyword/value pairs may be listed
|
|
|
|
|
2009-02-26 08:18:18 +08:00
|
|
|
<PRE>keyword = <I>dmax</I> or <I>line</I>
|
2006-09-22 00:22:34 +08:00
|
|
|
<I>dmax</I> value = max
|
|
|
|
max = maximum distance for line search to move (distance units)
|
2012-06-30 06:28:07 +08:00
|
|
|
<I>line</I> value = <I>backtrack</I> or <I>quadratic</I> or <I>forcezero</I>
|
2012-02-03 07:19:50 +08:00
|
|
|
backtrack,quadratic,forcezero = style of linesearch to use
|
2009-02-26 08:18:18 +08:00
|
|
|
</PRE>
|
2006-09-22 00:22:34 +08:00
|
|
|
|
|
|
|
</UL>
|
|
|
|
<P><B>Examples:</B>
|
|
|
|
</P>
|
2008-04-15 05:37:10 +08:00
|
|
|
<PRE>min_modify dmax 0.2
|
2006-09-22 00:22:34 +08:00
|
|
|
</PRE>
|
|
|
|
<P><B>Description:</B>
|
|
|
|
</P>
|
2008-04-15 05:37:10 +08:00
|
|
|
<P>This command sets parameters that affect the energy minimization
|
2009-09-29 22:10:23 +08:00
|
|
|
algorithms selected by the <A HREF = "min_style.html">min_style</A> command. The
|
|
|
|
various settings may affect the convergence rate and overall number of
|
|
|
|
force evaluations required by a minimization, so users can experiment
|
|
|
|
with these parameters to tune their minimizations.
|
2008-04-15 05:37:10 +08:00
|
|
|
</P>
|
2010-06-04 08:19:53 +08:00
|
|
|
<P>The <I>cg</I> and <I>sd</I> minimization styles have an outer iteration and an
|
|
|
|
inner iteration which is steps along a one-dimensional line search in
|
|
|
|
a particular search direction. The <I>dmax</I> parameter is how far any
|
|
|
|
atom can move in a single line search in any dimension (x, y, or z).
|
2010-10-01 05:22:06 +08:00
|
|
|
For the <I>quickmin</I> and <I>fire</I> minimization styles, the <I>dmax</I> setting
|
|
|
|
is how far any atom can move in a single iteration (timestep). Thus a
|
|
|
|
value of 0.1 in real <A HREF = "units.html">units</A> means no atom will move
|
2010-06-04 08:19:53 +08:00
|
|
|
further than 0.1 Angstroms in a single outer iteration. This prevents
|
|
|
|
highly overlapped atoms from being moved long distances (e.g. through
|
|
|
|
another atom) due to large forces.
|
2009-02-26 08:17:27 +08:00
|
|
|
</P>
|
2009-09-29 22:10:23 +08:00
|
|
|
<P>The choice of line search algorithm for the <I>cg</I> and <I>sd</I> minimization
|
2014-09-24 08:48:02 +08:00
|
|
|
styles can be selected via the <I>line</I> keyword.
|
|
|
|
The default <I>quadratic</I> line search algorithm starts out using
|
|
|
|
the robust backtracking method described below. However, once
|
|
|
|
the system gets close to a local
|
|
|
|
minimum and the linesearch steps get small, so that the energy
|
|
|
|
is approximately quadratic in the step length, it uses the
|
|
|
|
estimated location of zero gradient as the linesearch step,
|
|
|
|
provided the energy change is downhill.
|
|
|
|
This becomes more efficient than backtracking
|
|
|
|
for highly-converged relaxations. The <I>forcezero</I>
|
|
|
|
line search algorithm is similar to <I>quadratic</I>.
|
|
|
|
It may be more efficient than <I>quadratic</I> on some systems.
|
|
|
|
</P>
|
|
|
|
<P>The backtracking search is robust and should always find a local energy
|
2010-06-04 08:19:53 +08:00
|
|
|
minimum. However, it will "converge" when it can no longer reduce the
|
|
|
|
energy of the system. Individual atom forces may still be larger than
|
|
|
|
desired at this point, because the energy change is measured as the
|
|
|
|
difference of two large values (energy before and energy after) and
|
|
|
|
that difference may be smaller than machine epsilon even if atoms
|
|
|
|
could move in the gradient direction to reduce forces further.
|
2009-02-26 08:17:27 +08:00
|
|
|
</P>
|
2006-09-22 00:22:34 +08:00
|
|
|
<P><B>Restrictions:</B> none
|
|
|
|
</P>
|
|
|
|
<P><B>Related commands:</B>
|
|
|
|
</P>
|
|
|
|
<P><A HREF = "min_style.html">min_style</A>, <A HREF = "minimize.html">minimize</A>
|
|
|
|
</P>
|
|
|
|
<P><B>Default:</B>
|
|
|
|
</P>
|
2014-09-24 08:48:02 +08:00
|
|
|
<P>The option defaults are dmax = 0.1 and line = quadratic.
|
2006-09-22 00:22:34 +08:00
|
|
|
</P>
|
|
|
|
</HTML>
|