打开APP
userphoto
未登录

开通VIP,畅享免费电子书等14项超值服

开通VIP
align atoms along axis

Installing the scripts

To use the principal axis scripts, you will need to follow these steps:

  1. Download orient.tar.gzand la101psx.tar.gz. The latter is a linear algebra package by Hume Integration Software; you can look at the La homepage for more information.
  2. Unpack the scripts
      gunzip orient.tar.gz  tar xf orient.tar  gunzip la101psx.tar.gz  tar xf la101psx.tar
  3. Add the following lines to your .vmdrc to make it easy to load the packages; replace "/home/paul/scripts/" with the directory in which you unpacked the packages:
      lappend auto_path /home/paul/scripts/la1.0  lappend auto_path /home/paul/scripts/orient

Aligning a molecule to its principal axes

Load the molecule into vmd, and run the following commands to align the first, second, and third principal axes to the x, y, and zaxes.
  package require Orient  namespace import Orient::orient  set sel [atomselect top "all"]  set I [draw principalaxes $sel]  set A [orient $sel [lindex $I 2] {0 0 1}]  $sel move $A  set I [draw principalaxes $sel]  set A [orient $sel [lindex $I 1] {0 1 0}]  $sel move $A  set I [draw principalaxes $sel]
You may want to use the principal axes (stored in I) for other purposes than alignment, or modify the script to get information about the moments of inertia.

Author

Paul Grayson pgrayson@ks.uiuc.edu
本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请点击举报
打开APP,阅读全文并永久保存 查看更多类似文章
猜你喜欢
类似文章
vmd 中移动选定原子
Understanding Highcharts
VMD tutorial
用Word VBA排版,你试过吗?
学会UG常用快捷键,快速提升作图能力
TeeChart坐标轴常见问题集锦
更多类似文章 >>
生活服务
热点新闻
分享 收藏 导长图 关注 下载文章
绑定账号成功
后续可登录账号畅享VIP特权!
如果VIP功能使用有故障,
可点击这里联系客服!

联系客服