Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

An updated version of the VASP2WANNIER90v2 interface

NotificationsYou must be signed in to change notification settings

Chengcheng-Xiao/VASP2WAN90_v2_fix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VASP2WAN90_v2_fix

This project provides a patch for theVASP code, fixing theVASP2WANNIER90v2 interface with additional abilities.

  • Calculate non-collinear Wannier functions.
  • Support spinor projection method (specify spinor channel, quantization axis).
  • New and improved UNK files:
    • Write non-collinear UNK files (UNKxxxxx.NC).
    • Choose the format of theUNK files.
    • Reduce the size of theUNK files.
  • Write.spn files.
    • Choose the format of the.spn files
  • Control which collinear spin channel to compute.
  • Control whether to calculate/write.mmn and.amn files.

Installation

Important

THIS FIX ONLY WORKS WITH VASP v5.4.4.pl2

For this patch to work, you have torecompile VASP.If you are not familiar with VASP's compilation process, click🔗 HERE.Also, you need a compiledlibwannier.a.If you don't know what it is, check out wannier90's user guide.

To apply the patch, put themlwf.patch file in theroot directory (not undersrc) of your VASP distro and type:

$ patch -p0 < mlwf.patch

Then, compile the code with-DVASP2WANNIER90v2 precompile flag alone with the wannier90 librarylibwannier.a

CPP_OPTIONS+=-DVASP2WANNIER90v2LLIBS+=/path/to/your/wannier90_distro/libwannier.a

Usage

TheVASP2WANNIER90 interface is fully incorporated in the VASP package, this means we don't need another executable to run it. The interface is enabled by specific keywords in theINCAR file.

For full documentation, seewiki.

Keywords

A list of useful keywords:

Tagmeaningvaluedefault
LWANNIER90Do we want to use the interface?TRUE/FALSEFALSE
W90_SPINWhich collinear spin channel to compute?0->all,1->up,2->down0->all
LCALC_MMNDo we want calculatemmn matrix?TRUE/FALSETRUE
LCALC_AMNDo we want calculateamn matrix?TRUE/FALSETRUE
LWRITE_MMNDo we want to write.mmn file?TRUE/FALSETRUE
LWRITE_AMNDo we want to write.mmn file?TRUE/FALSETRUE
LWRITE_EIGDo we want to write.eig file?TRUE/FALSETRUE
LWRITE_UNKDo we want theUNK files?TRUE/FALSEFALSE
LUNK_FMTEDDo we want theUNK files be human-readable?TRUE/FALSEFALSE
LREDUCE_UNKDo we want theUNK files be reduced in size?TRUE/FALSEFALSE
LWRITE_SPNDo we want the.spn files? (Serial only)TRUE/FALSEFALSE
LSPN_FMTEDDo we want the.spn files be human-readable?TRUE/FALSEFALSE

How to cite

Citation of the code is not mandatory but would be appreciated. A reference to this website using thisBibTeX entry will suffice.

Contributing

Issues and pull-requests are welcome, feel free to ask anythingE-mail.

About

An updated version of the VASP2WANNIER90v2 interface

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp