fix restrain command

hello lammps users,

I have some questions about fix restrain command.

  1. Can this fix be used as a standalone fix without any other fixes, like the following or does it have to be used in conjunction with fix nve or nvt or minimization routines
fix holdem all restrain bond 45 48 2000.0 2000.0 2.75
run 5

2. How does the coefficient vary during the simulation when uses the fix like this 

fix holdem all restrain bond 45 48 0 2000.0 2.75

Does the bond coefficient vary in a linear fashion in the case mentioned above

Thanks
Arun

hello lammps users,

I have some questions about fix restrain command.

1. Can this fix be used as a standalone fix without any other fixes, like
the following or does it have to be used in conjunction with fix nve or nvt
or minimization routines

No, it cannot be used alone and must be used with time integration fixes.

fix holdem all restrain bond 45 48 2000.0 2000.0 2.75
run 5

2. How does the coefficient vary during the simulation when uses the fix like this

fix holdem all restrain bond 45 48 0 2000.0 2.75
Does the bond coefficient vary in a linear fashion in the case mentioned above

Yes, linearly.

Ray