Files
lammps/doc/src/Modify_min.rst
2020-03-13 16:34:57 -04:00

20 lines
774 B
ReStructuredText

Minimization styles
===================
Classes that perform energy minimization derived from the Min class.
New styles can be created to add new minimization algorithms to
LAMMPS.
Min_cg.cpp is an example of conjugate gradient minimization.
Here is a brief description of methods you define in your new derived
class. See min.h for details.
+---------------+------------------------------------------+
| init | initialize the minimization before a run |
+---------------+------------------------------------------+
| run | perform the minimization |
+---------------+------------------------------------------+
| memory_usage | tally of memory usage |
+---------------+------------------------------------------+