yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #05807
Re: [Question #192485]: O.load and O.loadTmp influences calculation speed ?!
Question #192485 on Yade changed:
https://answers.launchpad.net/yade/+question/192485
Status: Answered => Solved
Christian Jakob confirmed that the question is solved:
Aaaah, loading a saved model leads to more calculation time for initial
steps. Ok, that was the problem with my script:
###wrong:
O.run(100,True)
if load_ == 1:
O.saveTmp()
O.loadTmp()
start_time = O.realtime
O.run(1000,True)
stop_time = O.realtime
###right:
if load_ == 1:
O.saveTmp()
O.loadTmp()
O.run(100,True)
start_time = O.realtime
O.run(1000,True)
stop_time = O.realtime
Thank you.
--
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.