Klaus, do you ask that for speedup or is it really a functionality problem? In the later case, you could use the same idea as for setCohesionNow (https://www.yade-dem.org/doc/yade.wrapper.html?highlight=setcohesionnow#yade.wrapper.Ip2_CohFrictMat_CohFrictMat_CohFrictPhys.setCohesionNow). The difference is that the CohFrict functor keeps assigning other parameters (e.g. stiffness) when the flag is false. In your case you could just return.
It would still waste a bit of time to create useless interaction geometries. Probably not a significant loss, but it would be better if the mask logic could handle this. If I'm not wrong, bitmasks can only be used to hide about 32 (or 64) bodies from each other currently. Bruno _______________________________________________ Mailing list: https://launchpad.net/~yade-dev Post to : yade-dev@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-dev More help : https://help.launchpad.net/ListHelp