mikegrudic / pytreegrav

Fast N-body gravitational force and potential in Python
MIT License
64 stars 9 forks source link

allow users to pass in tree w/o source pos and masses #11

Closed agurvich closed 3 years ago

agurvich commented 3 years ago

It forces adaptive to use the tree method and will raise an error if tree=None and either of source_pos or source_m is also None.