Skip to content

Commit

Permalink
Merge pull request #831 from silviatoonen/master
Browse files Browse the repository at this point in the history
adding SeBa methods for getting the fallback and time_step
  • Loading branch information
silviatoonen committed Mar 3, 2022
2 parents 2994573 + 4c36c1e commit 0166d80
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/amuse/community/seba/interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -1044,7 +1044,6 @@ def define_particle_sets(self, handler):
handler.add_getter('particles', 'get_apsidal_motion_constant', names = ('apsidal_motion_constant',))
handler.add_getter('particles', 'get_rotation_period', names = ('rotation_period',))
handler.add_setter('particles', 'set_rotation_period', names = ('rotation_period',))
handler.add_getter('particles', 'get_fallback', names = ('fallback',))

handler.add_getter('particles', 'get_relative_age', names = ('relative_age',))
handler.add_getter('particles', 'get_relative_mass', names = ('relative_mass',))
Expand All @@ -1057,6 +1056,9 @@ def define_particle_sets(self, handler):
handler.add_method('particles', 'refresh_memory')
handler.add_method('particles', 'recall_memory_one_step')
handler.add_method('particles', 'merge_with_other_star')
handler.add_method('particles', 'get_fallback')
handler.add_method('particles', 'get_time_step')


handler.define_set('binaries', 'index_of_the_star')
handler.set_new('binaries', 'new_binary')
Expand Down

0 comments on commit 0166d80

Please sign in to comment.