VASPLAB

バージョン 1.1.1.0 (23.3 KB) 作成者: Max Radin
MATLAB functions for processing data from the Vienna Ab initio Simulation Package (VASP).
ダウンロード: 2.7K
更新 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 Center および MATLAB AnswersPhysics についてさらに検索
タグ タグを追加

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 リポジトリにアクセスしてください。