level 5
豹子头风雪一更
楼主
lammps中使用compute group/group 单独计算两组原子的能量,单独计算两组原子的作用力,同时计算两组原子的能量和作用力时,命令分别应该怎么写?
manual中有这样一段话,看了不太理解:This compute calculates a global scalar (the energy) and a global vector of length 3 (force), which can be accessed by indices 1-3. These values can be used by any command that uses global scalar or vector values from a compute as input. 是否可以理解为,compute group/group 计算出来默认是四列物理量,第一列是能量,2,3,4列分别是x,y,z三个方向力的矢量,然后,根据自己需要,用 variable命令分别把它们导出来?请大神多多指点!!
2019年05月23日 13点05分
1
manual中有这样一段话,看了不太理解:This compute calculates a global scalar (the energy) and a global vector of length 3 (force), which can be accessed by indices 1-3. These values can be used by any command that uses global scalar or vector values from a compute as input. 是否可以理解为,compute group/group 计算出来默认是四列物理量,第一列是能量,2,3,4列分别是x,y,z三个方向力的矢量,然后,根据自己需要,用 variable命令分别把它们导出来?请大神多多指点!!