Title: Searching for Neighbor Atoms in Large-Scale Atomistic Simulations
1Searching for Neighbor Atoms in Large-Scale
Atomistic Simulations
Wednesday, 10/30/2002
2Interatomic Force Calculation in MD Simulation
Searching neighboring atoms
A neighbor list is maintained for each atom to
speed up force calculation.
3MPM No Neighbor Particle Finding
4Interatomic Force Cut-off Radius
The size of the background grid equals the
cut-off radius of the interatomic force.
5Searing the Neighbor
6Large-scale MD Simulation
7Dynamically Update Atoms List
8Put Particles Into Cells
ncell is the total number of cells np is the
total number of particles a is the size of a
cell ncelly is the number of cells in y
direction plist_clinspace(0,0,ncell) plist_pl
inspace(0,0,np) for p1np ixceil( x_p(p)/a
) iyceil( y_p(p)/a )
cncelly(ix-1)iy plist_p(p)plist_c(c)
plist_c(c)p end
9NeighborListInitial Step
10Neighbor List (Atom 1)
11Neighbor List (Atom 2)
12Neighbor List (Atom 3)
13Neighbor List (Atom 4)
Any thing wrong?
14Neighbor List (Atom 5)
Any thing wrong?
15Neighbor List (Atom 6)
Anything wrong?
16Neighbor List (Atom 7)
17Neighbor List (Atom 8)
18Neighbor List (Atom 9)
19Neighbor List (Atom 10)
20Neighbor List (Atom 11)
21Neighbor List (Atom 12)
Anything wrong?
22Put Particles Into Cells
ncell is the total number of cells np is the
total number of particles a is the size of a
cell ncelly is the number of cells in y
direction plist_clinspace(0,0,ncell) plist_pl
inspace(0,0,np) for p1np ixceil( x_p(p)/a
) iyceil( y_p(p)/a )
cncelly(ix-1)iy plist_p(p)plist_c(c)
plist_c(c)p end