Movable hash algorithm for search of the neighbor atoms in molecular dynamics simulation
暂无分享,去创建一个
In this paper, we suggested an algorithm called as movable hash, by which the neighbor atoms of a given atom in the process of molecular dynamics simulation can be rapidly determined. The main idea of this algorithm is to divide the simulation box into cells with a size smaller than the diameter of the atom to ensure only one atom in a cell at any time. Each cell is represented by an element of a three-dimensional array, the value of which equals either to the address where the message of the atom in this cell is stored or to nil. Then in one cycle loop of the sub-indexes of the array, we can easily operate to all neighbor atoms of a special atom. The speed to find all neighbor atoms of a given atom by movable hash method is only one third of that by the cell index method when the cell size equals to half of the diameter of the atom.
[1] R. Wang,et al. Core structure and mobility of an edge dislocation in aluminum , 2000 .
[2] G. Ackland,et al. Atomistic simulation of materials : beyond pair potentials , 1989 .
[3] Ru-wu Wang,et al. Atomistic simulation of the atomic structure and diffusion within the core region of an edge dislocation in aluminum , 2000 .
[4] J. Banavar,et al. Computer Simulation of Liquids , 1988 .
[5] Berend Smit,et al. Understanding Molecular Simulation , 2001 .