⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mc.xm

📁 一个很好的分子动力学程序
💻 XM
字号:
########################################################################                                                           15 Jun 99 ##                                                                     ##  Example:  Simple MC command example                                ##                                                                     #########################################################################                                                                     ##    The MC command performs the Metropolis algorithm on the atomic   ##  configuration - displacing atoms at random according to the step   ##  size given by the SIZE command, and then accepting or rejecting    ##  that step according to the change in energy and the assigned       ##  temperature.                                                       ##                                                                     ##  In this example we start with a perfect FCC Ni lattice, displace   ##  the atoms using MC for 1000 steps so that they are no longer at    ##  their perfect lattice positions, then use teh moecular dynamics    ##  QUENCH command to relax the atoms back toward their perfect        ##  positions.                                                         ##                                                                     #########################################################################     The format of the MC command is                                 ##                                                                     ##         MC  nstep temp                                              ##                                                                     ##  where   nstep       is the number of MC steps to perform           ##          temp        is the temperature of the algorithm            ##                                                                     ##  also needed is the SIZE command..                                  ##                                                                     ##         SIZE size                                                   ##                                                                     ##  where  size         is the Metropolis step size  (angstroms)       ##                                                                     ########################################################################read ../nial.txtbox 8 8 8fill particle 41  1/4 1/4 1/41  1/4 3/4 3/41  3/4 1/4 3/41  3/4 3/4 1/4fill goscale 3.52write energywrite cor mc.cor##  Do Metropolis for 1000 steps at 800 K#size 1e-3mc 1000 800write energywrite cor +mc.cor##  Set mass for following Quench#  (You don't need to set the mass for MC command)#select all# note - MASS1 is set in the  nial.txt  filemass MASS1##  Quench resulting configuration#dtime 3e-15quench 1000write energywrite cor +mc.cor

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -