删除半原子面,即通过坐标为[0,0,0]原子的(010)原子面,删除其 z<0 的部分,主要语句有
for ID = 1 : 1 : nt
if((abs(data(ID,2))<=0.01) &(data(ID,3) <0.0))
data(ID, 1:3) = data(nt, 1:3) ;
nt = nt - 1;
ID = ID - 1;
end
end
以上语句是否正确。( )
删除半原子面,即通过坐标为[0,0,0]原子的(010)原子面,删除其 z<0 的部分,主要语句有
for ID = 1 : 1 : nt
if((abs(data(ID,2))<=0.01) &(data(ID,3) <0.0))
data(ID, 1:3) = data(nt, 1:3) ;
nt = nt - 1;
ID = ID - 1;
end
end
以上语句是否正确。( )
Copyright © 2020 www.daanwo.com All Rights Reserved |