vasp linux,科学网-处理vasp的WAVECAR工具-王达的博文

WaveTrans是一款读取VASP生成的WAVECAR二进制文件并将其转换为ASCII文本的工具,方便获取格点点和对应的平面波系数。文章介绍了WaveTrans的使用方法、源代码及限制条件,还提供了结合WaveTrans和WaveFcnPlot来构建实空间波函数的示例。
摘要由CSDN通过智能技术生成

WaveTrans: Real-space wavefunctions from VASP WAVECAR file

R. M. Feenstra and M. WidomDepartment of Physics, Carnegie Mellon University, Pittsburgh, PA 15213

Introduction

This program reads in the binary file WAVECAR that is produced by VASP, and it outputs into a text (ASCII) file the corresponding G values (lattice points in reciprocal space) and their associated plane wave coefficients. From these coefficients, a real-space wavefunction can be constructed in the usual way. Due to its binary format and the ordering of its G values, it can be problematic to directly read and translate the WAVECAR file. The WaveTrans program and its associated WAVECARin routine provides a solution to this problem. The format of the WAVECAR file is:

Record-length #spin components RTAG(a value specifying the precision)

#k-points #bands ENCUT(maximum energy for plane waves)

LatVec-A

LatVec-B

LatVec-C

Loop over spin

Loop over k-points

#plane-waves k-Vec

Loop over bands

band-energy, band-occupation

End loop over bands

Loop over plane waves

Plane wave coefficient

End loop over plane waves

End loop over k-points

End loop over spin

A value of RTAG of 45200 specifies that complex*8 binary format is used in WAVECAR for the coefficients, and a value of 45210 specifies complex*16 format; WaveTrans presently works only for the former case (see 'Limitations' section below). The WaveTrans program reads in the contents of WAVECAR and outputs the GCOEFF file with the appropriate values of the wavevectors and the corresponding plane wave coefficients. Fo

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值