original_docstring: The "acceleration" method computes the acceleration between two
           bodies. It does not include mass in the calculation for simplicty.
           it is broken
docstring: The "acceleration" method computes the acceleration between two
  bodies. It does not include mass in the calculation for simplicty.
  it is broken
docstring_tokens: The " acceleration " method computes the acceleration between two bodies . It does not include mass in the calculation for simplicty . it is broken
code: def acceleration_o2_o1(self, o1, o2):
          """The "acceleration" method computes the acceleration between two
           bodies. It does not include mass in the calculation for simplicty.
           it is broken"""
          r_vec = o2.pos.sub(o1.pos)
          rhat_vec = r_vec.norm()
          dist = r_vec.mag()
          a_mag = -PhysicsObject.G * o1.mass/(dist**2)
          return rhat_vec.fmul(a_mag)
code_tokens: def acceleration_o2_o1 ( self , o1 , o2 ) : r_vec = o2 . pos . sub ( o1 . pos ) rhat_vec = r_vec . norm ( ) dist = r_vec . mag ( ) a_mag = - PhysicsObject . G * o1 . mass / ( dist ** 2 ) return rhat_vec . fmul ( a_mag )
short_docstring: The "acceleration" method computes the acceleration between two
  bodies.
short_docstring_tokens: The " acceleration " method computes the acceleration between two bodies .
comment: """The "acceleration" method computes the acceleration between two
           bodies. It does not include mass in the calculation for simplicty.
           it is broken"""