Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
integer(kind=ip), | public | :: | n |
Number of particles in the system |
|||
real(kind=rp), | public | :: | cutoff |
Cutoff distance for the neighbor list |
|||
integer(kind=ip), | public | :: | cellf | = | 1 |
Number of subdivision of 'standard' cell. If you create smaller cells (cutoff/cellf) you can sensibly increase the performanc of the algorithm. See 10.1016/S0010-4655(98)00203-3 |
|
real(kind=rp), | public | :: | celld |
Dimension of each cell |
|||
integer(kind=ip), | public | :: | ncell(3) |
Number of cell along each dimension |
|||
integer(kind=ip), | public | :: | ncells |
Total number of cells |
|||
real(kind=rp), | public | :: | offset(3) |
Coordinates offset along each dimension (that is the minimum value of each coordinate. |
|||
integer(kind=ip), | public | :: | nneigh |
Number of neighbor cells |
|||
integer(kind=ip), | public, | allocatable | :: | neigh_offset(:) |
Offsets of neighbor cells |
||
integer(kind=ip), | public, | allocatable | :: | p2c(:) |
Cell of each particle |
||
type(yale_sparse), | public | :: | c2p |
Particles contained in each cell, sparse matrix format |
type ommp_neigh_list
integer(ip) :: n
!! Number of particles in the system
real(rp) :: cutoff
!! Cutoff distance for the neighbor list
integer(ip) :: cellf = 1
!! Number of subdivision of 'standard' cell. If you create smaller
!! cells ([[cutoff]]/[[cellf]]) you can sensibly increase the performanc
!! of the algorithm. See 10.1016/S0010-4655(98)00203-3
real(rp) :: celld
!! Dimension of each cell
integer(ip) :: ncell(3)
!! Number of cell along each dimension
integer(ip) :: ncells
!! Total number of cells
real(rp) :: offset(3)
!! Coordinates offset along each dimension (that is the minimum value of
!! each coordinate.
integer(ip) :: nneigh
!! Number of neighbor cells
integer(ip), allocatable :: neigh_offset(:)
!! Offsets of neighbor cells
integer(ip), allocatable :: p2c(:)
!! Cell of each particle
type(yale_sparse) :: c2p
!! Particles contained in each cell, sparse matrix format
end type ommp_neigh_list