Question #290372 on Yade changed: https://answers.launchpad.net/yade/+question/290372
Jan Stránský proposed the following answer: Hi Mohsen, sorry, totally forgot to this topic, thanks for reminder :-) it is committed to the trunk version, so it should be available soon in yadedaily. MWE (if not available, it will give error): ########################################################## mat1 = CpmMat(young=1e6) mat2 = CpmMat(young=1e12) O.engines = [ InsertionSortCollider([Bo1_Sphere_Aabb()]), InteractionLoop( [Ig2_Sphere_Sphere_ScGeom()], [Ip2_CpmMat_CpmMat_CpmPhys(E=MatchMaker(algo='harmAvg'))], [Law2_ScGeom_CpmPhys_Cpm()], ) ] b1 = sphere((0,0,0),1,material=mat1) b2 = sphere((1,0,0),1,material=mat2) O.bodies.append((b1,b2)) i = createInteraction(b1.id,b2.id) print i.phys.E ########################################################## cheers Jan 2016-04-22 15:32 GMT+02:00 mohsen <[email protected]>: > Question #290372 on Yade changed: > https://answers.launchpad.net/yade/+question/290372 > > Status: Answered => Open > > mohsen is still having a problem: > Hi Jan > I am seeking your help!! > > -- > You received this question notification because your team yade-users is > an answer contact for Yade. > > _______________________________________________ > Mailing list: https://launchpad.net/~yade-users > Post to : [email protected] > Unsubscribe : https://launchpad.net/~yade-users > More help : https://help.launchpad.net/ListHelp > -- You received this question notification because your team yade-users is an answer contact for Yade. _______________________________________________ Mailing list: https://launchpad.net/~yade-users Post to : [email protected] Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp

