# Constant (null) potential¶

class galpy.potential.NullPotential(amp=1.0, ro=None, vo=None)[source]

Class that implements a constant potential with, thus, zero forces. Can be used, for example, for integrating orbits in the absence of forces or for adjusting the value of the total gravitational potential, say, at infinity

__init__(amp=1.0, ro=None, vo=None)[source]

NAME:

__init__

PURPOSE:

initialize a null potential: a constant potential with, thus, zero forces

INPUT:

amp - constant value of the potential (default: 1); can be a Quantity with units of velocity-squared

ro=, vo= distance and velocity scales for translation into internal units (default from configuration file)

OUTPUT:

(none)

HISTORY:

2022-03-18 - Written - Bovy (UofT)