Editing
Putontop
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
= General information = '''WARNING: This script is an alpha version. CHECK THE OUTPUT BEFORE!''' Putontop is a Perl script that takes as a input a CONTCAR file from a molecule or atom and a CONTCAR file from a surface and then displaces the molecule over the surface. == Installation == Download the file: [[Image:Putontop.tgz]] To untar in your /home/user/bin directory: tar -xvzf putontop.tgz -C ~/bin == Usage == At the moment, the script does not run in Tekla2 due to Perl version problems, you need Perl 5.10 or newer to run this script. The script takes three arguments: $1 For the CONTCAR file of the molecule. $2 For the CONTCAR file of the surface. $3 For the distance between the lowest atom of the molecule and the higher atom of the surface For example, to generate a POSCAR file with a Fructose molecule over a Graphite surface with 2.0 Γ distance: putontop ../MOLECULES/FRUCTOSE/CONTCAR ../GRAPHITE/CONTCAR 2.0 > POSCAR The script uses the cell parameters of the surface and writes the output in cartesian coordinates. Both CONTCAR files must be in direct coordinates. == More information == === Title === The title of the generated file will be: '''"Title of the Molecule" over "Title of the Surface"''' === x/y displacement === The molecule is displaced to the x/y middle point of the surface. The lowest atom of the molecule is taken as a reference. === Shared elements === If the surface and the molecule share some elements, then the script unifies the shared atoms and writes the atoms in order. For example, if you have a graphite surface and a methane molecule: Methane: C H 1 4 Graphite: C 216 Methane over Graphite: C H 217 4
Summary:
Please note that all contributions to Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Wiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
What links here
Related changes
Special pages
Page information