# galpy.potential.evaluaterforces¶

galpy.potential.evaluaterforces(Pot, R, z, phi=None, t=0.0, v=None)[source]

NAME:

evaluaterforces

PURPOSE:

convenience function to evaluate a possible sum of potentials

INPUT:

Pot - a potential or list of potentials

R - cylindrical Galactocentric distance (can be Quantity)

z - distance above the plane (can be Quantity)

phi - azimuth (optional; can be Quantity)

t - time (optional; can be Quantity)

v - current velocity in cylindrical coordinates (optional, but required when including dissipative forces; can be a Quantity)

OUTPUT:

F_r(R,z,phi,t)

HISTORY:

2016-06-10 - Written - Bovy (UofT)