Skip to content

Commit

Permalink
Add docstring to BarnesSimulator to make it show up in reference docs
Browse files Browse the repository at this point in the history
  • Loading branch information
adityapb committed Apr 8, 2016
1 parent add502f commit ff5f198
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pyspace/simulator.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,9 @@ cdef class Simulator:


cdef class BarnesSimulator(Simulator):
def __init__(self, PlanetArray pa, double G, double dt, double theta = 1.0, str sim_name = "pyspace"):
"""Simulator using Barnes Hut algorithm"""
def __init__(self, PlanetArray pa, double G, double dt, double theta = 1.0,
str sim_name = "pyspace"):
self.theta = theta
Simulator.__init__(self, pa, G, dt, sim_name)

Expand Down

0 comments on commit ff5f198

Please sign in to comment.