Advanced search
Start date
Betweenand


CellListMap.jl: Efficient and customizable cell list implementation for calculation of pairwise particle properties within a cutoff

Full text
Author(s):
Martinez, Leandro
Total Authors: 1
Document type: Journal article
Source: COMPUTER PHYSICS COMMUNICATIONS; v. 279, p. 12-pg., 2022-10-01.
Abstract

N-body simulations and trajectory analysis rely on the calculation of attributes that depend on pairwise particle distances within a cutoff. Interparticle potential energies, forces, distribution functions, neighbor lists, and distance-dependent distributions, for example, must be calculated. Cell lists are widely used to avoid computing distances outside the cutoff. However, efficient cell list implementations are difficult to customize. Here, we provide a fast and parallel implementation of cell lists in Julia that allows the mapping of custom functions dependent on particle positions in 2 or 3 dimensions. Arbitrary periodic boundary conditions are supported. Automatic differentiation and unit propagation can be used. The implementation provides a framework for the development of new analysis tools and simulations with custom potentials. The performance of resulting computations is comparable to state-of-the-art implementations of neighbor list algorithms and cell lists, available in specialized software. Examples are provided for the computation of potential energies, forces, distribution of pairwise velocities, neighbor lists and other typical calculations in molecular and astrophysical simulations. The Julia package is freely available at http://m3g .github .io /CellListMap .jl. Interfacing with Python and R with minimal overhead is possible. (C) 2022 Elsevier B.V. All rights reserved. (AU)

FAPESP's process: 10/16947-9 - Correlations between dynamics, structure and function in protein: computer simulations and algorithms
Grantee:Leandro Martinez
Support Opportunities: Regular Research Grants
FAPESP's process: 13/08293-7 - CCES - Center for Computational Engineering and Sciences
Grantee:Munir Salomao Skaf
Support Opportunities: Research Grants - Research, Innovation and Dissemination Centers - RIDC
FAPESP's process: 18/14274-9 - Protein Structure Determination from Distance Constraints Derived from Chemical Cross-linking: Computational Methods and Applications
Grantee:Leandro Martinez
Support Opportunities: Regular Research Grants
FAPESP's process: 18/24293-0 - Computational methods in optimization
Grantee:Sandra Augusta Santos
Support Opportunities: Research Projects - Thematic Grants