control pressure during energy minimization

Dear Lammps users and developers,

I want to control the pressure in x, y and z direction to be zero during energy minimization. “Fix press/berendsen command”does not perform time integration, but this fix is not invoked during energy minimization. Could you please tell me which command can I use?

Thank you in advance.

Best wishes,


Please have a look at fix box/relax. Axel.