Comparison of treecodes for computing electrostatic potentials in charged particle systems with disjoint targets and sources
Related Experiment Video
Updated: May 10, 2026

Finite Element Modelling of a Cellular Electric Microenvironment
Published on: May 18, 2021
Henry A Boateng1, Robert Krasny
1Department of Mathematics, University of Michigan, Ann Arbor, Michigan 48109, USA. boateng@umich.edu
Abstract:
In molecular simulations, it is sometimes necessary to compute the electrostatic potential at M target sites due to a disjoint set of N charged source particles. Direct summation requires O(MN) operations, which is prohibitively expensive when M and N are large. Here, we consider two alternative tree-based methods that reduce the cost. The standard particle-cluster treecode partitions the N sources into an octree and applies a far-field approximation, whereas a recently developed cluster-particle treecode instead partitions the M targets into an octree and applies a near-field approximation. We compare the two treecodes with direct summation and document their accuracy, CPU run time, and memory usage. We find that the particle-cluster treecode is faster when N > M, that is, when the sources outnumber the targets, and conversely, the cluster-particle treecode is faster when M > N, that is, when the targets outnumber the sources. Hence, the two treecodes provide useful tools for computing electrostatic potentials in charged particle systems with disjoint targets and sources.
Related Concept Videos
Electrostatic Boundary Conditions in Dielectrics
Consider a case where both the mediums across a boundary are two different dielectric materials. Recall that the electric field and electric displacement are proportional and related through the material's permittivity.
Electric Potential Energy of Two Point Charges
Electric Field of Two Equal and Opposite Charges
A separation of the positive and negative charges can lead to a weak, remnant effect of the positive and negative charges. The expectation is that the more the distance between the positive and...
Calculations of Electric Potential I
The ring is divided into infinitesimal small arcs such that point M is equidistant from all the arcs. Here, the cylindrical coordinate system is used to calculate the electric potential at point M. A general element of the arc between angles θ and θ + dθ is of the length Rdθ and has a charge of λRdθ.
Calculations of Electric Potential II
Consider a...
Electrostatic Boundary Conditions
The surface integral of an electric field is given by Gauss's law in integral form and is related to...

