VASP_script icon indicating copy to clipboard operation
VASP_script copied to clipboard

[bug report] VASP2GRO.exe识别原子质量错误

Open cherushui opened this issue 3 years ago • 0 comments

tamaswells你好,最近使用VASP2GRO.exe时,识别原子质量大于100的元素时出现错误。原因如下: 在OUTCAR中POMASS以%6.2f的形式写入,在原子质量大于100时会与前一元素的质量粘连,导致识别错误。示例如下:

$ grep POMASS OUTCAR POMASS = 12.01 14.00 63.55195.08

在XDATCAR.top中如下: 48 N 1 MOL N 48 0.0000 14.0000 49 Cu 1 MOL Cu 49 0.0000 63.5519 50 Pt 1 MOL Pt 50 0.0000 0.0000

我看了VASP2GRO.zip中的源码,发现是C++语言编写,我对于C++比较陌生,很抱歉无法直接提pr,请您有空时予以修复。

祝好 cherushui

cherushui avatar Mar 16 '22 08:03 cherushui