pynbody.gravity.calc#
Gravity calculations
Functions
|
Calculate the potential and acceleration for all particles in the snapshot using a direct summation algorithm. |
|
Calculate the potential and acceleration for all particles in the snapshot using a Particle-Mesh algorithm. |
|
Calculate the potential of a disk galaxy in the x-y midplane (with z=0) |
|
Calculate the rotation curve of a disk galaxy in the x-y midplane (with z=0) |
|
Calculate the potential and acceleration for a set of particles using a Particle-Mesh algorithm. |