trick/trick_sims/SIM_integ/RUN_test/input.py

18 lines
536 B
Python
Raw Normal View History

2015-02-26 15:02:31 +00:00
# new setIntegrator function to set the Integrator.
dyn_integloop.getIntegrator(trick.Runge_Kutta_4, 4)
dyn1_integloop.getIntegrator(trick.Runge_Kutta_4, 4)
# Setting first_step_deriv and last_step_deriv is now a
# part of IntegLoopScheduler instead of the Integrator
#dyn_integloop.integ_sched.set_last_step_deriv(True)
#dyn1_integloop.integ_sched.set_first_step_deriv(False)
# Moving a sim_object to another IntegLoop
trick.add_read(3, """
dyn_integloop.integ_sched.add_sim_object(dyn1)
""")
trick.echo_jobs_on()
trick.stop(5)