VASPLAB

版本 1.1.1.0 (23.3 KB) 作者: Max Radin
MATLAB functions for processing data from the Vienna Ab initio Simulation Package (VASP).
2.6K 次下载
更新时间 2021/10/24

VASPLAB

MATLAB functions for processing data from the Vienna Ab initio Simulation Package (VASP) 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.

引用格式

Max Radin (2025). VASPLAB (https://github.com/max-radin/VASPLAB/releases/tag/1.1.1.0), GitHub. 检索时间: .

MATLAB 版本兼容性
创建方式 R2011a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Physics 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.1.1.0

See release notes for this release on GitHub: https://github.com/max-radin/VASPLAB/releases/tag/1.1.1.0

1.1.0.0

* Several bugfixes.
* Added function for calculating length along a path in k-space.
* Added functions for fitting to the Murnaghan equation of state.

1.0.0.0

要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库
要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库