galpy.potential.evaluateplanarRforces

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

Evaluate the cylindrical radial force of a planarPotential instance or a combined potential formed using addition (pot1+pot2+…).

Parameters:
  • Pot (planarPotential instance or a combined potential formed using addition (pot1+pot2+…)) – The potential(s) to evaluate.

  • R (float or Quantity) – Cylindrical radius.

  • phi (float or Quantity, optional) – Azimuth (default: None).

  • t (float or Quantity, optional) – Time (default: 0.0).

  • v (numpy.ndarray or Quantity, optional) – Current velocity in cylindrical coordinates (default: None). Required when including dissipative forces.

Returns:

The cylindrical radial force F_R(R, phi, t).

Return type:

float or Quantity

Notes

  • 2010-07-13 - Written - Bovy (NYU)

  • 2023-05-29 - Added velocity input for dissipative forces - Bovy (UofT)

  • 2024-11-28 - Updated to use planarCompositePotential internally - Copilot