← Back to team overview

yade-dev team mailing list archive

[Bug 1400075] Re: O.forces.addMove does not work

 

I stumbled across this addMove a few times when working on the collider
and other things but I never understood clearly what it was supposed to
do. Not sure it has ever been completely implemented, Vaclav could tell
maybe.

I would suggest to remove all of it if it doesn't work. "b.vel=" is good
enough to impose a displacement, I don't think we need anything else. It
is also a bit strange to impose a displacement through the force
container.

-- 
You received this bug notification because you are a member of Yade
developers, which is subscribed to Yade.
https://bugs.launchpad.net/bugs/1400075

Title:
  O.forces.addMove does not work

Status in Yet Another Dynamic Engine:
  New

Bug description:
  Hi,

  I tried O.forces.addMove to apply displacement to a particle, but the
  method seems not to work..

  b = sphere((0,0,0),1)
  O.bodies.append(b)
  O.forces.addMove(0,(1,0,0))
  print b.state.pos # (0,0,0)
  O.step()
  print b.state.pos # is (0,0,0) again...

  Is this behavior ok, do I do something wrong or is it a bug?

  I use Ubuntu 14.04 and yade  2014-11-08.git-d693417

  Thanks
  Jan

To manage notifications about this bug go to:
https://bugs.launchpad.net/yade/+bug/1400075/+subscriptions


References