Пример #1
0
 def define_particle_sets(self, object):
     GravitationalDynamics.define_particle_sets(self, object)
     
     self.stopping_conditions.define_particle_set(object)
     
     object.add_getter('particles', 'get_subset')
     object.add_setter('particles', 'set_subset')
Пример #2
0
 def define_particle_sets(self, object):
     GravitationalDynamics.define_particle_sets(self, object)
     
     object.add_getter('particles', 'get_particle_timestep', names = ('timestep',))
     object.add_getter('particles', 'get_potential', names=('potential_in_code',))
     
     self.stopping_conditions.define_particle_set(object)
Пример #3
0
    def define_particle_sets(self, handler):
        GravitationalDynamics.define_particle_sets(self, handler)

        self.stopping_conditions.define_particle_set(handler)

        handler.add_getter('particles', 'get_subset')
        handler.add_setter('particles', 'set_subset')
Пример #4
0
    def define_particle_sets(self, object):
        GravitationalDynamics.define_particle_sets(self, object)

        object.add_setter('particles', 'set_dmdt')
        object.add_getter('particles', 'get_dmdt')

        self.stopping_conditions.define_particle_set(object)
Пример #5
0
 def define_particle_sets(self, object):
     GravitationalDynamics.define_particle_sets(self, object)
     
     object.add_getter('particles', 'get_particle_timestep',
                       names = ('timestep',))
     object.add_getter('particles', 'get_potential',
                       names=('potential_in_code',))
     
     self.stopping_conditions.define_particle_set(object)
Пример #6
0
 def define_particle_sets(self, handler):
     GravitationalDynamics.define_particle_sets(self, handler)
     self.stopping_conditions.define_particle_set(handler)
Пример #7
0
 def define_particle_sets(self, object):
     GravitationalDynamics.define_particle_sets(self, object)
Пример #8
0
 def define_particle_sets(self, object):
     GravitationalDynamics.define_particle_sets(self, object)
     self.stopping_conditions.define_particle_set(object)
Пример #9
0
    def define_particle_sets(self, object):
        GravitationalDynamics.define_particle_sets(self, object)

        self.stopping_conditions.define_particle_set(object)
Пример #10
0
 def define_particle_sets(self, handler):
     GravitationalDynamics.define_particle_sets(self, handler)
     self.stopping_conditions.define_particle_set(handler)
     handler.add_getter("particles", 'get_children_of_particle')
Пример #11
0
 def define_particle_sets(self, object):
     GravitationalDynamics.define_particle_sets(self, object)
     self.stopping_conditions.define_particle_set(object)
     object.add_getter("particles", 'get_children_of_particle')
Пример #12
0
 def define_particle_sets(self, object):
     GravitationalDynamics.define_particle_sets(self, object)
Пример #13
0
 def define_particle_sets(self, object):
     GravitationalDynamics.define_particle_sets(self, object)
     self.stopping_conditions.define_particle_set(object)
     object.add_getter("particles", 'get_children_of_particle')
Пример #14
0
 def define_particle_sets(self, handler):
     GravitationalDynamics.define_particle_sets(self, handler)