yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #10813
Re: [Branch ~yade-pkg/yade/git-trunk] Rev 3948: Add blockedMovement parameter to state of body
One bit is short, I know, but if we can avoid it...
groupMask is better only because it is already here, you have it "for free".
Besides, it seems masks are well suited for this purpose, if newton.mask
and body.mask don't match, skip.
It could be maybe useful in many other situations, not only coneyor
belts, though I don't have any precise idea.
Cheers.
Bruno
On 14/05/14 19:39, Anton Gladky wrote:
> Hi Bruno,
>
> I am open for discussion. I was just thinking, that
> using bool-variable, which is only 1 bit is not very
> expensive. You think, that groupMask will be any way
> better?
>
> Thanks
>
> Anton
>
>
> 2014-05-14 18:48 GMT+02:00 Bruno Chareyre <bruno.chareyre@xxxxxxxxxxx>:
>> Hi Anton,
>> Wouldn't it be wise to use groupMask in NewtonIntegrator instead?
>> Just an idea. It is never a good thing to add additional variables that
>> everyone will have in order to tackle a very specific objective.
>>
>> Bruno
>>
>>
>> On 14/05/14 02:49, noreply@xxxxxxxxxxxxx wrote:
>>
>> ------------------------------------------------------------
>> revno: 3948
>> committer: Anton Gladky <gladky.anton@xxxxxxxxx>
>> timestamp: Tue 2014-05-13 20:54:16 +0200
>> message:
>> Add blockedMovement parameter to state of body
>>
>> This parameter (Fault by default) prevents moving
>> of bodies, even if they have a velocity.
>>
>> It can be usefull for instance in the cases, when
>> you need to simulate something like a conveyor with
>> a complicated shape.
>> modified:
>> core/State.hpp
>> pkg/dem/NewtonIntegrator.cpp
>>
>>
>> --
>> lp:yade
>> https://code.launchpad.net/~yade-pkg/yade/git-trunk
>>
>> Your team Yade developers is subscribed to branch lp:yade.
>> To unsubscribe from this branch go to
>> https://code.launchpad.net/~yade-pkg/yade/git-trunk/+edit-subscription
>>
>>
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~yade-dev
>> Post to : yade-dev@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~yade-dev
>> More help : https://help.launchpad.net/ListHelp
>>
>>
>>
>> --
>> _______________
>> Bruno Chareyre
>> Associate Professor
>> ENSE³ - Grenoble INP
>> Lab. 3SR
>> BP 53
>> 38041 Grenoble cedex 9
>> Tél : +33 4 56 52 86 21
>> Fax : +33 4 76 82 70 43
>> ________________
>>
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~yade-dev
>> Post to : yade-dev@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~yade-dev
>> More help : https://help.launchpad.net/ListHelp
>>
> _______________________________________________
> Mailing list: https://launchpad.net/~yade-dev
> Post to : yade-dev@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~yade-dev
> More help : https://help.launchpad.net/ListHelp
--
_______________
Bruno Chareyre
Associate Professor
ENSE³ - Grenoble INP
Lab. 3SR
BP 53
38041 Grenoble cedex 9
Tél : +33 4 56 52 86 21
Fax : +33 4 76 82 70 43
________________
Follow ups
References