# VASPLAB
MATLAB functions for processing data from the [Vienna Ab initio Simulation Package (VASP)](https://www.vasp.at/) and performing other common tasks related to the atomistic modeling of solid-state systems.
## Installation
To install VASPLAB, place the VASPLAB folder somewhere on your hard drive (such as in your MATLAB folder). Then, from MATLAB, open File->Set Path, and add the VASPLAB folder to your path.
## Usage
Below is a summary of VASPLAB functions. For more details, see documentation in source code (or use the `help` command, e.g. `help import_poscar`).
**atomic_radius(Z)**
Get atomic radius of element.
**chemsym2number(symbol)**
Get the atomic number for a chemical symbol.
**export_df3(filename,chg)**
Export volumetric data as a DF3 file.
**export_poscar(filename,geometry)**
Export a geometry struct as a VASP POSCAR file.
**fit_murnaghan_eos(V,E)**
Fit to the Murnaghan equation of state.
**hyperdistance(geometry1,geometry2)**
Calculate hyperdistance between two geometry structures.
**import_chgcar(filename)**
Import a VASP CHGCAR file.
**import_doscar(filename)**
Import a VASP DOSCAR file.
**import_eigenval(filename)**
Import a VASP EIGENVAL file.
**import_locpot(filename)**
Import a VASP LOCPOT file.
**import_oszicar(filename)**
Import energies from a VASP OSZICAR file.
**import_outcar(filename,param)**
Import data from a VASP OUTCAR file.
**import_poscar(filename)**
Import a VASP POSCAR/CONTCAR file.
**interpolate_poscar(filename1,filename2,N)**
Interpolate a chain of images between two POSCAR files.
**jmol_color(Z)**
Get color assigned to an element.
**kpath_length(k,A,mode)**
Find the distance along a path in k-space.
**murnaghan_eos(V,x)**
Evaluate the Murnaghan equation of state.
**neb_energies(directory)**
Extract energies and hyperdistance from NEB calculation.
**neb_spline(directory,N)**
Fit energies and forces of a NEB calculation using a spline.
**num_images()**
Determine number of images used in a NEB calculation.
**number2chemsym(Z)**
Get the chemical symbol for an atomic number.
**permute_coords(geometry1,geometry2)**
Permute ions in a geometry to match another geometry.
**plot_neb_spline(directory)**
Plot the energy along a NEB path.
**reciprocal_lattice(A)**
Find the reciprocal lattice.
**strain_tensor_to_order_params(E)**
Convert a strain tensor to order parameters.
**strain2deformation(E)**
Construct a deformation tensor from a strain tensor.
**supercell(geometry1,array)**
Create a supercell by replicating a geometry.
**vasp_xml(filename,param)**
Import data from a vasprun.xml file.
没有合适的资源?快使用搜索试试~ 我知道了~
毕业设计&课设-MATLAB函数用于处理来自维也纳从头算模拟包(VASP)的数据,并执行与….zip
共32个文件
m:31个
md:1个
需积分: 1 0 下载量 195 浏览量
2024-01-08
22:32:49
上传
评论
收藏 23KB ZIP 举报
温馨提示
matlab算法,工具源码,适合毕业设计、课程设计作业,所有源码均经过严格测试,可以直接运行,可以放心下载使用。有任何使用问题欢迎随时与博主沟通,第一时间进行解答! matlab算法,工具源码,适合毕业设计、课程设计作业,所有源码均经过严格测试,可以直接运行,可以放心下载使用。有任何使用问题欢迎随时与博主沟通,第一时间进行解答! matlab算法,工具源码,适合毕业设计、课程设计作业,所有源码均经过严格测试,可以直接运行,可以放心下载使用。有任何使用问题欢迎随时与博主沟通,第一时间进行解答! matlab算法,工具源码,适合毕业设计、课程设计作业,所有源码均经过严格测试,可以直接运行,可以放心下载使用。有任何使用问题欢迎随时与博主沟通,第一时间进行解答! matlab算法,工具源码,适合毕业设计、课程设计作业,所有源码均经过严格测试,可以直接运行,可以放心下载使用。有任何使用问题欢迎随时与博主沟通,第一时间进行解答! matlab算法,工具源码,适合毕业设计、课程设计作业,所有源码均经过严格测试,可以直接运行,可以放心下载使用。有任何使用问题欢迎随
资源推荐
资源详情
资源评论
收起资源包目录
毕业设计&课设-MATLAB函数用于处理来自维也纳从头算模拟包(VASP)的数据,并执行与….zip (32个子文件)
matlab_code
export_poscar.m 927B
vasp_xml.m 15KB
jmol_color.m 3KB
reciprocal_lattice.m 291B
import_outcar.m 2KB
murnaghan_eos.m 392B
interpolate_poscar.m 1KB
kpath_length.m 891B
plot_neb_spline.m 847B
strain_to_order_params.m 899B
tests
strain_to_deformation_test.m 107B
strain_to_order_params_test.m 156B
neb_energies.m 2KB
hyperdistance.m 688B
import_locpot.m 1KB
atomic_radius.m 2KB
import_oszicar.m 696B
import_doscar.m 2KB
strain_to_deformation.m 336B
supercell.m 958B
import_poscar.m 3KB
pchipd.m 3KB
export_df3.m 574B
num_images.m 359B
fit_murnaghan_eos.m 563B
import_chgcar.m 2KB
chemsym2number.m 470B
number2chemsym.m 967B
neb_spline.m 1KB
permute_coords.m 3KB
README.md 3KB
import_eigenval.m 2KB
共 32 条
- 1
资源评论
白话机器学习
- 粉丝: 8648
- 资源: 7683
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功