← Back to team overview

yade-dev team mailing list archive

[Bug 1318513] Re: utils.calm() calms only spheres and clumps

 

Hi,

I implemented calm() and used it as alternative "damping" method (e.g.
when using a small local damping in a sim.).

>From this discussion I can see, that an update is needed for this
method.

An easy way could be to introduce an includeBodyList (or an excludeBodyList).
example:

includeList = []

for b in O.bodies:
  if CONDITION:
    includeList.append(b.id)

calm(includeList)

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

Title:
  utils.calm() calms only spheres and clumps

Status in Yet Another Dynamic Engine:
  New

Bug description:
  Fix is very easy, I just wanted to know opinion of other devs (e.g. if
  there is a reason I missed)

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


Follow ups

References