A hierarchical O(N log N) force-calculation algorithm

作者: Josh Barnes , Piet Hut

DOI: 10.1038/324446A0

关键词: Barnes–Hut simulationNumerical integrationMany-body problemTime complexityComputationPotential methodN-body simulationAlgorithmComputer scienceTree (data structure)

摘要: Until recently the gravitational N-body problem has been modelled numerically either by direct integration, in which computation needed increases as N2, or an iterative potential method number of operations grows N log N. Here we describe a novel directly calculating force on bodies that only The technique uses tree-structured hierarchical subdivision space into cubic cells, each is recursively divided eight subcells whenever more than one particle found to occupy same cell. This tree constructed anew at every time step, avoiding ambiguity and tangling. Advantages over potential-solving codes are: accurate local interactions; freedom from geometrical assumptions restrictions; applicability wide class systems, including (proto-)planetary, stellar, galactic cosmological ones. previous tree-codes include simplicity possibility rigorous analysis error. Although concentrate here stellar dynamical applications, our techniques efficiently handling large long-range interactions concentrating computational effort where most have applications other areas astrophysics well.

参考文章(4)
Bruce I. Cohen, Jeremiah U. Brackbill, Multiple time scales Academic Press, Inc.,Orlando, FL. ,(1985)
Andrew W. Appel, An Efficient Program for Many-Body Simulation SIAM Journal on Scientific and Statistical Computing. ,vol. 6, pp. 85- 103 ,(1985) , 10.1137/0906008
Gerald Jay Sussman, Julie Sussman, Harold Abelson, Structure and Interpretation of Computer Programs ,(1985)
J. W. Eastwood, R. W. Hockney, Computer Simulation Using Particles Computer Simulation Using Particles. ,(1981)