← Back to team overview

yade-users team mailing list archive

Re: [Question #682290]: the correct use of collider.avoidSelfInteractionMask ?

 

Question #682290 on Yade changed:
https://answers.launchpad.net/yade/+question/682290

Luc OGER posted a new comment:
it is only a "basic" one :
cmake -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_PREFIX=../install -DPYTHON_VERSION=3  -DDISABLE_SAVE_TEMPS=1 -DENABLE_MPI=OFF ../trunk


and to extend some tests :
here the results with 2 or 3 bit long for the mask!!
if mb,mg,mr = 0b10, 0b01, 0b11
0b00 : bb br gb gg gr rr
0b10 : bb br gb gg gr rr
0b01 :
0b11 :


if mb,mg,mr = 0b100, 0b010, 0b110
0b000 : bb br gb gg gr rr
0b010 : bb br gb gg gr rr
0b100 : bb br gb gg gr rr
0b110 : bb br gb gg gr rr

0b001 : 
0b011 : 
0b101 : 
0b111 : 

if mb,mg,mr = 0b101, 0b011, 0b111
0b000 : bb br gb gg gr rr
0b010 : bb br gb gg gr rr
0b100 : bb br gb gg gr rr
0b110 : bb br gb gg gr rr

0b001 : 
0b011 : 
0b101 : 
0b111 : 

so results only controled from bit in position 0 at right side????

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.