UPU: Difference between revisions

From Wiki
Jump to navigation Jump to search
Dkarhanek (talk | contribs)
No edit summary
Dkarhanek (talk | contribs)
No edit summary
Line 1: Line 1:
go back to [[Main Page]], [[Computational Resources]], [[Chemistry & More]], [[Computational Codes]], [[VASP]]
go back to [[Main Page]], [[Computational Resources]], [[Chemistry & More]], [[Computational Codes]], [[VASP]]


<font size="4">
== DESCRIPTION ==
 
'''UPU''' = '''U'''niversal '''P'''OSCAR '''U'''tilities
'''UPU''' = '''U'''niversal '''P'''OSCAR '''U'''tilities


<font size="2">
UPU is a command-line tool for viewing and modifying POSCAR/CONTCAR files and extracting information of those structure files.
<font size="3">
 
As the program is a rather private project of the only developer Dr. M. Jahnátek (Univ.Vienna [http://www.cms.tuwien.ac.at/cms/person/63/]), it is not documented elsewhere.
 
== SYNTAX ==
 
UPU is programmed in C language and uses a C-like syntax, thus the example command:
 
upu '{cartesian;ls;save;export xsf}' ''/path/to/''CONTCAR


UPU is a command-line for viewing and modifying POSCAR/CONTCAR files and extracting information of those structure files.
proceeds the following steps: reads a CONTCAR file, switches easily from the default direct coordinates to Cartesian, prints this half-edited version of CONTCAR to the the <TT>stdout</TT>, saves it the modification (output file "CONTCAR"), exports and saves the supercell to the XCrysDen format (output file "CONTCAR.xsf") and quits back to shall.


As UPU was rather a private project of the developer Dr. M. Jahnátek (Univ.Vienna [http://www.cms.tuwien.ac.at/cms/person/63/])
:'''Note:''' C-like syntax also means that UPU starts to count atoms and atomic layers from 0, i.e. the 5<sup>th</sup> atom in the POSCAR/POTCAR has the label 4. Take care of avoiding errors based on wrong numbering.

Revision as of 14:54, 21 September 2010

go back to Main Page, Computational Resources, Chemistry & More, Computational Codes, VASP

DESCRIPTION

UPU = Universal POSCAR Utilities

UPU is a command-line tool for viewing and modifying POSCAR/CONTCAR files and extracting information of those structure files.

As the program is a rather private project of the only developer Dr. M. Jahnátek (Univ.Vienna [1]), it is not documented elsewhere.

SYNTAX

UPU is programmed in C language and uses a C-like syntax, thus the example command:

upu '{cartesian;ls;save;export xsf}' /path/to/CONTCAR

proceeds the following steps: reads a CONTCAR file, switches easily from the default direct coordinates to Cartesian, prints this half-edited version of CONTCAR to the the stdout, saves it the modification (output file "CONTCAR"), exports and saves the supercell to the XCrysDen format (output file "CONTCAR.xsf") and quits back to shall.

Note: C-like syntax also means that UPU starts to count atoms and atomic layers from 0, i.e. the 5th atom in the POSCAR/POTCAR has the label 4. Take care of avoiding errors based on wrong numbering.