Mathematica中文论坛-非官方

标题: 豆粑粑 Lammps ERROR: All pair coeffs are not set [打印本页]

作者: meatball1982    时间: 2025-1-14 21:52
标题: 豆粑粑 Lammps ERROR: All pair coeffs are not set
这几天在研究Lammps, 新手。遇到一个很普通的问题。

ERROR: All pair coeffs are not set (../pair.cpp:253)


看了很多的帖子,基本上是说
pair_coeff没有设置完。
比如有两类原子1,2.

你得
pair_coeff 1 1 ****
pair_coeff 1 2 ****
pair_coeff 2 2 ****



我之前设置了(一不小心)
5 atom types


没有1 3, 1 4之类的,就出现上面的错误。

这时,可以能过
info coeffs
得到已经设置的pair_coeff.
基本,能找到原因。
感谢大神[color=var(--primary-high-or-secondary-low)]akohlmey






欢迎光临 Mathematica中文论坛-非官方 (http://ilovemathematica.com/) Powered by Discuz! X3.2