In molecular simulations it is sometimes necessary to compute the electric potential at M targets due to a disjoint set of N charged source particles. Direct summation is prohibitively expensive when M and N are large. We provide Fortran 90 code for two complementary treecode methods which reduce the cost. The standard particle-cluster treecode partitions the sources into an octree and applies a far-field approximation, while a recently developed cluster-particle treecode instead partitions the targets into an octree and applies a near-field approximation. Particle-cluster is faster when N >> M, and cluster-particle is faster when M >> N.

Reference: Boateng, H. A. and Krasny, R., J. Comput. Chem, 34(25), 2013, 2159–2167

This material is based upon work supported by the National Science Foundation under NSF Grants DMS-0854870 and DMS-0915057. Any opinions, findings, and conclusions or recommendations expressed in this material do not necessarily reflect the views of the NSF.

Project Activity

See All Activity >

Follow Comparison of Cartesian Treecodes

Comparison of Cartesian Treecodes Web Site

Other Useful Business Software
$300 Free Credits to Build on Google Cloud Icon
$300 Free Credits to Build on Google Cloud

New customers can spin up VMs, build with AI, and query data at no cost.

Put your $300 in credit toward real workloads, then keep building with free monthly usage for 20+ products. No commitment and no charge until you upgrade.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Comparison of Cartesian Treecodes!

Additional Project Details

Registered

2013-04-23