pytreegrav: A fast Python gravity solver
Michael Y Grudić, Alexander B. Gurvich
Abstract
Gravity is important in a wide variety of science problems. In particular, questions in astrophysics nearly all involve gravity, and can have large ( 10 4 ) numbers of gravitating masses, such as the stars in a cluster or galaxy, or the discrete fluid elements in a hydrodynamics simulation. Often the gravitational field of such a large number of masses can be too computationally expensive to compute by directly summing the contribution of every single element at every point of interest.
Topics & Concepts
Python (programming language)Computer scienceSolverProgramming languageComputer graphics (images)Computational scienceParallel computingGeologyGalaxies: Formation, Evolution, PhenomenaRadio Astronomy Observations and TechnologyComputational Physics and Python Applications