Comment 5 for bug 1318513

Revision history for this message
Anton Gladky (gladky-anton) wrote : Re: [Bug 1318513] Re: utils.calm() calms only spheres and clumps

Well, we have mask-parameter there, which is also relatively
flexible. But includeList is also a good idea and will probably
be even faster.

Anton

2014-05-12 11:18 GMT+02:00 Christian Jakob <email address hidden>:
> 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)