24小时热门版块排行榜    

查看: 541  |  回复: 0

astringent

铜虫 (著名写手)

[交流] 【求助】对MSD编程中周期性边界的不解

最近在看MSD ,但是对周期性边界条件理解不上去。我在看Computer simulation of liquids时,对于计算MSD,说上有这样一段:it is important not to switch attention
from one periodic image to another, which is why it is sometimes useful to have
available a set of particle coordinates which have not been subjected to
periodic boundary corrections during the simulation 。
但是当我看相关程序的时候,去使用了周期性边界条件 ,我一直没想明白,请大家帮忙分析一下?
            dowhile (dx .gt. xbox2)
               dx = dx - xbox
            end do
            dowhile (dx .lt. -xbox2)
               dx = dx + xbox
            end do
回复此楼
已阅   关注TA 给TA发消息 送TA红花 TA的回帖

智能机器人

Robot (super robot)

我们都爱小木虫

相关版块跳转 我要订阅楼主 astringent 的主题更新
信息提示
请填处理意见