yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #19109
Re: [Question #678799]: O.load but still in the first code
Question #678799 on Yade changed:
https://answers.launchpad.net/yade/+question/678799
jamespaul posted a new comment:
Thanks Jan,thank you very much,
>please provide exact value
0.016
> Why not to put "print 'Finished'" and "O.pause()" directly in
triaxFinished?
I correct it.
def triaxFinished():
O.cell.trsf=Matrix3.Identity
...
triax.maxStrainRate=(0,0,.2)
triax.doneHook='print "Hydrostatic load reached."; O.pause()'
>Though i have rewritten triaxFinished() in the second script,but the
program still execute PeriTriaxController() in the first code.I print
O.engines in the second script,
[<ForceResetter instance at 0x5615b0329cd0>, <InsertionSortCollider
instance at 0x5615b1600660>, <InteractionLoop instance at
0x5615b13334f0>, <PeriTriaxController instance at 0x5615af815100>,
<NewtonIntegrator instance at 0x5615b10d2880>, <PyRunner instance at
0x5615b129b1c0>, <PyRunner instance at 0x5615b1299ef0>]
How can i kill the PeriTriaxController()?
--
You received this question notification because your team yade-users is
an answer contact for Yade.