yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #02658
Re: ids bodies contact
Hi again,
I think that there is much of %g than it should be in the python code
since I made some fast modifications ;)
N
Le mercredi 24 mars 2010 à 12:51 +0000, chiara modenese a écrit :
> Hi all,
>
> quick question on the ids of two bodies in contact. I took an example
> where a box and a sphere get in contact. Then I simply switched the id
> of the two and I checked the ids of the interaction. To put it better
> I obtained:
>
> 1) case
>
> box -> id=0
> sphere -> id=1
>
> Interaction:
> id1=0 (box)
> id2=1 (sphere)
>
> 2) case (I switch ids, alias I change the sequence in which I append
> the two bodies)
>
> sphere -> id=0
> box -> id=1
>
> Interaction:
> id1=1 (box) ---> why it is not id=0 as in the first case?
> id2=0 (sphere)
>
> My question is: how are assigned the ids of the contact once the
> interaction is created?
> Just to know..
>
> cheers, Chiara
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~yade-users
> Post to : yade-users@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~yade-users
> More help : https://help.launchpad.net/ListHelp
References