10BC0 GitHub - ttlbyte/Crystal-Cartesian: output Cartesian Coordinate of different crystal
[go: up one dir, main page]

Skip to content

ttlbyte/Crystal-Cartesian

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

Crystal-Cartesian

I set up this project simply for generating Cartesian coordinates to be used in a slab first-principle calculation. Because the Cartesian coordinates stay unchanged when I add different height of vacuum. There are two bash script in this project.

  • supercell.sh
  • dirtocar.sh

##Usage First step, just run

 $ ./supercell.sh

No parameters needed. Following the hints you will create a supercell which you may use in a slab calculation. This script will build a file named input.txt. This file contains four columns, the first containing the atomtype and the following three containing the x y z Direct coordinates of the atom. This script was not written by me. But I can't remember the origin author.
After the input.txt was built, simply type in the terminal

$ ./dirtocar.sh

this will convert the Direct coordinates contained in input.txt to Cartesian coordinates and save in the file named cartesian.txt.

About

output Cartesian Coordinate of different crystal

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0