fix hold lower planeforce 0 1 0
* ID, group-ID are documented in fix command
* lineforce = style name of this fix command
* x y z = 3-vector that is normal to the plane
Adjust the forces on each atom in the group so that it's motion will be in the plane specified by the normal vector (x,y,z). This is done by subtracting out components of force perpendicular to the plane.
ID的名字是hold
Group-ID的名字是lower
planeforce是fix命令的style
这个命令是要把lower这组原子的运动限制在(0,1,0)这个平面上,无论发生什么
这个原子总在XZ平面内运动,然而upper这个原子是沿着y轴向上运动,这样一来就是一端固定,另一端作往复运动了。