24小时热门版块排行榜    

Znn3bq.jpeg
汕头大学海洋科学接受调剂
查看: 5714  |  回复: 4
当前只显示满足指定条件的回帖,点击这里查看本话题的所有回帖

雪雨星风17

木虫 (小有名气)

[求助] 求助,lammmps出现Numeric index is out of bounds 。怎么回事呢,如何修改?

参考一个文献计算Cu的空位能,我也就改成Pd的了,为啥会出现Numeric index is out of bounds 了呢?
代码如下:units metal
boundary p p p
atom_style atomic

lattice fcc 3.89
region box block 0 6 0 6 0 6
create_box 1 box
create_atoms 1 box
pair_style eam
pair_coeff ** Pd_u3.eam Pd

run 0
varible E equal pe
varible N equal atoms
print"the number of atoms &system energy now are $N $E"

region centerpoint block 3 3.05 3 3.05 3 3.05
delete_atoms region centerpoint
min_style sd
minimize 1.0e-12 1.0e-12 1000 1000
print"the number of atoms &system energy now are $N $E"
compute 3 all pe/atom
compute 4 all ke/atom
compute 5 all coord/atom 3.0
dump 1 all custom 1 dump.atom id xs ys zy c_3 c_4 c_5
timestep 0.005
run 1
显示的:

Lattice spacing in x,y,z = 3.89 3.89 3.89
Created orthogonal box = (0 0 0) to (23.34 23.34 23.34)
  1 by 1 by 1 MPI processor grid
Created 864 atoms
ERROR: Numeric index is out of bounds (../force.cpp:684)
回复此楼

» 猜你喜欢

可以可以啊
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

wym3590

新虫 (初入文坛)

是不是相互作用写错了呢
5楼2019-08-20 21:24:50
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
查看全部 5 个回答

wwt6203

新虫 (初入文坛)

楼主解决了吗?我也遇到了这个问题,开始以为是data文件的问题但换了data文件还是这个问题?急死我了
2楼2018-05-21 10:05:33
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

小feynman

新虫 (初入文坛)

引用回帖:
2楼: Originally posted by wwt6203 at 2018-05-21 10:05:33
楼主解决了吗?我也遇到了这个问题,开始以为是data文件的问题但换了data文件还是这个问题?急死我了

请问解决这个问题了没,同被困扰
3楼2018-06-08 10:41:01
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

cxlxx10000

银虫 (正式写手)

楼主解决了么 我也遇到这个问题了
梦想着可以开手扶拖拉机上班
4楼2019-03-07 20:24:04
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 求调剂推荐 +3 小聂爱学习 2026-04-14 3/150 2026-04-14 20:18 by AIModeling
[考研] 272分材料子求调剂 +41 Loy0361 2026-04-10 54/2700 2026-04-14 18:00 by lhj2009
[考研] 22408 312求调剂 +15 门路摸摸 2026-04-14 16/800 2026-04-14 17:15 by zs92450
[考研] 085404 22408 309分求调剂 +7 lzmk 2026-04-14 7/350 2026-04-14 17:02 by lihaoda1994
[考研] 302分求调剂 +10 凡语祈愿 2026-04-08 11/550 2026-04-14 16:50 by jiangguiquan11
[考研] 297工科调剂? +13 河南农业大学-能 2026-04-13 13/650 2026-04-14 16:46 by Art1977
[考研] 085801电气专硕272求调剂 +14 电气李 2026-04-13 15/750 2026-04-14 14:58 by 逆水乘风
[考研] 机械还有还有名额吗?太难了 +8 笑笑袁 2026-04-10 8/400 2026-04-14 08:44 by screening
[考研] 本科南方医科大学 一志愿985 药学学硕284分 求调剂 +5 弱水听文 2026-04-09 5/250 2026-04-12 13:16 by shengxi123
[考研] 296求调剂 +14 汪!?! 2026-04-10 16/800 2026-04-12 10:48 by zhouyuwinner
[考研] 调剂 +6 青灯不负 2026-04-09 6/300 2026-04-11 20:35 by dongdian1
[考研] 288求调剂 +15 代fish 2026-04-09 16/800 2026-04-11 10:26 by wwj2530616
[考研] 297求调剂 +9 Kwgyz 2026-04-09 9/450 2026-04-11 10:09 by zhq0425
[考研] 284求调剂 +12 archer.. 2026-04-10 13/650 2026-04-11 08:44 by zhq0425
[考研] 309求调剂 +14 wdhw 2026-04-10 15/750 2026-04-10 21:06 by zhouxiaoyu
[考研] 263能源动力专硕求调剂 +4 加大号饭盒袋 2026-04-10 4/200 2026-04-10 20:52 by gong120082
[考研] 292求调剂 +9 笑笑袁 2026-04-09 9/450 2026-04-10 10:05 by LHGeng
[考研] 青岛科技大学材料学院,环境学院调剂补录4月10日以前都可以 +3 1青科大。 2026-04-09 5/250 2026-04-10 09:58 by 翩翩一书生
[考研] 一志愿中科院105500专业总分315求调剂 +6 lallalh 2026-04-09 7/350 2026-04-09 17:51 by lallalh
[考研] 考研求调剂 +4 雯??? 2026-04-08 4/200 2026-04-08 21:44 by 土木硕士招生
信息提示
请填处理意见