A particle–particle particle-multigrid method for long-range interactions in molecular simulations

https://doi.org/10.1016/j.cpc.2005.03.077Get rights and content

Abstract

A fast method of order O(N) is proposed to calculate interaction energies and forces in molecular systems with open boundaries, exerted by long range Coulomb interactions. The method consists of a fast multigrid Poisson solver for the far field smooth part of the potential and a particle–particle based method for the near field contribution. Boundary conditions are calculated with a multipole expansion method. Test cases are performed for the performance of the method.

Introduction

Coulomb interactions often play a crucial role for static and dynamical properties in a variety of complex systems, characterized by polar or charged system components, e.g., polar liquids, proteins, DNA, membranes, polyelectrolytes or plasmas. Due to the long range nature of these interactions their determination is computationally very demanding. Since pair interactions of all particles in the system have to be taken into account, the problem has complexity O(N2). Therefore the size of the systems or length of the system trajectory is mainly limited by the computational overhead induced by electrostatic interactions. Due to the great interest in systems, dominated by Coulomb interactions, there was great effort spent in developing faster and more efficient methods with a lower complexity. For systems with periodic boundary conditions the most widely used method is the Ewald summation technique which is formally an exact analogue of an infinite lattice sum. Practically a small, controllable truncation error is accepted and it could be shown that for a given error, the method scale like O(N3/2) [1]. A faster variant of this method was later on developed, using fast Fourier transform techniques to reduce the complexity to O(Nlog(N)) [2]. A modification of the Ewald summation consists in the splitting of long range and short range contributions to the electrostatic energy. The so-called particle–particle particle-mesh method (P3M) solves the field equation with a fast Fourier method, using a modified Green's function, which adjusts the solution closely to the continuum solution. The method splits the field into near and far field contributions, where the short range part is calculated by an explicit particle–particle summation. Due to the fast Fourier transform the complexity is again reduced to O(Nlog(N)) [3].

For open systems, mainly two fast methods are in use, which both profit from a multipole expansion of far field contributions of charges to the local field. The Barnes–Hut tree algorithm splits the contributions hierarchically to end up in an O(Nlog(N)) complexity [4], while the Fast Multipole Method (FMM) reduces this complexity to O(N) by taking into account interactions of multipoles [5].

In the present article a method for open systems is proposed which goes in line with the idea of the P3M method, i.e. the near- and far-field contributions are treated in separate ways. The idea here is to apply the multigrid (MG) method to the solution of Poisson's equation to calculate a global potential energy surface. This problem would consist in an O(N2) complexity. However, multigrid methods reduce this complexity to O(N), making them very attractive to many body problems. Having the global solution it is required to correct for the self-energy of the particles and the contributions from the near field part. This is performed via subtracting the grid based Green's function. In a last step the near field part is calculated as a pair-sum over all neighbored particles. In the following the mathematical basis is shown and performance measurements are compared with explicit pair-wise calculations.

Section snippets

Theory

In this section a description of the different steps, involved into the calculation of the interaction energies and forces is given.

Results and conclusions

In order to test the performance of the method, systems with different numbers of particles were calculated with the multigrid method and compared with explicit pair wise summations. Fig. 1 shows results for different cases, where the average number of particles per cell was varied. First of all the linear increase of CPU time with number of particles is recovered from the figure. Furthermore it is seen that one particle per cell is the fastest version. A crossover at ≈5000 particles is

References (8)

  • L. Greengard et al.

    A fast algorithm for particle simulations

    J. Comp. Phys.

    (1987)
  • D. Fincham

    Optimisation of the Ewald sum for large systems

    Molec. Sim.

    (1994)
  • U. Essmann et al.

    A smooth particle mesh Ewald method

    J. Chem. Phys.

    (1995)
  • R.W. Hockney et al.
    (1981)
There are more references available in the full text version of this article.

Cited by (15)

  • Effect of salt on the adsorption of ionic surfactants at the air-water interface

    2022, Journal of Molecular Liquids
    Citation Excerpt :

    The dispersion corrections have been added to both energy and pressure in the simulations. The particle–particle particle-mesh (P3M-AD) technique [36,37] has been employed to compute the long-range electrostatic interactions, and the LINCS algorithm [38] was used to constrain h-bonds. A nonbonded energy cutoff of 1.0 nm was used.

  • Compact finite difference schemes of sixth order for the Helmholtz equation

    2007, Journal of Computational and Applied Mathematics
  • A space-time multilevel method for molecular dynamics simulations

    2006, Computer Methods in Applied Mechanics and Engineering
View all citing articles on Scopus
View full text