Mathematica中文论坛-非官方

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
热搜: 活动 交友 discuz
查看: 533|回复: 0
打印 上一主题 下一主题

豆粑粑 Lammps ERROR: All pair coeffs are not set

[复制链接]

554

主题

633

帖子

3207

积分

论坛元老

Rank: 8Rank: 8

积分
3207
跳转到指定楼层
楼主
发表于 2025-1-14 21:52:16 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
这几天在研究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

分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|Archiver|手机版|小黑屋|Mathematica中文论坛-非官方 ( 辽ICP备16001491号-1

GMT+8, 2025-2-5 19:57 , Processed in 0.140736 second(s), 25 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表