recreate_system¶
-
amuse_util.ic._initialize_system.recreate_system(ba: inspect.BoundArguments, particles: amuse.datamodel.particles.Particles, converter: (<class 'amuse.units.nbody_system.nbody_to_si'>, None) = None)[source]¶ Reinitialize a System made with
initialize_system.- Parameters
- ba
inspect.BoundArguments - particles
Particles should have everything, including for evolution
- converter
generic_unit_converter needed if ‘converter’ not in
ba.kwargsif provided, will overwrite built-in, if exists
- ba
Notes
A good way to do this is to have
particlesbe the set with all the up-to-date information. Then there is no need to passevolutionorgravity.