Giter VIP home page Giter VIP logo

vasp2cif's Introduction

vasp2cif

A program that can read VASP output files and generate crystal structure files in CIF file format. The CIF files can then be used for visualization in graphical applications. Note that vasp2cif will not preserve symmetries from VASP – the output CIF is always in P1 symmetry. If you have the FINDSYM program by Harold Stokes et al. installed, vasp2cif will attempt to use that to find any symmetries.

Installation

  1. Download or clone the repository.
  2. Install by putting the vasp2cif.py in a folder in your $PATH (such as ~/bin).
  3. Change permissions: mv vasp2cif.py vasp2cif; chmod u+x vasp2cif.

This should allow you to write e.g. "vasp2cif CONTCAR" in any job folder and get the corresponding CONTCAR.cif file.

Basic usage

Convert CONTCAR to CIF in a job directory:

vasp2cif CONTCAR

Convert a lone POSCAR without a corresponding POTCAR file to CIF:

vasp2cif --elements="Zn,O" POSCAR

Generate CIF file with multiple data blocks from a relaxation run:

vasp2cif OUTCAR

Authors

License

Copyright 2008-2013 Peter Larsson under the Apache License 2.0. See the LICENSE file for more detailed information.

vasp2cif's People

Contributors

egplar avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.