← Back to team overview

yade-users team mailing list archive

Re: [Question #678799]: O.load but still in the first code


Question #678799 on Yade changed:

jamespaul posted a new comment:
Thanks Jan,thank you very much,

>please provide exact value


> Why not to put "print 'Finished'" and "O.pause()" directly in

I correct it.

def triaxFinished():
 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.