yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #11757
Re: [Question #270775]: yade -x option
Question #270775 on Yade changed:
https://answers.launchpad.net/yade/+question/270775
Status: Answered => Open
ipemath is still having a problem:
Sorry for the ill formed question
I run the simulation using O.run. Now to stop the simulation I use a
subroutine which is called inside O.engine using PyRunner. I am adding
the snippet of that subroutine below
PyRunner(initRun=True,iterPeriod=50,command='stopCond()')
def stopCond():
if(O.time>1.0e-7):
fe.close()
fp.close()
yade.timing.stats()
ft.close()
O.pause()
so in this case if I use yade-x option none of the data get written to
the file and timing stats are not printed out. I actually want the
control to come back terminal after the simulation.
--
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.