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
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
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