Conservative forces are best modeled in trep as potential energies. Every type of potential is derived from trep.Potential.
These are the types of potential energy currently built in to trep.
MidpointVI - Midpoint Variational Integrator
Gravity – Basic Gravity
Enter search terms or a module, class or function name.