command "change_box" for systems with rigid bodies

Dear LAMMPS developers,

I have a system containing rigid bodies. When I use the “change_box” command, I found that the size of the rigid bodies are also changed according to the change of the volume of the box, which is not I want. Is there a way to change the size of the box while keeping the size of the rigid bodies (such as the length of the bonds) fixed? (with only the coordinations of the geometric/mass centers of the rigid bodies updated to accommodate the change of the box size)

Thanks,
Jibao

Dear LAMMPS developers,

I have a system containing rigid bodies. When I use the "change_box"
command, I found that the size of the rigid bodies are also changed
according to the change of the volume of the box, which is not I want. Is
there a way to change the size of the box while keeping the size of the
rigid bodies (such as the length of the bonds) fixed? (with only the
coordinations of the geometric/mass centers of the rigid bodies updated to
accommodate the change of the box size)

​please check out the "remap" flag in the documentation for the
"change_box"​ command.

axel.