← Back to team overview

yade-dev team mailing list archive

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

 

I left mask parameter for the purpose of slecting bodies to calm and
modified documentation of the function (the original version mentioned,
that the function calms all bodies, which was the source of my confusion).
Thanks for discussion
Jan



2014-05-12 12:06 GMT+02:00 Jan Stránský <honzik.stransky@xxxxxxxxx>:

> Ok, I will think about it and implement something in 2 weeks. If you
> wanted to do something earlier, feel free to modify it.
> cheers
> Jan
>
>
> 2014-05-12 11:30 GMT+02:00 Anton Gladky <1318513@xxxxxxxxxxxxxxxxxx>:
>
> 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 <1318513@xxxxxxxxxxxxxxxxxx>:
>> > 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 subscribed to the bug
>> report.
>> 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
>>
>
>


** Changed in: yade
       Status: New => Fix Released

-- 
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:
  Fix Released

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


References