[lammps-users] Modify minimization

Hello Steve,

I want to modify the minimization process of the software so that it can make
minimization to any group of atoms. Besides changing fixarg[1] from "all" into
another group ID in file min_cg.cpp, what else should I do to the program?


I guess what you can do is not to modify the code but use
the “fix setforce” to zero the force on the group of atoms
that you do not want to relax.