Commit 9b6d5657 authored by Olaf's avatar Olaf

upadate docstrings

parent f2892109
......@@ -350,7 +350,7 @@ def dynamics(bodies, D, h, t_max, barnes_hut, theta, approximation, j, startsave
start saving at this timestep
continue_calc: bool
states whether to continue on previous calculation or not
filename:
filename: string
name of the file of previous calculations
Returns:
......@@ -361,9 +361,9 @@ def dynamics(bodies, D, h, t_max, barnes_hut, theta, approximation, j, startsave
all velocities of all bodies at all timesteps
times: list
all times of the simulated points of the trajectories
E_kin: np.array([T,N])
E_kin: np.array([T+1,N])
kinetic energy
E_pot: np.array([T,N])
E_pot: np.array([T+1,N])
potential energy
"""
if barnes_hut and approximation:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment